Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 115.3 kB / 19.74 MB, free: 2.137 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 187.7 kB / 23.03 MB, free: 4.953 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 225.6 MB / 251.8 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06374/0.06374, allocations: 12.17 MB / 319.2 MB, free: 12.83 MB / 254.1 MB
"
[Timeout remaining time 180]
Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients")
translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 71.83 kB / 445.3 MB, free: 3.887 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1372, allocations: 55.21 MB / 0.4888 GB, free: 12.59 MB / 366.1 MB
Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients): time 0.006819/0.144, allocations: 3.345 MB / 0.492 GB, free: 9.23 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002176/0.1462, allocations: 0.9342 MB / 0.4929 GB, free: 8.293 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003833/0.1466, allocations: 19.81 kB / 0.493 GB, free: 8.273 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004685/0.147, allocations: 99.16 kB / 0.4931 GB, free: 8.176 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003455/0.1474, allocations: 47.53 kB / 0.4931 GB, free: 8.129 MB / 366.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:1308:7-1320:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readPTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPServer_.readP'.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:171:5-182:15:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getPos' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getPos'.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:1322:7-1334:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendPTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPServer_.sendP'.
Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.1487, allocations: 322.9 kB / 0.4934 GB, free: 7.812 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00115/0.1498, allocations: 0.6783 MB / 0.4941 GB, free: 7.133 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0005649/0.1504, allocations: 238.4 kB / 0.4943 GB, free: 6.887 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000623/0.151, allocations: 331 kB / 0.4946 GB, free: 6.562 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007015/0.1517, allocations: 374.5 kB / 0.495 GB, free: 6.195 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0002522/0.152, allocations: 75.94 kB / 0.495 GB, free: 6.121 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005497/0.1525, allocations: 199.9 kB / 0.4952 GB, free: 5.926 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000353/0.1529, allocations: 215.4 kB / 0.4954 GB, free: 5.715 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000606/0.1535, allocations: 350.1 kB / 0.4958 GB, free: 5.371 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001544/0.155, allocations: 1.047 MB / 0.4968 GB, free: 4.32 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.155, allocations: 4 kB / 0.4968 GB, free: 4.316 MB / 366.1 MB
Notification: Performance of FrontEnd: time 2.104e-06/0.155, allocations: 0 / 0.4968 GB, free: 4.316 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 3.955e-05/0.1551, allocations: 0 / 0.4968 GB, free: 4.316 MB / 366.1 MB
Warning: Alias equations of external objects are not Modelica compliant as in:
    addInteger[2].pkgOut[1].pkg = addInteger[2].pkgIn.pkg
    addInteger[1].pkgOut[1].pkg = addInteger[1].pkgIn.pkg
    addInteger[2].pkgOut[1].pkg = tCPIPSend[2].pkgIn.pkg
    addInteger[1].pkgOut[1].pkg = tCPIPSend[1].pkgIn.pkg
    packager[2].pkgOut.pkg = addInteger[2].pkgIn.pkg
    packager[1].pkgOut.pkg = addInteger[1].pkgIn.pkg
    tCPIPReceive[2].pkgOut.pkg = getInteger[2].pkgIn.pkg
    tCPIPReceive[1].pkgOut.pkg = getInteger[1].pkgIn.pkg
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 162
 * Number of variables: 162
