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: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServerMultipleClients",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServerMultipleClients",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.001141, allocations: 108.5 kB / 16.45 MB, free: 6.457 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.001129/0.001129, allocations: 192.2 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.391/1.391, 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.05912/0.05912, allocations: 12.05 MB / 303.3 MB, free: 3.094 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.91 kB / 419.6 MB, free: 17.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.111, allocations: 52.31 MB / 471.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients): time 0.004678/0.1157, allocations: 3.226 MB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.1173, allocations: 0.9108 MB / 476 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.1175, allocations: 11.88 kB / 476 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003277/0.1178, allocations: 95.23 kB / 476.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.118, allocations: 43.53 kB / 476.2 MB, free: 9.047 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.0008455/0.1189, allocations: 311.1 kB / 476.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006967/0.1196, allocations: 0.6861 MB / 477.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006494/0.1202, allocations: 0.5487 MB / 477.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003002/0.1205, allocations: 327 kB / 478 MB, free: 7.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004173/0.121, allocations: 366.5 kB / 478.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.1211, allocations: 72 kB / 478.5 MB, free: 6.742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003533/0.1215, allocations: 191.9 kB / 478.6 MB, free: 6.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002419/0.1217, allocations: 215.4 kB / 478.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003549/0.1221, allocations: 354.1 kB / 479.2 MB, free: 5.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.1232, allocations: 1.047 MB / 480.2 MB, free: 4.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1232, allocations: 0 / 480.2 MB, free: 4.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1232, allocations: 0 / 480.2 MB, free: 4.945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.1232, allocations: 0 / 480.2 MB, free: 4.945 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.002423/0.1256, allocations: 1.482 MB / 481.7 MB, free: 3.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.1257, allocations: 12.03 kB / 481.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001278/0.1258, allocations: 110.7 kB / 481.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.126, allocations: 88.45 kB / 481.9 MB, free: 3.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000781/0.1268, allocations: 499.7 kB / 482.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.849e-05/0.1269, allocations: 57.61 kB / 482.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.127, allocations: 64.36 kB / 482.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.1283, allocations: 0.9466 MB / 483.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.1284, allocations: 3.938 kB / 483.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.39e-05/0.1284, allocations: 27.98 kB / 483.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.1285, allocations: 16 kB / 483.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009431/0.1294, allocations: 0.6229 MB / 484.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002897/0.1323, allocations: 2.311 MB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.1335, allocations: 0.7875 MB / 487.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00051/0.134, allocations: 413.7 kB / 487.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.587e-05/0.1341, allocations: 19.88 kB / 487.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007693/0.1348, allocations: 0.5735 MB / 488.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 3.216e-06/0.1349, allocations: 0 / 488.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.002167/0.137, allocations: 1.374 MB / 489.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/0.1372, allocations: 273.5 kB / 489.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000434/0.1376, allocations: 433.3 kB / 490.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.332e-05/0.1377, allocations: 77.66 kB / 490.4 MB, free: 10.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.1379, allocations: 281.2 kB / 490.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.1381, allocations: 194.6 kB / 490.9 MB, free: 9.863 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002766/0.1384, allocations: 222.8 kB / 491.1 MB, free: 9.637 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1385, allocations: 378.8 kB / 491.4 MB, free: 9.258 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005491/0.1391, allocations: 381.9 kB / 491.8 MB, free: 8.887 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008049/0.1399, allocations: 0.671 MB / 492.5 MB, free: 8.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001959/0.1419, allocations: 1.646 MB / 494.1 MB, free: 6.246 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/0.1419, allocations: 4 kB / 494.1 MB, free: 6.242 MB / 366.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002339/0.1442, allocations: 1.353 MB / 495.5 MB, free: 4.859 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.1444, allocations: 126.8 kB / 495.6 MB, free: 4.711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/0.1444, allocations: 8 kB / 495.6 MB, free: 4.703 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-05/0.1444, allocations: 19.98 kB / 495.6 MB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004258/0.1449, allocations: 116.4 kB / 495.8 MB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.16e-05/0.1449, allocations: 31.95 kB / 495.8 MB, free: 4.539 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003217/0.1452, allocations: 91.44 kB / 495.9 MB, free: 4.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-05/0.1453, allocations: 44 kB / 495.9 MB, free: 4.406 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.0006003/0.1459, allocations: 458.8 kB / 496.4 MB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.72e-05/0.146, allocations: 55.66 kB / 496.4 MB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.973e-05/0.1461, allocations: 48.02 kB / 496.5 MB, free: 3.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.1461, allocations: 15.98 kB / 496.5 MB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.1462, allocations: 3.938 kB / 496.5 MB, free: 3.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.1462, allocations: 7.984 kB / 496.5 MB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002801/0.149, allocations: 1.805 MB / 498.3 MB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.149, allocations: 0 / 498.3 MB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.1491, allocations: 11.94 kB / 498.3 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-06/0.1491, allocations: 4 kB / 498.3 MB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.856e-05/0.1491, allocations: 27.97 kB / 498.3 MB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.1491, allocations: 4 kB / 498.3 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1491, allocations: 0 / 498.3 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.1508, allocations: 1.248 MB / 499.6 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.1509, allocations: 132.6 kB / 499.7 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.145e-05/0.151, allocations: 19.97 kB / 499.7 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.1512, allocations: 27.97 kB / 499.8 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.1513, allocations: 47.83 kB / 499.8 MB, free: 384 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.885e-05/0.1514, allocations: 35.97 kB / 499.9 MB, free: 348 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002492/0.1517, allocations: 235 kB / 0.4884 GB, free: 112 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1517, allocations: 0 / 0.4884 GB, free: 112 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008621/0.1525, allocations: 243.4 kB / 0.4886 GB, free: 15.87 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.002851/0.1554, allocations: 2.172 MB / 0.4907 GB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001579/0.157, allocations: 1.205 MB / 0.4919 GB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.157, allocations: 0 / 0.4919 GB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005792/0.1576, allocations: 421.2 kB / 0.4923 GB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006566/0.1583, allocations: 95.28 kB / 0.4924 GB, free: 12.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008366/0.1666, allocations: 6.915 MB / 0.4991 GB, free: 4.684 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005926/0.1672, allocations: 0.9688 MB / 0.5001 GB, free: 3.688 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002182/0.1675, allocations: 112.8 kB / 0.5002 GB, free: 3.574 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/0.1677, allocations: 195.4 kB / 0.5004 GB, free: 3.383 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1677, allocations: 4 kB / 0.5004 GB, free: 3.379 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2722/0.44, allocations: 14.84 MB / 0.5149 GB, free: 39.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.257/8.697, allocations: 13.33 kB / 0.5149 GB, free: 39.41 MB / 382.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServerMultipleClients.fmu > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients.pipe 2>&1)