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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 106.4 kB / 16.45 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 186.4 kB / 17.39 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.0583/0.0583, allocations: 12.05 MB / 303.3 MB, free: 3.098 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 63.91 kB / 420.1 MB, free: 17.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1065, allocations: 52.32 MB / 472.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients): time 0.005236/0.1117, allocations: 3.219 MB / 475.6 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.1135, allocations: 0.9108 MB / 476.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.1137, allocations: 15.81 kB / 476.5 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003409/0.114, allocations: 99.17 kB / 476.6 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001499/0.1142, allocations: 39.59 kB / 476.7 MB, free: 8.656 MB / 350.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.0008318/0.1151, allocations: 315.1 kB / 477 MB, free: 8.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000731/0.1158, allocations: 0.6744 MB / 477.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006797/0.1165, allocations: 0.5524 MB / 478.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003293/0.1168, allocations: 327 kB / 478.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004261/0.1173, allocations: 362.5 kB / 478.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.1174, allocations: 72 kB / 478.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003233/0.1177, allocations: 191.9 kB / 479.1 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002159/0.1179, allocations: 215.4 kB / 479.3 MB, free: 5.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003077/0.1182, allocations: 354.1 kB / 479.7 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000915/0.1192, allocations: 1.044 MB / 480.7 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1192, allocations: 0 / 480.7 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1192, allocations: 0 / 480.7 MB, free: 4.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.1192, allocations: 0 / 480.7 MB, free: 4.566 MB / 350.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.002099/0.1213, allocations: 1.46 MB / 482.2 MB, free: 3.016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.1213, allocations: 12.03 kB / 482.2 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.1215, allocations: 80.09 kB / 482.3 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000596/0.1221, allocations: 0.4994 MB / 482.8 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.441e-05/0.1222, allocations: 53.61 kB / 482.8 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.633e-05/0.1223, allocations: 68.36 kB / 482.9 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.1237, allocations: 0.9388 MB / 483.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.1237, allocations: 192 / 483.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.846e-05/0.1238, allocations: 35.92 kB / 483.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.1238, allocations: 16 kB / 483.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008923/0.1247, allocations: 0.6229 MB / 484.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002908/0.1276, allocations: 2.302 MB / 486.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.1287, allocations: 0.7719 MB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005008/0.1292, allocations: 413.7 kB / 488 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.213e-05/0.1293, allocations: 15.98 kB / 488 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007613/0.1301, allocations: 0.5812 MB / 488.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.225e-06/0.1301, allocations: 0 / 488.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.002111/0.1322, allocations: 1.377 MB / 490 MB, free: 10.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.1323, allocations: 269.8 kB / 490.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004191/0.1328, allocations: 433.1 kB / 490.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.891e-05/0.1329, allocations: 77.66 kB / 490.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.1331, allocations: 272.7 kB / 491 MB, free: 9.844 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.1332, allocations: 185.7 kB / 491.2 MB, free: 9.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002647/0.1335, allocations: 226.6 kB / 491.4 MB, free: 9.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1336, allocations: 378.7 kB / 491.8 MB, free: 9.051 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005532/0.1342, allocations: 374 kB / 492.1 MB, free: 8.688 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007454/0.135, allocations: 0.6749 MB / 492.8 MB, free: 7.887 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001881/0.1369, allocations: 1.651 MB / 494.5 MB, free: 6.035 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.1369, allocations: 4 kB / 494.5 MB, free: 6.031 MB / 366.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001884/0.1388, allocations: 1.353 MB / 495.8 MB, free: 4.648 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.461e-05/0.1389, allocations: 126.8 kB / 495.9 MB, free: 4.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-05/0.1389, allocations: 11.98 kB / 495.9 MB, free: 4.488 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/0.1389, allocations: 16 kB / 496 MB, free: 4.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/0.1393, allocations: 115.8 kB / 496.1 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.786e-05/0.1393, allocations: 23.88 kB / 496.1 MB, free: 4.336 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/0.1396, allocations: 83.2 kB / 496.2 MB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.799e-05/0.1397, allocations: 47.98 kB / 496.2 MB, free: 4.207 MB / 366.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.0005457/0.1403, allocations: 467.3 kB / 496.7 MB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.65e-05/0.1404, allocations: 59.42 kB / 496.7 MB, free: 3.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.897e-05/0.1405, allocations: 43.95 kB / 496.8 MB, free: 3.633 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.1405, allocations: 11.98 kB / 496.8 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/0.1405, allocations: 3.938 kB / 496.8 MB, free: 3.617 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.1405, allocations: 7.984 kB / 496.8 MB, free: 3.609 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/0.1429, allocations: 1.8 MB / 498.6 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/0.1429, allocations: 3.984 kB / 498.6 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-05/0.1429, allocations: 19.94 kB / 498.6 MB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.143, allocations: 4 kB / 498.6 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.399e-05/0.143, allocations: 23.97 kB / 498.7 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.143, allocations: 4 kB / 498.7 MB, free: 1.695 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.143, allocations: 0 / 498.7 MB, free: 1.695 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.1446, allocations: 1.24 MB / 499.9 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-05/0.1447, allocations: 128.3 kB / 0.4883 GB, free: 280 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.299e-05/0.1447, allocations: 23.91 kB / 0.4883 GB, free: 256 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.145, allocations: 23.97 kB / 0.4884 GB, free: 232 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.1451, allocations: 47.83 kB / 0.4884 GB, free: 184 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.359e-05/0.1451, allocations: 39.97 kB / 0.4884 GB, free: 144 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002306/0.1454, allocations: 231 kB / 0.4887 GB, free: 15.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1454, allocations: 0 / 0.4887 GB, free: 15.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007748/0.1462, allocations: 235.4 kB / 0.4889 GB, free: 15.68 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.00105/0.1472, allocations: 492.7 kB / 0.4894 GB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001618/0.1489, allocations: 1.214 MB / 0.4905 GB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.1489, allocations: 3.938 kB / 0.4905 GB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005609/0.1495, allocations: 428.4 kB / 0.4909 GB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006432/0.1501, allocations: 91.89 kB / 0.491 GB, free: 13.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.1519, allocations: 1.298 MB / 0.4923 GB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005085/0.1525, allocations: 0.9727 MB / 0.4933 GB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000211/0.1527, allocations: 109.1 kB / 0.4934 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.239e-05/0.1528, allocations: 47.42 kB / 0.4934 GB, free: 11.02 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1528, allocations: 0 / 0.4934 GB, free: 11.02 MB / 382.1 MB Notification: Performance of Templates: time 0.01465/0.1675, allocations: 9.175 MB / 0.5024 GB, free: 1.941 MB / 382.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients.makefile (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)