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.001325/0.001325, allocations: 109.4 kB / 17.12 MB, free: 5.938 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.001276/0.001276, allocations: 197 kB / 18.06 MB, free: 5.012 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.45/1.45, allocations: 222.9 MB / 241.8 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.06249/0.06249, allocations: 12.06 MB / 304 MB, free: 3.094 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 59.91 kB / 420.7 MB, free: 17.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1058, allocations: 52.33 MB / 473.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients): time 0.00591/0.1117, allocations: 3.223 MB / 476.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.1135, allocations: 0.9108 MB / 477.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.1137, allocations: 11.88 kB / 477.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000364/0.114, allocations: 111.1 kB / 477.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.1142, allocations: 43.53 kB / 477.4 MB, free: 8.539 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.0009918/0.1152, allocations: 315.1 kB / 477.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008288/0.116, allocations: 0.6705 MB / 478.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006025/0.1166, allocations: 409.8 kB / 478.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003633/0.117, allocations: 331 kB / 479.1 MB, free: 6.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004487/0.1174, allocations: 366.5 kB / 479.4 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.1176, allocations: 68 kB / 479.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003548/0.1179, allocations: 195.9 kB / 479.7 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002479/0.1182, allocations: 215.4 kB / 479.9 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003849/0.1185, allocations: 350.1 kB / 480.2 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.1197, allocations: 1.047 MB / 481.3 MB, free: 4.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1197, allocations: 0 / 481.3 MB, free: 4.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1197, allocations: 0 / 481.3 MB, free: 4.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.1197, allocations: 4 kB / 481.3 MB, free: 4.594 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.00271/0.1225, allocations: 1.486 MB / 482.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.1225, allocations: 8.031 kB / 482.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.1227, allocations: 84.45 kB / 482.9 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008567/0.1236, allocations: 499.7 kB / 483.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.224e-05/0.1236, allocations: 49.67 kB / 483.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.1238, allocations: 72.3 kB / 483.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.1253, allocations: 0.9427 MB / 484.4 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.1253, allocations: 192 / 484.4 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.894e-05/0.1254, allocations: 35.91 kB / 484.4 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.1254, allocations: 16 kB / 484.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.1265, allocations: 0.6268 MB / 485.1 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003237/0.1297, allocations: 2.311 MB / 487.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.1309, allocations: 0.729 MB / 488.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005728/0.1315, allocations: 377.7 kB / 488.5 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.328e-05/0.1315, allocations: 15.89 kB / 488.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009146/0.1325, allocations: 0.5775 MB / 489.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 3.326e-06/0.1325, allocations: 0 / 489.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.002475/0.1349, allocations: 1.373 MB / 490.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002042/0.1351, allocations: 269.5 kB / 490.7 MB, free: 10.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005359/0.1357, allocations: 433.2 kB / 491.1 MB, free: 10.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.1358, allocations: 77.66 kB / 491.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002538/0.136, allocations: 285.4 kB / 491.5 MB, free: 9.914 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.1362, allocations: 198.7 kB / 491.7 MB, free: 9.719 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003282/0.1365, allocations: 222.6 kB / 491.9 MB, free: 9.492 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002339/0.1368, allocations: 374.8 kB / 492.3 MB, free: 9.117 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006303/0.1374, allocations: 378 kB / 492.7 MB, free: 8.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008598/0.1383, allocations: 0.6709 MB / 493.3 MB, free: 7.953 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002224/0.1405, allocations: 1.657 MB / 495 MB, free: 6.098 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.1405, allocations: 4 kB / 495 MB, free: 6.094 MB / 366.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00221/0.1427, allocations: 1.36 MB / 496.3 MB, free: 4.703 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.1428, allocations: 127.7 kB / 496.5 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/0.1428, allocations: 8 kB / 496.5 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.259e-05/0.1429, allocations: 16 kB / 496.5 MB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003713/0.1433, allocations: 116.5 kB / 496.6 MB, free: 4.418 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.644e-05/0.1433, allocations: 27.86 kB / 496.6 MB, free: 4.391 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003566/0.1436, allocations: 87.45 kB / 496.7 MB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.537e-05/0.1437, allocations: 47.98 kB / 496.8 MB, free: 4.258 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.0006928/0.1444, allocations: 467 kB / 497.2 MB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.1446, allocations: 55.66 kB / 497.3 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.1447, allocations: 47.95 kB / 497.3 MB, free: 3.684 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.1447, allocations: 11.94 kB / 497.3 MB, free: 3.672 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.1447, allocations: 7.938 kB / 497.3 MB, free: 3.664 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.1447, allocations: 7.984 kB / 497.3 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002764/0.1475, allocations: 1.797 MB / 499.1 MB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.1475, allocations: 0 / 499.1 MB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.594e-05/0.1475, allocations: 11.98 kB / 499.2 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.1475, allocations: 4 kB / 499.2 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.728e-05/0.1476, allocations: 19.98 kB / 499.2 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.1476, allocations: 7.984 kB / 499.2 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1476, allocations: 7.938 kB / 499.2 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.1494, allocations: 1.252 MB / 0.4887 GB, free: 472 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.1495, allocations: 128.7 kB / 0.4888 GB, free: 324 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.536e-05/0.1496, allocations: 23.97 kB / 0.4889 GB, free: 300 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.1498, allocations: 15.98 kB / 0.4889 GB, free: 284 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.1499, allocations: 51.81 kB / 0.4889 GB, free: 232 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.208e-05/0.15, allocations: 35.97 kB / 0.489 GB, free: 196 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002912/0.1503, allocations: 235 kB / 0.4892 GB, free: 15.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1503, allocations: 0 / 0.4892 GB, free: 15.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009801/0.1513, allocations: 243.4 kB / 0.4894 GB, free: 15.72 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.001324/0.1526, allocations: 0.4898 MB / 0.4899 GB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001789/0.1544, allocations: 1.165 MB / 0.491 GB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1544, allocations: 0 / 0.491 GB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005997/0.155, allocations: 389.1 kB / 0.4914 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006757/0.1557, allocations: 92.17 kB / 0.4915 GB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.158, allocations: 1.332 MB / 0.4928 GB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006971/0.1587, allocations: 0.973 MB / 0.4937 GB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002594/0.1589, allocations: 108.8 kB / 0.4938 GB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.159, allocations: 43.44 kB / 0.4939 GB, free: 11.11 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.159, allocations: 0 / 0.4939 GB, free: 11.11 MB / 382.1 MB Notification: Performance of Templates: time 0.01846/0.1775, allocations: 9.194 MB / 0.5029 GB, free: 2.012 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 -s cvode -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients.pipe 2>&1)