<?xml version="1.0" encoding="utf-8"?><!DOCTYPE nta PUBLIC '-//Uppaal Team//DTD Flat System 1.1//EN' 'http://www.it.uu.se/research/group/darts/uppaal/flat-1_1.dtd'><nta><declaration>// Place global declarations here.
chan call, answer;

int temp_secrets;
bool line_busy = false;

int N=0;</declaration><template><name x="5" y="5">Person</name><parameter>int my_secrets</parameter><declaration>// Place local declarations here.
</declaration><location id="id0" x="-920" y="-64"><name x="-1008" y="-96">receive_call</name></location><location id="id1" x="-608" y="-72"><name x="-618" y="-102">make_call</name></location><location id="id2" x="-768" y="-64"></location><init ref="id2"/><transition><source ref="id1"/><target ref="id2"/><label kind="synchronisation" x="-688" y="8">answer?</label><label kind="assignment" x="-744" y="-8">my_secrets = my_secrets | temp_secrets, line_busy = false</label><nail x="-680" y="-8"/></transition><transition><source ref="id0"/><target ref="id2"/><label kind="synchronisation" x="-888" y="40">answer!</label><label kind="assignment" x="-896" y="24">temp_secrets = my_secrets</label><nail x="-840" y="24"/></transition><transition><source ref="id2"/><target ref="id0"/><label kind="synchronisation" x="-864" y="-176">call?</label><label kind="assignment" x="-1064" y="-200">my_secrets = my_secrets | temp_secrets</label><nail x="-840" y="-152"/></transition><transition><source ref="id2"/><target ref="id1"/><label kind="guard" x="-720" y="-200">not line_busy</label><label kind="synchronisation" x="-720" y="-168">call!</label><label kind="assignment" x="-752" y="-184">temp_secrets = my_secrets, line_busy = true, N=N+1</label><nail x="-696" y="-144"/></transition></template><system>// Place template instantiations here.
P1 = Person(1);
P2 = Person(2);
P3 = Person(4);
P4 = Person(8);
P5 = Person(16);


// List one or more processes to be composed into a system.
system P1,P2,P3,P4,P5;</system></nta>