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.001392/0.001392, allocations: 78.34 kB / 19.8 MB, free: 2.078 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.002408/0.002408, allocations: 160.3 kB / 23.04 MB, free: 4.984 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.489/1.489, allocations: 177.2 MB / 203.4 MB, free: 9.293 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.06064/0.06064, allocations: 9.161 MB / 269 MB, free: 8.039 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 0.00206/0.00206, allocations: 64.09 kB / 397.3 MB, free: 5.523 MB / 318.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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2936, allocations: 56.36 MB / 453.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients): time 0.004858/0.2985, allocations: 3.238 MB / 456.9 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.3, allocations: 0.8827 MB / 457.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/0.3002, allocations: 13.12 kB / 457.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003034/0.3005, allocations: 104 kB / 457.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001499/0.3006, allocations: 49.05 kB / 457.9 MB, free: 10.71 MB / 366.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.0007527/0.3014, allocations: 311.5 kB / 458.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006004/0.302, allocations: 0.667 MB / 458.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003766/0.3024, allocations: 243.5 kB / 459.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004644/0.3028, allocations: 484.9 kB / 459.6 MB, free: 9.906 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004358/0.3033, allocations: 403 kB / 460 MB, free: 9.711 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.3034, allocations: 71.12 kB / 460.1 MB, free: 9.711 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002994/0.3037, allocations: 187.7 kB / 460.2 MB, free: 9.672 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002172/0.3039, allocations: 223.9 kB / 460.5 MB, free: 9.555 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002602/0.3042, allocations: 280.9 kB / 460.7 MB, free: 9.387 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.3052, allocations: 1.047 MB / 461.8 MB, free: 8.977 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3052, allocations: 0 / 461.8 MB, free: 8.977 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3052, allocations: 3.938 kB / 461.8 MB, free: 8.973 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.3052, allocations: 0 / 461.8 MB, free: 8.973 MB / 366.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.002126/0.3073, allocations: 1.425 MB / 463.2 MB, free: 8.023 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.3074, allocations: 9.375 kB / 463.2 MB, free: 8.023 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.3076, allocations: 92.5 kB / 463.3 MB, free: 7.977 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007046/0.3083, allocations: 450.9 kB / 463.8 MB, free: 7.715 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.618e-05/0.3083, allocations: 50.03 kB / 463.8 MB, free: 7.695 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.3085, allocations: 68.73 kB / 463.9 MB, free: 7.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.31, allocations: 0.9465 MB / 464.8 MB, free: 7.309 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.31, allocations: 2.359 kB / 464.8 MB, free: 7.309 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-05/0.3101, allocations: 30.47 kB / 464.9 MB, free: 7.289 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.3101, allocations: 19.86 kB / 464.9 MB, free: 7.285 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009845/0.3111, allocations: 0.6155 MB / 465.5 MB, free: 7.117 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002438/0.3135, allocations: 2.035 MB / 467.5 MB, free: 5.688 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.3146, allocations: 0.7155 MB / 468.2 MB, free: 5.355 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005027/0.3151, allocations: 372.3 kB / 468.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.297e-05/0.3152, allocations: 16.33 kB / 468.6 MB, free: 5.199 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008042/0.316, allocations: 0.581 MB / 469.2 MB, free: 4.957 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.915e-06/0.316, allocations: 0 / 469.2 MB, free: 4.957 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.002192/0.3182, allocations: 1.39 MB / 470.6 MB, free: 4.559 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.3183, allocations: 266.2 kB / 470.8 MB, free: 4.297 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004992/0.3188, allocations: 432 kB / 471.3 MB, free: 4.078 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.002e-05/0.3189, allocations: 73.55 kB / 471.3 MB, free: 4.035 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.319, allocations: 283.6 kB / 471.6 MB, free: 3.809 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.3192, allocations: 199.7 kB / 471.8 MB, free: 3.664 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002906/0.3195, allocations: 221.1 kB / 472 MB, free: 3.578 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.3196, allocations: 385.3 kB / 472.4 MB, free: 3.223 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006143/0.3202, allocations: 498.9 kB / 472.9 MB, free: 2.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006889/0.3209, allocations: 0.7829 MB / 473.7 MB, free: 2.219 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/0.3225, allocations: 1.659 MB / 475.3 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.3225, allocations: 2.531 kB / 475.3 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002108/0.3247, allocations: 1.498 MB / 476.8 MB, free: 64 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.3248, allocations: 121.3 kB / 477 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.809e-05/0.3248, allocations: 9.906 kB / 477 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.363e-05/0.3248, allocations: 14.03 kB / 477 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003808/0.3252, allocations: 122.5 kB / 477.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.681e-05/0.3253, allocations: 21.02 kB / 477.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004047/0.3257, allocations: 91.81 kB / 477.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.637e-05/0.3257, allocations: 44.75 kB / 477.3 MB, free: 15.82 MB / 382.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.000814/0.3265, allocations: 482 kB / 477.7 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.3267, allocations: 53.95 kB / 477.8 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.3268, allocations: 46.33 kB / 477.8 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.3268, allocations: 7.031 kB / 477.8 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.789e-05/0.3268, allocations: 10.95 kB / 477.8 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.3268, allocations: 5.25 kB / 477.8 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002678/0.3295, allocations: 1.622 MB / 479.5 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.3295, allocations: 2.875 kB / 479.5 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.707e-05/0.3296, allocations: 15.56 kB / 479.5 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.3296, allocations: 4.594 kB / 479.5 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.051e-05/0.3296, allocations: 21.16 kB / 479.5 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.3296, allocations: 8.625 kB / 479.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3296, allocations: 1.312 kB / 479.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/0.3315, allocations: 1.262 MB / 480.8 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.249e-05/0.3315, allocations: 59.66 kB / 480.8 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.12e-05/0.3316, allocations: 21.08 kB / 480.9 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.3319, allocations: 19.12 kB / 480.9 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.332, allocations: 42.81 kB / 480.9 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-05/0.332, allocations: 34.91 kB / 481 MB, free: 13.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002864/0.3323, allocations: 236.7 kB / 481.2 MB, free: 13.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3323, allocations: 0 / 481.2 MB, free: 13.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001066/0.3334, allocations: 256.2 kB / 481.4 MB, free: 13.41 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.001316/0.3347, allocations: 0.5043 MB / 481.9 MB, free: 13.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002292/0.337, allocations: 1.295 MB / 483.2 MB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.337, allocations: 1.375 kB / 483.2 MB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007543/0.3378, allocations: 387.7 kB / 483.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007602/0.3385, allocations: 89.52 kB / 483.7 MB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00264/0.3412, allocations: 1.32 MB / 485 MB, free: 10.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.3416, allocations: 376.7 kB / 485.4 MB, free: 10.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002561/0.3419, allocations: 108.8 kB / 485.5 MB, free: 10.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.342, allocations: 36.5 kB / 485.5 MB, free: 10.09 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.342, allocations: 11.88 kB / 485.5 MB, free: 10.08 MB / 382.1 MB Notification: Performance of Templates: time 0.0187/0.3607, allocations: 9.406 MB / 494.9 MB, free: 0.8125 MB / 382.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.839653719216585] Failed to read output from testmodel.py, exit status != 0: 0.36922697722911835 0.38429352800000005 0.07589374 Calling exit ...