Notification: Performance of Generate backend data structure: time 0.003185/0.1583, allocations: 1.415 MB / 0.4982 GB, free: 2.82 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1583, allocations: 12.03 kB / 0.4982 GB, free: 2.809 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.1585, allocations: 84.45 kB / 0.4983 GB, free: 2.727 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008236/0.1593, allocations: 453.8 kB / 0.4987 GB, free: 2.258 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.17e-05/0.1594, allocations: 53.67 kB / 0.4988 GB, free: 2.203 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.1595, allocations: 64.36 kB / 0.4988 GB, free: 2.141 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.1612, allocations: 0.9427 MB / 0.4997 GB, free: 1.156 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.1612, allocations: 192 / 0.4997 GB, free: 1.156 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.443e-05/0.1613, allocations: 31.92 kB / 0.4998 GB, free: 1.125 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.1613, allocations: 16 kB / 0.4998 GB, free: 1.109 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.1624, allocations: 0.6188 MB / 0.5004 GB, free: 500 kB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003397/0.1658, allocations: 2.284 MB / 0.5026 GB, free: 14.12 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.1671, allocations: 0.7328 MB / 0.5033 GB, free: 13.32 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005474/0.1676, allocations: 373.7 kB / 0.5037 GB, free: 12.93 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 5.421e-05/0.1677, allocations: 15.95 kB / 0.5037 GB, free: 12.92 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001009/0.1687, allocations: 0.5739 MB / 0.5043 GB, free: 12.31 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=78): time 2.385e-06/0.1687, allocations: 3.938 kB / 0.5043 GB, free: 12.31 MB / 382.1 MB
Notification: Performance of matching and sorting (n=78): time 0.002474/0.1712, allocations: 1.378 MB / 0.5056 GB, free: 10.93 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002519/0.1714, allocations: 265.5 kB / 0.5059 GB, free: 10.62 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006638/0.1721, allocations: 441.2 kB / 0.5063 GB, free: 10.18 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001291/0.1722, allocations: 73.66 kB / 0.5064 GB, free: 10.1 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002514/0.1725, allocations: 281.3 kB / 0.5066 GB, free: 9.82 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002026/0.1727, allocations: 198.5 kB / 0.5068 GB, free: 9.625 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003224/0.173, allocations: 222.6 kB / 0.507 GB, free: 9.402 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002226/0.1732, allocations: 386.9 kB / 0.5074 GB, free: 9.016 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006572/0.1739, allocations: 378 kB / 0.5078 GB, free: 8.648 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008644/0.1747, allocations: 0.6634 MB / 0.5084 GB, free: 7.852 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002333/0.1771, allocations: 1.645 MB / 0.51 GB, free: 6.008 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/0.1771, allocations: 4 kB / 0.51 GB, free: 6.004 MB / 382.1 MB
Notification: Performance of matching and sorting (n=127) (initialization): time 0.002212/0.1793, allocations: 1.366 MB / 0.5114 GB, free: 4.605 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.1794, allocations: 124.1 kB / 0.5115 GB, free: 4.461 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.873e-05/0.1794, allocations: 11.98 kB / 0.5115 GB, free: 4.449 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 3.3e-05/0.1794, allocations: 16 kB / 0.5115 GB, free: 4.434 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005492/0.18, allocations: 115.7 kB / 0.5116 GB, free: 4.32 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.068e-05/0.18, allocations: 28.39 kB / 0.5116 GB, free: 4.293 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/0.1804, allocations: 87.39 kB / 0.5117 GB, free: 4.207 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/0.1805, allocations: 51.98 kB / 0.5118 GB, free: 4.156 MB / 382.1 MB
Warning: Assuming fixed start value for the following 10 variables:
         process[1].y[1]:DISCRETE(flow=false fixed = true )  type: Integer [2,3]
         process[1].y[2]:DISCRETE(flow=false fixed = true )  type: Integer [2,3]
         process[1].y[3]:DISCRETE(flow=false fixed = true )  type: Integer [2,3]
         tCPIPSend[1].dataSent:DISCRETE(fixed = true )  type: Integer [2]
         tCPIPReceive[1].nReceivedBytes:DISCRETE(flow=false fixed = true )  \"Number of received bytes\" type: Integer [2]
         process[2].y[1]:DISCRETE(flow=false fixed = true )  type: Integer [2,3]
         process[2].y[2]:DISCRETE(flow=false fixed = true )  type: Integer [2,3]
         process[2].y[3]:DISCRETE(flow=false fixed = true )  type: Integer [2,3]
         tCPIPSend[2].dataSent:DISCRETE(fixed = true )  type: Integer [2]
         tCPIPReceive[2].nReceivedBytes:DISCRETE(flow=false fixed = true )  \"Number of received bytes\" type: Integer [2]
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 42
 * Number of states: 0 ()
 * Number of discrete variables: 114 ($PRE.process[1].y[1],process[1].y[1],$PRE.process[1].y[2],process[1].y[2],$PRE.process[1].y[3],process[1].y[3],tCPIPSend[1].dummy1,$PRE.tCPIPSend[1].dummy1,tCPIPSend[1].pkgSize,$PRE.tCPIPSend[1].pkgSize,$PRE.tCPIPSend[1].dataSent,tCPIPSend[1].dataSent,tCPIPSend[1].dummy2,$PRE.tCPIPSend[1].dummy2,addInteger[1].pkgOut[1].dummy,$PRE.addInteger[1].pkgOut[1].dummy,packager[1].pkgOut.dummy,$PRE.packager[1].pkgOut.dummy,getInteger[1].dummy,$PRE.getInteger[1].dummy,getInteger[1].y[3],$PRE.getInteger[1].y[3],getInteger[1].y[2],$PRE.getInteger[1].y[2],getInteger[1].y[1],$PRE.getInteger[1].y[1],tCPIPReceive[1].pkgOut.dummy,$PRE.tCPIPReceive[1].pkgOut.dummy,$PRE.tCPIPSend[1].block_,$PRE.tCPIPSend[1].accepted,$PRE.tCPIPReceive[1].block_,$PRE.tCPIPReceive[1].accepted,$PRE.tCPIPReceive[1].nReceivedBytes,tCPIPSend[1].block_,tCPIPSend[1].accepted,addInteger[1].pkgOut[1].backwardTrigger,addInteger[1].pkgOut[1].trigger,tCPIPReceive[1].block_,tCPIPReceive[1].accepted,tCPIPReceive[1].recvTrigger,tCPIPReceive[1].nReceivedBytes,tCPIPReceive[1].conditionalInternalTrigger,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.process[2].y[1],process[2].y[1],$PRE.process[2].y[2],process[2].y[2],$PRE.process[2].y[3],process[2].y[3],tCPIPSend[2].dummy1,$PRE.tCPIPSend[2].dummy1,tCPIPSend[2].pkgSize,$PRE.tCPIPSend[2].pkgSize,$PRE.tCPIPSend[2].dataSent,tCPIPSend[2].dataSent,tCPIPSend[2].dummy2,$PRE.tCPIPSend[2].dummy2,addInteger[2].pkgOut[1].dummy,$PRE.addInteger[2].pkgOut[1].dummy,packager[2].pkgOut.dummy,$PRE.packager[2].pkgOut.dummy,getInteger[2].dummy,$PRE.getInteger[2].dummy,getInteger[2].y[3],$PRE.getInteger[2].y[3],getInteger[2].y[2],$PRE.getInteger[2].y[2],getInteger[2].y[1],$PRE.getInteger[2].y[1],tCPIPReceive[2].pkgOut.dummy,$PRE.tCPIPReceive[2].pkgOut.dummy,$PRE.tCPIPSend[2].block_,$PRE.tCPIPSend[2].accepted,$PRE.tCPIPReceive[2].block_,$PRE.tCPIPReceive[2].accepted,$PRE.tCPIPReceive[2].nReceivedBytes,tCPIPSend[2].block_,tCPIPSend[2].accepted,addInteger[2].pkgOut[1].backwardTrigger,addInteger[2].pkgOut[1].trigger,tCPIPReceive[2].block_,tCPIPReceive[2].accepted,tCPIPReceive[2].recvTrigger,tCPIPReceive[2].nReceivedBytes,tCPIPReceive[2].conditionalInternalTrigger,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tCPIPSend[2].internalTrigger,tCPIPSend[1].internalTrigger,getInteger[2].pkgIn.userPkgBitSize,getInteger[2].pkgIn.backwardTrigger,getInteger[1].pkgIn.userPkgBitSize,getInteger[1].pkgIn.backwardTrigger,tCPIPSend[2].bufferSize,tCPIPSend[2].pkgIn.autoPkgBitSize,tCPIPSend[2].pkgIn.userPkgBitSize,addInteger[2].pkgIn.autoPkgBitSize,packager[2].bufferSize,packager[2].backwardPropagatedBufferSize,tCPIPSend[1].bufferSize,tCPIPSend[1].pkgIn.autoPkgBitSize,tCPIPSend[1].pkgIn.userPkgBitSize,addInteger[1].pkgIn.autoPkgBitSize,packager[1].bufferSize,packager[1].backwardPropagatedBufferSize,getInteger[2].pkgIn.autoPkgBitSize,tCPIPReceive[2].bufferSize,getInteger[1].pkgIn.autoPkgBitSize,tCPIPReceive[1].bufferSize)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (120):
 * Single equations (assignments): 115
 * Array equations: 0
 * Algorithm blocks: 4
 * Record equations: 1
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0007542/0.1813, allocations: 467.3 kB / 0.5122 GB, free: 3.691 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.1814, allocations: 59.66 kB / 0.5123 GB, free: 3.633 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.955e-05/0.1815, allocations: 51.94 kB / 0.5123 GB, free: 3.582 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.1815, allocations: 8 kB / 0.5123 GB, free: 3.574 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.1815, allocations: 3.938 kB / 0.5123 GB, free: 3.57 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.1816, allocations: 7.984 kB / 0.5123 GB, free: 3.562 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002831/0.1844, allocations: 1.784 MB / 0.5141 GB, free: 1.727 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/0.1844, allocations: 0 / 0.5141 GB, free: 1.727 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.273e-05/0.1844, allocations: 12 kB / 0.5141 GB, free: 1.715 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.1844, allocations: 4 kB / 0.5141 GB, free: 1.711 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.256e-05/0.1845, allocations: 23.97 kB / 0.5141 GB, free: 1.688 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.1845, allocations: 11.88 kB / 0.5141 GB, free: 1.676 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1845, allocations: 0 / 0.5141 GB, free: 1.676 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.1864, allocations: 1.241 MB / 0.5153 GB, free: 408 kB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.383e-05/0.1865, allocations: 63.47 kB / 0.5154 GB, free: 344 kB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.148e-05/0.1866, allocations: 15.98 kB / 0.5154 GB, free: 328 kB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.1868, allocations: 27.97 kB / 0.5154 GB, free: 300 kB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.1869, allocations: 47.88 kB / 0.5155 GB, free: 252 kB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.886e-05/0.187, allocations: 35.97 kB / 0.5155 GB, free: 216 kB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.2744/0.4614, allocations: 233 kB / 0.5157 GB, free: 29.14 MB / 382.1 MB
Notification: Performance of sort global known variables: time 2.51e-07/0.4614, allocations: 0 / 0.5157 GB, free: 29.14 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.001484/0.4629, allocations: 248.5 kB / 0.516 GB, free: 29.14 MB / 382.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 7
 * Number of states: 0 ()
 * Number of discrete variables: 72 (tCPIPSend[1].internalTrigger,tCPIPSend[2].internalTrigger,packager[2].backwardPropagatedBufferSize,packager[2].bufferSize,addInteger[2].pkgIn.autoPkgBitSize,tCPIPSend[2].pkgIn.userPkgBitSize,tCPIPSend[2].pkgIn.autoPkgBitSize,packager[1].backwardPropagatedBufferSize,packager[1].bufferSize,addInteger[1].pkgIn.autoPkgBitSize,tCPIPSend[1].pkgIn.userPkgBitSize,tCPIPSend[1].pkgIn.autoPkgBitSize,addInteger[2].pkgOut[1].trigger,tCPIPReceive[2].recvTrigger,tCPIPReceive[2].conditionalInternalTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,tCPIPReceive[2].pkgOut.dummy,tCPIPReceive[2].nReceivedBytes,tCPIPReceive[2].accepted,tCPIPReceive[2].bufferSize,tCPIPReceive[2].block_,getInteger[2].pkgIn.autoPkgBitSize,getInteger[2].y[1],getInteger[2].y[2],getInteger[2].y[3],getInteger[2].dummy,packager[2].pkgOut.dummy,addInteger[2].pkgOut[1].dummy,addInteger[2].pkgOut[1].backwardTrigger,tCPIPSend[2].dataSent,tCPIPSend[2].accepted,tCPIPSend[2].bufferSize,tCPIPSend[2].dummy1,tCPIPSend[2].dummy2,tCPIPSend[2].pkgSize,tCPIPSend[2].block_,process[2].y[1],process[2].y[2],process[2].y[3],addInteger[1].pkgOut[1].trigger,tCPIPReceive[1].recvTrigger,tCPIPReceive[1].conditionalInternalTrigger,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,tCPIPReceive[1].pkgOut.dummy,tCPIPReceive[1].nReceivedBytes,tCPIPReceive[1].accepted,tCPIPReceive[1].bufferSize,tCPIPReceive[1].block_,getInteger[1].pkgIn.autoPkgBitSize,getInteger[1].y[1],getInteger[1].y[2],getInteger[1].y[3],getInteger[1].dummy,packager[1].pkgOut.dummy,addInteger[1].pkgOut[1].dummy,addInteger[1].pkgOut[1].backwardTrigger,tCPIPSend[1].dataSent,tCPIPSend[1].accepted,tCPIPSend[1].bufferSize,tCPIPSend[1].dummy1,tCPIPSend[1].dummy2,tCPIPSend[1].pkgSize,tCPIPSend[1].block_,process[1].y[1],process[1].y[2],process[1].y[3])
 * Number of discrete states: 4 (tCPIPReceive[1].block_,tCPIPSend[1].block_,tCPIPReceive[2].block_,tCPIPSend[2].block_)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (63):
 * Single equations (assignments): 20
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 1
 * When equations: 42
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.001325/0.4642, allocations: 485.3 kB / 0.5164 GB, free: 29.03 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.001872/0.4661, allocations: 1.168 MB / 0.5176 GB, free: 28.74 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.4661, allocations: 1.562 kB / 0.5176 GB, free: 28.74 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0005389/0.4667, allocations: 391.7 kB / 0.518 GB, free: 28.71 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007584/0.4674, allocations: 95.97 kB / 0.5181 GB, free: 28.71 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.4696, allocations: 1.326 MB / 0.5193 GB, free: 28.23 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/0.4701, allocations: 0.9646 MB / 0.5203 GB, free: 27.53 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0003056/0.4704, allocations: 107.7 kB / 0.5204 GB, free: 27.52 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.4705, allocations: 42.28 kB / 0.5204 GB, free: 27.52 MB / 382.1 MB
Notification: Performance of SimCode: time 1.002e-06/0.4705, allocations: 0.5938 kB / 0.5204 GB, free: 27.52 MB / 382.1 MB
Notification: Performance of Templates: time 0.02418/0.4947, allocations: 9.593 MB / 0.5298 GB, free: 25.98 MB / 382.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients.makefile [Timeout 660]
(rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients  -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients.pipe 2>&1) [Timeout 480]
[Calling os._exit(0), Time elapsed: 5.493114967830479]
Failed to read output from testmodel.py, exit status != 0:
0.5034612966701388 0.517575157 0.359721665
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f2de99657b0>