Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 107.1 kB / 17.12 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 200.5 kB / 20.07 MB, free: 2.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 222.9 MB / 245.8 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.1736/0.1736, allocations: 12.01 MB / 310 MB, free: 1.48 MB / 238.1 MB " [Timeout remaining time 180] 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_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.89 kB / 428.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2411, allocations: 52.33 MB / 480.6 MB, free: 17.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP): time 0.004081/0.2452, allocations: 2.872 MB / 483.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.2468, allocations: 0.9032 MB / 484.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002079/0.247, allocations: 13.59 kB / 484.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002634/0.2473, allocations: 79.02 kB / 484.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.2475, allocations: 59.36 kB / 484.5 MB, free: 14.77 MB / 350.1 MB [/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:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:1183:7-1194:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendToUDP' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.sendTo'. [/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/Communication.mo:1170:7-1181:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readUDP' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:74:7-84:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. [/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:41:7-50:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addRealAsFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addRealAsFloat'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:86:7-96:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getRealFromFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getRealFromFloat'. Notification: Performance of NFTyping.typeClassSections: time 0.0007043/0.2482, allocations: 286 kB / 484.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004103/0.2487, allocations: 404.7 kB / 485.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003309/0.249, allocations: 248 kB / 485.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.2492, allocations: 198.3 kB / 485.7 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.2495, allocations: 230 kB / 485.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.042e-05/0.2495, allocations: 46.53 kB / 485.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003389/0.2499, allocations: 196 kB / 486.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.25, allocations: 147.2 kB / 486.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.2502, allocations: 220.6 kB / 486.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007147/0.2509, allocations: 0.6712 MB / 487.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.2509, allocations: 0 / 487.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2509, allocations: 0 / 487.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.2509, allocations: 5.047 kB / 487.2 MB, free: 13.04 MB / 350.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getFloat.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addFloat.pkgIn.pkg getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg getInteger.pkgIn.pkg = getFloat.pkgOut[1].pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg uDPSend.pkgIn.pkg = addInteger.pkgOut[1].pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.pkgIn.pkg packager.pkgOut.pkg = addReal.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.0014/0.2524, allocations: 1.157 MB / 488.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.2524, allocations: 12.62 kB / 488.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.157e-05/0.2525, allocations: 86.62 kB / 488.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.2526, allocations: 51.89 kB / 488.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.2529, allocations: 333.4 kB / 488.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.103e-05/0.2529, allocations: 30.48 kB / 488.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.873e-05/0.253, allocations: 43.28 kB / 488.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006622/0.2537, allocations: 483.2 kB / 489.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.2537, allocations: 3.938 kB / 489.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.607e-05/0.2537, allocations: 20.52 kB / 489.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.2537, allocations: 10.12 kB / 489.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004147/0.2542, allocations: 262 kB / 489.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.2554, allocations: 1.361 MB / 491 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004801/0.2559, allocations: 299.5 kB / 491.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.2561, allocations: 164.1 kB / 491.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.2562, allocations: 7.562 kB / 491.4 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003126/0.2565, allocations: 258.1 kB / 491.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.044e-06/0.2565, allocations: 0 / 491.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.0009948/0.2575, allocations: 0.5934 MB / 492.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/0.2576, allocations: 158.7 kB / 492.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.2578, allocations: 237.2 kB / 492.7 MB, free: 8.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.2578, allocations: 45.53 kB / 492.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.09e-05/0.2579, allocations: 215 kB / 492.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.818e-05/0.258, allocations: 108.6 kB / 493 MB, free: 8.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.2582, allocations: 122.4 kB / 493.2 MB, free: 8.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.907e-05/0.2582, allocations: 346.5 kB / 493.5 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.2584, allocations: 124.5 kB / 493.6 MB, free: 7.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.2587, allocations: 333.7 kB / 493.9 MB, free: 7.633 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000515/0.2592, allocations: 0.4911 MB / 494.4 MB, free: 7.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.2592, allocations: 2.219 kB / 494.4 MB, free: 7.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007014/0.2599, allocations: 0.5097 MB / 494.9 MB, free: 6.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.26, allocations: 7.688 kB / 494.9 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.26, allocations: 6.422 kB / 495 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.26, allocations: 11.5 kB / 495 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/0.2603, allocations: 80.95 kB / 495 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/0.2603, allocations: 13.66 kB / 495.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.2605, allocations: 39.83 kB / 495.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.2605, allocations: 32.86 kB / 495.1 MB, free: 6.871 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 58 (addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,uDPSend.dummy,$PRE.uDPSend.dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addFloat.pkgOut[1].backwardTrigger,addFloat.pkgOut[1].trigger,$whenCondition2,addInteger.u[1],getFloat.dummy,$PRE.getFloat.dummy,getFloat.y[2],$PRE.getFloat.y[2],getFloat.y[1],$PRE.getFloat.y[1],getFloat.pkgOut[1].dummy,$PRE.getFloat.pkgOut[1].dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getReal.dummy,$PRE.getReal.dummy,getReal.y[3],$PRE.getReal.y[3],getReal.y[2],$PRE.getReal.y[2],getReal.y[1],$PRE.getReal.y[1],getReal.pkgOut[1].dummy,$PRE.getReal.pkgOut[1].dummy,uDPReceive.nRecvbufOverwrites,$PRE.uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,$PRE.uDPReceive.nRecvBytes,uDPReceive.pkgOut.dummy,$PRE.uDPReceive.pkgOut.dummy,getFloat.pkgOut[1].trigger,$whenCondition1,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,getFloat.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,uDPReceive.bufferSize,addFloat.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,uDPSend.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002474/0.2608, allocations: 244.2 kB / 495.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.388e-05/0.2609, allocations: 29.84 kB / 495.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003641/0.2612, allocations: 242.3 kB / 495.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.2612, allocations: 5.844 kB / 495.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.2613, allocations: 4 kB / 495.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.2613, allocations: 6.984 kB / 495.7 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.2624, allocations: 1.031 MB / 496.7 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.2624, allocations: 0.7188 kB / 496.7 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.286e-05/0.2624, allocations: 18.48 kB / 496.7 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.2625, allocations: 2.938 kB / 496.7 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.2625, allocations: 16.89 kB / 496.7 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.2625, allocations: 2.188 kB / 496.7 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2625, allocations: 4.875 kB / 496.7 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007442/0.2633, allocations: 0.6591 MB / 497.4 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.291e-05/0.2633, allocations: 104.5 kB / 497.5 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/0.2634, allocations: 19.58 kB / 497.5 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.2635, allocations: 3.281 kB / 497.5 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.2636, allocations: 26.03 kB / 497.5 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.65e-05/0.2636, allocations: 19.17 kB / 497.6 MB, free: 5.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.42e-05/0.2637, allocations: 134.5 kB / 497.7 MB, free: 5.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2637, allocations: 0 / 497.7 MB, free: 5.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006155/0.2643, allocations: 157.1 kB / 497.8 MB, free: 5.012 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 37 (getFloat.pkgOut[1].trigger,$whenCondition1,uDPReceive.pkgOut.dummy,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,addFloat.pkgOut[1].trigger,$whenCondition2,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,uDPSend.bufferSize,uDPSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],addFloat.pkgOut[1].dummy,addFloat.pkgOut[1].backwardTrigger,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 23 * 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.001435/0.2658, allocations: 1.448 MB / 499.3 MB, free: 3.629 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005579/0.2663, allocations: 372.9 kB / 499.7 MB, free: 3.266 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2664, allocations: 0 / 499.7 MB, free: 3.266 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.2666, allocations: 171.8 kB / 499.8 MB, free: 3.098 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005895/0.2672, allocations: 85.44 kB / 499.9 MB, free: 3.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003483/0.2707, allocations: 3.531 MB / 0.4916 GB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004957/0.2712, allocations: 0.8112 MB / 0.4924 GB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001676/0.2714, allocations: 58.92 kB / 0.4925 GB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.2715, allocations: 115.4 kB / 0.4926 GB, free: 14.19 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2715, allocations: 0 / 0.4926 GB, free: 14.19 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0326/0.3041, allocations: 8.42 MB / 0.5008 GB, free: 5.957 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.432/8.736, allocations: 15.33 kB / 0.5008 GB, free: 5.941 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP.sim & python3 -m fmpy simulate --output-file Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDP.fmu > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.511937340022996] Failed to read output from testmodel.py, exit status != 0: 8.833167681004852 8.852765205 8.599224756 Calling exit ...