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.001059/0.001059, allocations: 79.36 kB / 20.46 MB, free: 4.105 MB / 18.57 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.001182/0.001182, allocations: 169 kB / 23.84 MB, free: 0.7305 MB / 18.57 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 0.9461/0.9461, allocations: 177.1 MB / 204.2 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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.03576/0.03576, allocations: 9.145 MB / 269.9 MB, free: 4.281 MB / 250.7 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.724e-06/1.724e-06, allocations: 4 kB / 342.5 MB, free: 7.316 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233e-05/1.406e-05, allocations: 2.312 kB / 342.5 MB, free: 7.312 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients): time 0.003101/0.003115, allocations: 3.363 MB / 345.9 MB, free: 3.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.004237, allocations: 0.9262 MB / 346.8 MB, free: 3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.004391, allocations: 15.81 kB / 346.8 MB, free: 2.984 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002604/0.004651, allocations: 103 kB / 346.9 MB, free: 2.883 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001417/0.004793, allocations: 47.53 kB / 347 MB, free: 2.836 MB / 266.7 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.0006676/0.00546, allocations: 322.8 kB / 347.3 MB, free: 2.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005196/0.00598, allocations: 0.6784 MB / 348 MB, free: 1.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002901/0.00627, allocations: 242.4 kB / 348.2 MB, free: 1.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003158/0.006586, allocations: 455.2 kB / 348.7 MB, free: 1.145 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002552/0.006841, allocations: 355.2 kB / 349 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.981e-05/0.006911, allocations: 75.94 kB / 349.1 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001987/0.00711, allocations: 191.7 kB / 349.3 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.007231, allocations: 227.3 kB / 349.5 MB, free: 320 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.007361, allocations: 231.4 kB / 349.7 MB, free: 88 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007305/0.008091, allocations: 0.8136 MB / 350.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.008094, allocations: 0 / 350.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.008094, allocations: 0 / 350.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.008107, allocations: 8 kB / 350.5 MB, free: 15.26 MB / 282.7 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.001633/0.00974, allocations: 1.502 MB / 352 MB, free: 13.67 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.009775, allocations: 12.03 kB / 352.1 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001742/0.00995, allocations: 132.5 kB / 352.2 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004339/0.01038, allocations: 423.9 kB / 352.6 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.348e-05/0.01043, allocations: 49.67 kB / 352.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.237e-05/0.01049, allocations: 68.36 kB / 352.7 MB, free: 12.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006678/0.01116, allocations: 0.6147 MB / 353.3 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.01117, allocations: 4.125 kB / 353.3 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.958e-05/0.01121, allocations: 32.36 kB / 353.4 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.01122, allocations: 16.38 kB / 353.4 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003433/0.01157, allocations: 221 kB / 353.6 MB, free: 12.03 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.01342, allocations: 2.526 MB / 356.1 MB, free: 9.422 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005964/0.01402, allocations: 454.1 kB / 356.6 MB, free: 8.891 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.01422, allocations: 157.7 kB / 356.7 MB, free: 8.707 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.811e-05/0.01426, allocations: 19.95 kB / 356.7 MB, free: 8.688 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005408/0.0148, allocations: 425.3 kB / 357.2 MB, free: 8.227 MB / 282.7 MB Notification: Performance of pre-optimization done (n=78): time 2.495e-06/0.0148, allocations: 0 / 357.2 MB, free: 8.227 MB / 282.7 MB Notification: Performance of matching and sorting (n=78): time 0.0009679/0.01577, allocations: 0.7497 MB / 357.9 MB, free: 7.473 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.01588, allocations: 265.8 kB / 358.2 MB, free: 7.164 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003175/0.01619, allocations: 486.4 kB / 358.6 MB, free: 6.676 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.9e-05/0.01625, allocations: 73.61 kB / 358.7 MB, free: 6.598 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.01641, allocations: 332 kB / 359 MB, free: 6.266 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.01655, allocations: 226.5 kB / 359.3 MB, free: 6.043 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/0.01678, allocations: 276.2 kB / 359.5 MB, free: 5.766 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.01695, allocations: 0.5859 MB / 360.1 MB, free: 5.168 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.0172, allocations: 237 kB / 360.3 MB, free: 4.91 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004082/0.01761, allocations: 0.6654 MB / 361 MB, free: 4.047 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008032/0.01841, allocations: 1.049 MB / 362.1 MB, free: 2.777 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.01842, allocations: 4 kB / 362.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0009601/0.01938, allocations: 0.9725 MB / 363 MB, free: 1.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.614e-05/0.01943, allocations: 122.8 kB / 363.2 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.01945, allocations: 12 kB / 363.2 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.01947, allocations: 12 kB / 363.2 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.01972, allocations: 152.4 kB / 363.3 MB, free: 1.434 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/0.01974, allocations: 27.92 kB / 363.4 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.01992, allocations: 95.39 kB / 363.4 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-05/0.01997, allocations: 44 kB / 363.5 MB, free: 1.27 MB / 282.7 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.0002832/0.02025, allocations: 362 kB / 363.8 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002262/0.02047, allocations: 79.66 kB / 363.9 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.421e-05/0.02053, allocations: 43.94 kB / 364 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.02054, allocations: 8 kB / 364 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.02055, allocations: 4 kB / 364 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.02055, allocations: 0 / 364 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.02182, allocations: 1.364 MB / 365.3 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.02183, allocations: 8 kB / 365.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.76e-05/0.02186, allocations: 15.92 kB / 365.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.02186, allocations: 7.938 kB / 365.4 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.02189, allocations: 23.98 kB / 365.4 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.02189, allocations: 7.984 kB / 365.4 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.02189, allocations: 0 / 365.4 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007759/0.02267, allocations: 0.9623 MB / 366.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.02271, allocations: 51.55 kB / 366.4 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.544e-05/0.02275, allocations: 27.91 kB / 366.4 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.02287, allocations: 19.97 kB / 366.5 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.754e-05/0.02293, allocations: 43.88 kB / 366.5 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.084e-05/0.02297, allocations: 31.98 kB / 366.5 MB, free: 14.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001359/0.02311, allocations: 243 kB / 366.8 MB, free: 13.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02311, allocations: 0 / 366.8 MB, free: 13.88 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005272/0.02364, allocations: 243.4 kB / 367 MB, free: 13.64 MB / 298.7 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.0009378/0.02458, allocations: 0.5276 MB / 367.5 MB, free: 13.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007495/0.02533, allocations: 0.8456 MB / 368.4 MB, free: 12.31 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.02533, allocations: 4 kB / 368.4 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002566/0.02559, allocations: 239.2 kB / 368.6 MB, free: 12.06 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.02601, allocations: 120.5 kB / 368.7 MB, free: 11.95 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.02717, allocations: 1.061 MB / 369.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.02729, allocations: 166.9 kB / 370 MB, free: 10.64 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.02741, allocations: 84.55 kB / 370 MB, free: 10.56 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.026e-05/0.02748, allocations: 40.48 kB / 370.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02748, allocations: 0 / 370.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of Templates: time 0.01114/0.03861, allocations: 9.417 MB / 379.5 MB, free: 1.238 MB / 298.7 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=240 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.0860285558737814]