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.001174/0.001173, allocations: 103.1 kB / 16.31 MB, free: 5.879 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.001961/0.001961, allocations: 192.3 kB / 17.24 MB, free: 5.539 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.4/1.4, allocations: 222.9 MB / 240.9 MB, free: 15.17 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.0637/0.0637, allocations: 12.04 MB / 303.1 MB, free: 3.168 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 59.91 kB / 366.6 MB, free: 3.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2364, allocations: 52.34 MB / 418.9 MB, free: 21.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients): time 0.00451/0.241, allocations: 3.2 MB / 422.1 MB, free: 17.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.2424, allocations: 0.9031 MB / 423 MB, free: 16.95 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.2426, allocations: 11.88 kB / 423 MB, free: 16.94 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.2429, allocations: 103.2 kB / 423.1 MB, free: 16.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.2431, allocations: 51.53 kB / 423.2 MB, free: 16.79 MB / 302.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.0007576/0.2438, allocations: 326.3 kB / 423.5 MB, free: 16.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004391/0.2443, allocations: 0.6707 MB / 424.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004827/0.2448, allocations: 0.543 MB / 424.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.245, allocations: 327 kB / 425 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/0.2453, allocations: 358.5 kB / 425.4 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.807e-05/0.2454, allocations: 68 kB / 425.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000274/0.2457, allocations: 191.9 kB / 425.6 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.2458, allocations: 215.4 kB / 425.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002523/0.2461, allocations: 342.1 kB / 426.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007018/0.2468, allocations: 1.009 MB / 427.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2468, allocations: 0 / 427.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2468, allocations: 0 / 427.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.2468, allocations: 0 / 427.2 MB, free: 12.77 MB / 302.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.001778/0.2486, allocations: 1.456 MB / 428.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.2487, allocations: 12.03 kB / 428.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001119/0.2488, allocations: 114.7 kB / 428.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.2489, allocations: 80.08 kB / 428.8 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005265/0.2495, allocations: 491.5 kB / 429.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.237e-05/0.2495, allocations: 53.67 kB / 429.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.531e-05/0.2496, allocations: 64.36 kB / 429.4 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.2507, allocations: 0.9427 MB / 430.4 MB, free: 9.383 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.2508, allocations: 7.875 kB / 430.4 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.3e-05/0.2508, allocations: 27.98 kB / 430.4 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.2509, allocations: 16 kB / 430.4 MB, free: 9.332 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007575/0.2516, allocations: 0.6191 MB / 431 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/0.2537, allocations: 2.341 MB / 433.4 MB, free: 6.281 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008787/0.2546, allocations: 0.7719 MB / 434.2 MB, free: 5.445 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003907/0.255, allocations: 406.3 kB / 434.6 MB, free: 5.027 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.666e-05/0.2551, allocations: 19.91 kB / 434.6 MB, free: 5.008 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000607/0.2557, allocations: 0.585 MB / 435.2 MB, free: 4.387 MB / 302.1 MB Notification: Performance of pre-optimization done (n=78): time 2.225e-06/0.2557, allocations: 0 / 435.2 MB, free: 4.387 MB / 302.1 MB Notification: Performance of matching and sorting (n=78): time 0.001748/0.2575, allocations: 1.37 MB / 436.5 MB, free: 3.012 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.827e-05/0.2576, allocations: 273.5 kB / 436.8 MB, free: 2.695 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/0.2579, allocations: 425.1 kB / 437.2 MB, free: 2.273 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.723e-05/0.258, allocations: 81.59 kB / 437.3 MB, free: 2.188 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.2581, allocations: 272.9 kB / 437.6 MB, free: 1.914 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.2582, allocations: 201.7 kB / 437.8 MB, free: 1.715 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.2585, allocations: 218.6 kB / 438 MB, free: 1.496 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.747e-05/0.2585, allocations: 374.8 kB / 438.3 MB, free: 1.121 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004631/0.259, allocations: 374 kB / 438.7 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005666/0.2596, allocations: 0.6749 MB / 439.4 MB, free: 15.95 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001978/0.2616, allocations: 1.652 MB / 441 MB, free: 14.1 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.2616, allocations: 4 kB / 441 MB, free: 14.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001949/0.2636, allocations: 1.355 MB / 442.4 MB, free: 12.71 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.534e-05/0.2636, allocations: 123.8 kB / 442.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/0.2637, allocations: 15.94 kB / 442.5 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.824e-05/0.2637, allocations: 19.98 kB / 442.5 MB, free: 12.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003561/0.2641, allocations: 119.8 kB / 442.7 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.36e-05/0.2641, allocations: 23.86 kB / 442.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003316/0.2644, allocations: 83.2 kB / 442.8 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.715e-05/0.2645, allocations: 48 kB / 442.8 MB, free: 12.26 MB / 318.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.0006355/0.2652, allocations: 459 kB / 443.3 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.2653, allocations: 59.33 kB / 443.3 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.121e-05/0.2654, allocations: 43.95 kB / 443.4 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.2654, allocations: 11.98 kB / 443.4 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/0.2654, allocations: 11.94 kB / 443.4 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.2654, allocations: 4.047 kB / 443.4 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/0.2678, allocations: 1.801 MB / 445.2 MB, free: 9.809 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/0.2679, allocations: 4 kB / 445.2 MB, free: 9.805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-05/0.2679, allocations: 11.94 kB / 445.2 MB, free: 9.793 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.2679, allocations: 8 kB / 445.2 MB, free: 9.785 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.425e-05/0.268, allocations: 23.97 kB / 445.2 MB, free: 9.762 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.421e-06/0.268, allocations: 4 kB / 445.2 MB, free: 9.758 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.268, allocations: 4 kB / 445.2 MB, free: 9.754 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.2695, allocations: 1.24 MB / 446.5 MB, free: 8.48 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.722e-05/0.2697, allocations: 132.3 kB / 446.6 MB, free: 8.332 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.652e-05/0.2697, allocations: 15.98 kB / 446.6 MB, free: 8.316 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.27, allocations: 23.97 kB / 446.7 MB, free: 8.293 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.94e-05/0.2701, allocations: 47.89 kB / 446.7 MB, free: 8.246 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.465e-05/0.2702, allocations: 31.97 kB / 446.7 MB, free: 8.215 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002363/0.2704, allocations: 243 kB / 447 MB, free: 7.98 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.833e-06/0.2704, allocations: 0 / 447 MB, free: 7.98 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008197/0.2712, allocations: 243.3 kB / 447.2 MB, free: 7.742 MB / 318.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.002633/0.2739, allocations: 2.156 MB / 449.4 MB, free: 5.656 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001813/0.2757, allocations: 1.323 MB / 450.7 MB, free: 4.273 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.2757, allocations: 5.938 kB / 450.7 MB, free: 4.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000565/0.2763, allocations: 431.2 kB / 451.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006853/0.277, allocations: 91.97 kB / 451.2 MB, free: 3.758 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009655/0.2867, allocations: 6.974 MB / 458.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007756/0.2875, allocations: 0.9769 MB / 459.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002998/0.2878, allocations: 116.5 kB / 459.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/0.2881, allocations: 195.4 kB / 459.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of SimCode: time 1.052e-06/0.2881, allocations: 0 / 459.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03837/0.3265, allocations: 14.59 MB / 474 MB, free: 12.65 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.613/7.94, allocations: 10.64 kB / 474.1 MB, free: 12.64 MB / 350.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)