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.001354/0.001354, allocations: 108.6 kB / 20.38 MB, free: 1.547 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.001559/0.001559, allocations: 199.6 kB / 23.64 MB, free: 4.957 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.502/1.502, allocations: 225.6 MB / 252.3 MB, free: 13.05 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.06444/0.06444, allocations: 12.17 MB / 319.7 MB, free: 12.89 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.001923/0.001923, allocations: 68.12 kB / 445.6 MB, free: 4.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1115, allocations: 55.22 MB / 0.4891 GB, free: 12.94 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients): time 0.005665/0.1171, allocations: 3.342 MB / 0.4924 GB, free: 9.582 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.119, allocations: 0.9303 MB / 0.4933 GB, free: 8.648 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002116/0.1192, allocations: 15.81 kB / 0.4933 GB, free: 8.633 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003734/0.1196, allocations: 99.16 kB / 0.4934 GB, free: 8.535 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.1197, allocations: 51.58 kB / 0.4934 GB, free: 8.484 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.0009211/0.1207, allocations: 319 kB / 0.4938 GB, free: 8.172 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007451/0.1214, allocations: 0.6743 MB / 0.4944 GB, free: 7.496 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004193/0.1218, allocations: 246.4 kB / 0.4946 GB, free: 7.242 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003485/0.1222, allocations: 335 kB / 0.495 GB, free: 6.914 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004522/0.1226, allocations: 366.5 kB / 0.4953 GB, free: 6.555 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.1228, allocations: 72 kB / 0.4954 GB, free: 6.484 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003656/0.1231, allocations: 199.8 kB / 0.4956 GB, free: 6.289 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002478/0.1234, allocations: 215.4 kB / 0.4958 GB, free: 6.078 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003731/0.1238, allocations: 354.1 kB / 0.4961 GB, free: 5.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.125, allocations: 1.047 MB / 0.4971 GB, free: 4.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.125, allocations: 0 / 0.4971 GB, free: 4.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.125, allocations: 0 / 0.4971 GB, free: 4.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.125, allocations: 0 / 0.4971 GB, free: 4.68 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.002557/0.1275, allocations: 1.415 MB / 0.4985 GB, free: 3.184 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1276, allocations: 8.031 kB / 0.4985 GB, free: 3.176 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.1277, allocations: 80.47 kB / 0.4986 GB, free: 3.098 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008404/0.1286, allocations: 453.8 kB / 0.499 GB, free: 2.629 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.867e-05/0.1286, allocations: 53.67 kB / 0.4991 GB, free: 2.574 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.1288, allocations: 68.36 kB / 0.4992 GB, free: 2.508 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/0.1303, allocations: 0.9388 MB / 0.5001 GB, free: 1.527 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.1303, allocations: 192 / 0.5001 GB, free: 1.527 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.079e-05/0.1303, allocations: 31.92 kB / 0.5001 GB, free: 1.496 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.1304, allocations: 19.94 kB / 0.5001 GB, free: 1.477 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.1314, allocations: 0.6305 MB / 0.5007 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003071/0.1345, allocations: 2.272 MB / 0.503 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.1357, allocations: 0.7328 MB / 0.5037 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005509/0.1363, allocations: 369.7 kB / 0.504 GB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.593e-05/0.1363, allocations: 15.89 kB / 0.504 GB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008826/0.1372, allocations: 0.5817 MB / 0.5046 GB, free: 12.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.404e-06/0.1372, allocations: 0 / 0.5046 GB, free: 12.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.002378/0.1396, allocations: 1.382 MB / 0.506 GB, free: 11.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001972/0.1398, allocations: 269.8 kB / 0.5062 GB, free: 10.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005255/0.1403, allocations: 433.3 kB / 0.5066 GB, free: 10.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.1404, allocations: 77.66 kB / 0.5067 GB, free: 10.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.1406, allocations: 281.2 kB / 0.507 GB, free: 10.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.1408, allocations: 198.6 kB / 0.5072 GB, free: 9.988 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003102/0.1411, allocations: 230.5 kB / 0.5074 GB, free: 9.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002017/0.1413, allocations: 374.8 kB / 0.5077 GB, free: 9.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007093/0.142, allocations: 492.8 kB / 0.5082 GB, free: 8.879 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.143, allocations: 0.7872 MB / 0.509 GB, free: 7.934 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002173/0.1452, allocations: 1.668 MB / 0.5106 GB, free: 6.066 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.1452, allocations: 0 / 0.5106 GB, free: 6.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002231/0.1475, allocations: 1.49 MB / 0.5121 GB, free: 4.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.357e-05/0.1476, allocations: 118.8 kB / 0.5122 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.072e-05/0.1476, allocations: 15.98 kB / 0.5122 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.007e-05/0.1476, allocations: 12 kB / 0.5122 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/0.148, allocations: 111.8 kB / 0.5123 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.443e-05/0.148, allocations: 27.8 kB / 0.5123 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/0.1484, allocations: 91.39 kB / 0.5124 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.999e-05/0.1485, allocations: 51.98 kB / 0.5125 GB, free: 4.074 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.0007083/0.1492, allocations: 471.5 kB / 0.5129 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.1493, allocations: 55.67 kB / 0.513 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.1494, allocations: 47.94 kB / 0.513 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.1494, allocations: 11.94 kB / 0.513 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.1494, allocations: 7.938 kB / 0.513 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.1494, allocations: 0 / 0.513 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002837/0.1523, allocations: 1.8 MB / 0.5148 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/0.1523, allocations: 4 kB / 0.5148 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.034e-05/0.1523, allocations: 11.94 kB / 0.5148 GB, free: 1.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.1523, allocations: 4 kB / 0.5148 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-05/0.1524, allocations: 27.97 kB / 0.5148 GB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/0.1524, allocations: 4 kB / 0.5148 GB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.1524, allocations: 3.938 kB / 0.5148 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/0.1542, allocations: 1.261 MB / 0.5161 GB, free: 288 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.173e-05/0.1543, allocations: 51.53 kB / 0.5161 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.393e-05/0.1543, allocations: 23.97 kB / 0.5162 GB, free: 212 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002501/0.1546, allocations: 19.97 kB / 0.5162 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.617e-05/0.1547, allocations: 47.81 kB / 0.5162 GB, free: 144 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.21e-05/0.1548, allocations: 43.97 kB / 0.5163 GB, free: 100 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2363/0.3911, allocations: 231.8 kB / 0.5165 GB, free: 29.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3911, allocations: 0 / 0.5165 GB, free: 29.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001213/0.3923, allocations: 244.8 kB / 0.5167 GB, free: 29.79 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.001169/0.3935, allocations: 496.5 kB / 0.5172 GB, free: 29.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001567/0.395, allocations: 1.286 MB / 0.5184 GB, free: 29.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.395, allocations: 0 / 0.5184 GB, free: 29.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000523/0.3956, allocations: 391.8 kB / 0.5188 GB, free: 29.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000684/0.3962, allocations: 95.89 kB / 0.5189 GB, free: 29.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.3983, allocations: 1.328 MB / 0.5202 GB, free: 28.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005461/0.3989, allocations: 0.963 MB / 0.5211 GB, free: 28.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000278/0.3991, allocations: 113.3 kB / 0.5213 GB, free: 28.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.3992, allocations: 42.8 kB / 0.5213 GB, free: 28.04 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3992, allocations: 0 / 0.5213 GB, free: 28.04 MB / 382.1 MB Notification: Performance of Templates: time 0.01904/0.4183, allocations: 9.578 MB / 0.5306 GB, free: 26.45 MB / 382.1 MB " [Timeout remaining time 660] 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 -s cvode -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.181796162971295] Failed to read output from testmodel.py, exit status != 0: 0.42618852795567364 0.43815016700000003 0.310870256 Calling exit ...