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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 68.95 kB / 19.97 MB, free: 1.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 170.8 kB / 23.26 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 177.1 MB / 203.6 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.05961/0.05961, allocations: 9.162 MB / 269.1 MB, free: 7.891 MB / 254.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 397.5 MB, free: 5.273 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.476e-05, allocations: 2.281 kB / 397.5 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients): time 0.00503/0.005055, allocations: 3.247 MB / 400.8 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.006987, allocations: 0.8794 MB / 401.7 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002615/0.007248, allocations: 23.81 kB / 401.7 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003772/0.007625, allocations: 99.09 kB / 401.8 MB, free: 1.004 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.007878, allocations: 51.52 kB / 401.8 MB, free: 0.9531 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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 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 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 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 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 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.001087/0.008965, allocations: 322.8 kB / 402.2 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000903/0.009868, allocations: 0.6744 MB / 402.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000474/0.01034, allocations: 238.4 kB / 403.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006767/0.01102, allocations: 463.2 kB / 403.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005549/0.01157, allocations: 351.2 kB / 403.9 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001877/0.01176, allocations: 72 kB / 403.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000441/0.0122, allocations: 203.7 kB / 404.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002886/0.01249, allocations: 223.3 kB / 404.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003822/0.01287, allocations: 235.3 kB / 404.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.01441, allocations: 1.09 MB / 405.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.01441, allocations: 0 / 405.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.01441, allocations: 0 / 405.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.38e-05/0.01444, allocations: 0 / 405.7 MB, free: 13.11 MB / 334.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.002679/0.01712, allocations: 1.411 MB / 407.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.01716, allocations: 8.031 kB / 407.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002002/0.01736, allocations: 88.42 kB / 407.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007759/0.01813, allocations: 453.1 kB / 407.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-05/0.0182, allocations: 49.67 kB / 407.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.01832, allocations: 68.36 kB / 407.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.0199, allocations: 0.9349 MB / 408.7 MB, free: 9.969 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.01992, allocations: 8.125 kB / 408.7 MB, free: 9.961 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.138e-05/0.02, allocations: 28.36 kB / 408.7 MB, free: 9.934 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.02001, allocations: 12.38 kB / 408.7 MB, free: 9.922 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.02121, allocations: 0.6276 MB / 409.3 MB, free: 9.293 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003031/0.02424, allocations: 2.031 MB / 411.4 MB, free: 7.188 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.02553, allocations: 0.7211 MB / 412.1 MB, free: 6.402 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000705/0.02623, allocations: 369.7 kB / 412.5 MB, free: 6.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.906e-05/0.02628, allocations: 11.98 kB / 412.5 MB, free: 6.008 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001073/0.02736, allocations: 0.5857 MB / 413.1 MB, free: 5.391 MB / 334.1 MB Notification: Performance of pre-optimization done (n=78): time 3.717e-06/0.02736, allocations: 4 kB / 413.1 MB, free: 5.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=78): time 0.002457/0.02982, allocations: 1.387 MB / 414.4 MB, free: 3.992 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000262/0.03008, allocations: 273.6 kB / 414.7 MB, free: 3.676 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005235/0.0306, allocations: 425.4 kB / 415.1 MB, free: 3.254 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.03071, allocations: 77.66 kB / 415.2 MB, free: 3.172 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002455/0.03095, allocations: 277.2 kB / 415.5 MB, free: 2.895 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/0.03116, allocations: 202.5 kB / 415.7 MB, free: 2.695 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003287/0.03148, allocations: 226.5 kB / 415.9 MB, free: 2.465 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002998/0.03178, allocations: 382.7 kB / 416.3 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007213/0.03251, allocations: 493 kB / 416.7 MB, free: 1.578 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009578/0.03346, allocations: 0.7835 MB / 417.5 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002245/0.03571, allocations: 1.657 MB / 419.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.03571, allocations: 0 / 419.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002315/0.03803, allocations: 1.497 MB / 420.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.03813, allocations: 126.8 kB / 420.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/0.03815, allocations: 12 kB / 420.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.977e-05/0.03818, allocations: 12 kB / 420.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003913/0.03857, allocations: 119.8 kB / 420.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-05/0.0386, allocations: 19.92 kB / 421 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003575/0.03896, allocations: 91.39 kB / 421.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.002e-05/0.03904, allocations: 51.98 kB / 421.1 MB, free: 12.79 MB / 350.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.000645/0.03968, allocations: 460 kB / 421.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.03979, allocations: 55.67 kB / 421.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.03989, allocations: 51.94 kB / 421.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.0399, allocations: 8 kB / 421.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.03991, allocations: 7.938 kB / 421.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.03992, allocations: 3.984 kB / 421.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002568/0.04249, allocations: 1.63 MB / 423.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.433e-06/0.0425, allocations: 0 / 423.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.122e-05/0.04255, allocations: 23.92 kB / 423.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/0.04256, allocations: 7.938 kB / 423.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.772e-05/0.04261, allocations: 19.98 kB / 423.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.04261, allocations: 4 kB / 423.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.04261, allocations: 4.156 kB / 423.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.04453, allocations: 1.257 MB / 424.6 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.317e-05/0.04459, allocations: 55.48 kB / 424.7 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.245e-05/0.04467, allocations: 23.92 kB / 424.7 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.04491, allocations: 19.97 kB / 424.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.819e-05/0.04501, allocations: 39.94 kB / 424.8 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.653e-05/0.04509, allocations: 35.97 kB / 424.8 MB, free: 9.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002582/0.04534, allocations: 239 kB / 425 MB, free: 8.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.04534, allocations: 0 / 425 MB, free: 8.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008477/0.04619, allocations: 247.4 kB / 425.3 MB, free: 8.527 MB / 350.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.001349/0.04754, allocations: 0.5138 MB / 425.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001786/0.04933, allocations: 1.292 MB / 427.1 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.04933, allocations: 0 / 427.1 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006183/0.04995, allocations: 388.3 kB / 427.5 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007623/0.05071, allocations: 97.27 kB / 427.6 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.05283, allocations: 1.312 MB / 428.9 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.05325, allocations: 377.8 kB / 429.2 MB, free: 4.523 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002188/0.05347, allocations: 112.8 kB / 429.3 MB, free: 4.414 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.05357, allocations: 44.48 kB / 429.4 MB, free: 4.371 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.05358, allocations: 0 / 429.4 MB, free: 4.371 MB / 350.1 MB Notification: Performance of Templates: time 0.01813/0.0717, allocations: 9.405 MB / 438.8 MB, free: 11.11 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients.makefile [Timeout 660] (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) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.6236095651984215] Failed to read output from testmodel.py, exit status != 0: 0.08026686310768127 0.24382662099999997 0.22638640099999996 Calling exit ...