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.001452/0.001452, allocations: 109.5 kB / 16.45 MB, free: 6.395 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.001667/0.001667, allocations: 189.4 kB / 17.38 MB, free: 5.664 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.317/1.317, allocations: 222.9 MB / 241.1 MB, free: 15.05 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.05598/0.05598, allocations: 12.05 MB / 303.3 MB, free: 3.066 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 59.91 kB / 420.1 MB, free: 17.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08276/0.08388, allocations: 52.32 MB / 472.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients): time 0.004354/0.08827, allocations: 3.212 MB / 475.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.08972, allocations: 0.9147 MB / 476.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.08986, allocations: 11.94 kB / 476.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.09014, allocations: 99.11 kB / 476.6 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.09029, allocations: 43.53 kB / 476.7 MB, free: 8.527 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.0007403/0.09104, allocations: 319 kB / 477 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000626/0.09167, allocations: 0.6823 MB / 477.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005971/0.09228, allocations: 0.5446 MB / 478.2 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002586/0.09255, allocations: 323 kB / 478.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003615/0.09291, allocations: 370.4 kB / 478.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.09303, allocations: 68 kB / 478.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002782/0.09331, allocations: 191.9 kB / 479.1 MB, free: 6.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002076/0.09353, allocations: 215.4 kB / 479.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002944/0.09383, allocations: 354 kB / 479.7 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009556/0.09479, allocations: 1.047 MB / 480.7 MB, free: 4.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.09481, allocations: 0 / 480.7 MB, free: 4.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.09482, allocations: 4 kB / 480.7 MB, free: 4.426 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.09483, allocations: 4 kB / 480.7 MB, free: 4.422 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.002035/0.09687, allocations: 1.486 MB / 482.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.09691, allocations: 8.031 kB / 482.2 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001504/0.09706, allocations: 88.45 kB / 482.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006439/0.09772, allocations: 499.7 kB / 482.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.469e-05/0.09778, allocations: 53.61 kB / 482.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.09789, allocations: 68.36 kB / 482.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.09919, allocations: 0.9388 MB / 483.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.09922, allocations: 192 / 483.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.796e-05/0.0993, allocations: 35.92 kB / 483.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.09932, allocations: 12 kB / 483.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009232/0.1002, allocations: 0.6307 MB / 484.5 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002547/0.1028, allocations: 2.315 MB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.1039, allocations: 0.7642 MB / 487.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005252/0.1044, allocations: 413.6 kB / 488 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.257e-05/0.1045, allocations: 15.94 kB / 488 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007587/0.1052, allocations: 0.5736 MB / 488.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.525e-06/0.1053, allocations: 4 kB / 488.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.002121/0.1074, allocations: 1.381 MB / 490 MB, free: 10.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001771/0.1076, allocations: 269.5 kB / 490.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000472/0.108, allocations: 437.2 kB / 490.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.65e-05/0.1082, allocations: 77.91 kB / 490.8 MB, free: 9.941 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.1084, allocations: 281.2 kB / 491 MB, free: 9.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.1085, allocations: 202.6 kB / 491.2 MB, free: 9.461 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002668/0.1088, allocations: 222.6 kB / 491.5 MB, free: 9.234 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1089, allocations: 374.8 kB / 491.8 MB, free: 8.859 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005453/0.1095, allocations: 374 kB / 492.2 MB, free: 8.496 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007643/0.1103, allocations: 0.671 MB / 492.9 MB, free: 7.699 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001933/0.1122, allocations: 1.651 MB / 494.5 MB, free: 5.848 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.1122, allocations: 0 / 494.5 MB, free: 5.848 MB / 366.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001868/0.1141, allocations: 1.361 MB / 495.9 MB, free: 4.457 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.104e-05/0.1142, allocations: 118.8 kB / 496 MB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/0.1142, allocations: 12.09 kB / 496 MB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.1142, allocations: 16 kB / 496 MB, free: 4.289 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/0.1146, allocations: 123.7 kB / 496.1 MB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/0.1146, allocations: 23.81 kB / 496.2 MB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.1149, allocations: 95.39 kB / 496.3 MB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.317e-05/0.115, allocations: 47.98 kB / 496.3 MB, free: 4.004 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.0005287/0.1156, allocations: 462.7 kB / 496.8 MB, free: 3.543 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.499e-05/0.1157, allocations: 59.66 kB / 496.8 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.745e-05/0.1158, allocations: 43.95 kB / 496.9 MB, free: 3.438 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.1158, allocations: 12 kB / 496.9 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/0.1158, allocations: 7.938 kB / 496.9 MB, free: 3.418 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.1158, allocations: 3.984 kB / 496.9 MB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002389/0.1182, allocations: 1.801 MB / 498.7 MB, free: 1.555 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.1182, allocations: 4 kB / 498.7 MB, free: 1.551 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.826e-05/0.1183, allocations: 15.94 kB / 498.7 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.1183, allocations: 4 kB / 498.7 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.331e-05/0.1183, allocations: 23.97 kB / 498.7 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.1183, allocations: 4 kB / 498.7 MB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.46e-05/0.1184, allocations: 4 kB / 498.7 MB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.1199, allocations: 1.244 MB / 500 MB, free: 224 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.018e-05/0.12, allocations: 128.7 kB / 0.4884 GB, free: 76 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.978e-05/0.1201, allocations: 23.97 kB / 0.4884 GB, free: 52 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.1203, allocations: 23.91 kB / 0.4884 GB, free: 28 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.264e-05/0.1204, allocations: 47.89 kB / 0.4885 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.115e-05/0.1205, allocations: 31.97 kB / 0.4885 GB, free: 15.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002235/0.1207, allocations: 239 kB / 0.4887 GB, free: 15.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1207, allocations: 4 kB / 0.4887 GB, free: 15.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007071/0.1214, allocations: 251.3 kB / 0.489 GB, free: 15.46 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.0008772/0.1223, allocations: 491 kB / 0.4894 GB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.1238, allocations: 1.194 MB / 0.4906 GB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/0.1238, allocations: 1.875 kB / 0.4906 GB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005571/0.1244, allocations: 425.1 kB / 0.491 GB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006252/0.125, allocations: 97.09 kB / 0.4911 GB, free: 13.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.1268, allocations: 1.324 MB / 0.4924 GB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000506/0.1273, allocations: 0.973 MB / 0.4934 GB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001962/0.1275, allocations: 112.8 kB / 0.4935 GB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.52e-05/0.1276, allocations: 43.42 kB / 0.4935 GB, free: 10.8 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1276, allocations: 0 / 0.4935 GB, free: 10.8 MB / 382.1 MB Notification: Performance of Templates: time 0.01467/0.1423, allocations: 9.177 MB / 0.5025 GB, free: 1.711 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)