Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT.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.000681/0.000681, allocations: 72.27 kB / 9.855 MB, free: 0.8438 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009602/0.001641, allocations: 447.7 kB / 10.29 MB, free: 416 kB / 10.45 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.0007115/0.0007115, allocations: 153.9 kB / 11.18 MB, free: 2.996 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00091/0.001622, allocations: 472.2 kB / 11.64 MB, free: 2.531 MB / 13.93 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.8658/0.8658, allocations: 177.1 MB / 189.5 MB, free: 3.781 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1355/1.001, allocations: 53.66 MB / 243.2 MB, free: 2.359 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo): time 0.0367/0.0367, allocations: 9.17 MB / 253.1 MB, free: 8.918 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 NFInstanceAPI.mkTop(): time 0.005237/0.04194, allocations: 3.446 MB / 256.5 MB, free: 5.473 MB / 250.7 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_MQTT",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_MQTT",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 257.8 MB, free: 4.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119e-05/1.24e-05, allocations: 2.312 kB / 257.8 MB, free: 4.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT): time 0.003509/0.003522, allocations: 3.305 MB / 261.1 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.004841, allocations: 1.004 MB / 262.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.004967, allocations: 11.88 kB / 262.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.005153, allocations: 118.8 kB / 262.2 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.005329, allocations: 119.2 kB / 262.3 MB, free: 15.64 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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.2.0-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.2.0-master/Blocks/Communication.mo:1294:7-1306:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendToMQTT' contains a call to impure function 'Modelica_DeviceDrivers.Communication.MQTT_.sendTo'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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.2.0-master/Blocks/Communication.mo:1284:7-1292:19:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readMQTT' contains a call to impure function 'Modelica_DeviceDrivers.Communication.MQTT_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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.2.0-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.2.0-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.2.0-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.0005263/0.005855, allocations: 282.9 kB / 262.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003602/0.006215, allocations: 494.5 kB / 263.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.006402, allocations: 142.3 kB / 263.2 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002763/0.006679, allocations: 387.7 kB / 263.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.006886, allocations: 235.3 kB / 263.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.812e-05/0.006944, allocations: 52 kB / 263.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002709/0.007215, allocations: 231.6 kB / 264.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.007336, allocations: 147.5 kB / 264.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.007447, allocations: 119.7 kB / 264.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005312/0.007978, allocations: 0.5565 MB / 264.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.007986, allocations: 0 / 264.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.007986, allocations: 0 / 264.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.007998, allocations: 0 / 264.9 MB, free: 13.04 MB / 266.7 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 mqttSend.pkgIn.pkg = addInteger.pkgOut[1].pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg mqttReceive.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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001018/0.009016, allocations: 1.096 MB / 266 MB, free: 11.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.009048, allocations: 8.625 kB / 266 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.423e-05/0.009103, allocations: 86.64 kB / 266.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.253e-05/0.009185, allocations: 68.86 kB / 266.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.009439, allocations: 265.4 kB / 266.4 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.00947, allocations: 37.36 kB / 266.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.009502, allocations: 36.38 kB / 266.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003454/0.009847, allocations: 355.5 kB / 266.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.009858, allocations: 192 / 266.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.009879, allocations: 20.36 kB / 266.9 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.009889, allocations: 16.12 kB / 266.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.01002, allocations: 108.6 kB / 267 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000882/0.0109, allocations: 1.059 MB / 268.1 MB, free: 9.711 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.01114, allocations: 262 kB / 268.3 MB, free: 9.418 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.361e-05/0.01121, allocations: 63.17 kB / 268.4 MB, free: 9.348 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.01123, allocations: 11.98 kB / 268.4 MB, free: 9.336 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.01139, allocations: 195.4 kB / 268.6 MB, free: 9.117 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.293e-06/0.01139, allocations: 0 / 268.6 MB, free: 9.117 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.0002996/0.01169, allocations: 237.8 kB / 268.8 MB, free: 8.879 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.01175, allocations: 152.5 kB / 269 MB, free: 8.699 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.012, allocations: 371.5 kB / 269.3 MB, free: 8.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.01202, allocations: 41.7 kB / 269.4 MB, free: 8.273 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.01218, allocations: 221.6 kB / 269.6 MB, free: 8.055 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.479e-05/0.01223, allocations: 99.23 kB / 269.7 MB, free: 7.957 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.01233, allocations: 114.1 kB / 269.8 MB, free: 7.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.789e-05/0.01242, allocations: 362.7 kB / 270.1 MB, free: 7.477 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.385e-05/0.01249, allocations: 36.98 kB / 270.2 MB, free: 7.438 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.01263, allocations: 241.8 kB / 270.4 MB, free: 7.117 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.0129, allocations: 359.2 kB / 270.8 MB, free: 6.676 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.0129, allocations: 0 / 270.8 MB, free: 6.676 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0003164/0.01322, allocations: 313.5 kB / 271.1 MB, free: 6.363 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.01323, allocations: 8 kB / 271.1 MB, free: 6.355 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.01324, allocations: 12.06 kB / 271.1 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.01325, allocations: 8 kB / 271.1 MB, free: 6.336 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.01344, allocations: 111.8 kB / 271.2 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.01345, allocations: 12 kB / 271.2 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.01356, allocations: 43.67 kB / 271.3 MB, free: 6.172 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.01358, allocations: 19.98 kB / 271.3 MB, free: 6.152 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 54 (addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,mqttSend.dummy,$PRE.mqttSend.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,mqttReceive.pkgOut.dummy,$PRE.mqttReceive.pkgOut.dummy,getFloat.pkgOut[1].trigger,$whenCondition1,getInteger.pkgIn.backwardTrigger,getInteger.pkgIn.userPkgBitSize,getFloat.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,mqttReceive.bufferSize,addFloat.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,mqttSend.pkgIn.autoPkgBitSize,mqttSend.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,mqttSend.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.0001306/0.01371, allocations: 185.7 kB / 271.5 MB, free: 5.961 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.01375, allocations: 43.89 kB / 271.5 MB, free: 5.918 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001565/0.01391, allocations: 108.5 kB / 271.6 MB, free: 5.797 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.01392, allocations: 7.984 kB / 271.6 MB, free: 5.789 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.01392, allocations: 3.938 kB / 271.6 MB, free: 5.785 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.01392, allocations: 48 / 271.6 MB, free: 5.785 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006145/0.01454, allocations: 0.6998 MB / 272.3 MB, free: 5.047 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.01454, allocations: 0 / 272.3 MB, free: 5.047 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.182e-05/0.01458, allocations: 15.98 kB / 272.3 MB, free: 5.031 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.01458, allocations: 4 kB / 272.3 MB, free: 5.027 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.0146, allocations: 11.98 kB / 272.4 MB, free: 5.016 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.0146, allocations: 4 kB / 272.4 MB, free: 5.012 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.01461, allocations: 0 / 272.4 MB, free: 5.012 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004304/0.01504, allocations: 471.2 kB / 272.8 MB, free: 4.527 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.643e-05/0.01506, allocations: 35.7 kB / 272.9 MB, free: 4.492 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.01509, allocations: 11.98 kB / 272.9 MB, free: 4.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.257e-05/0.01517, allocations: 7.984 kB / 272.9 MB, free: 4.473 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.0152, allocations: 19.97 kB / 272.9 MB, free: 4.453 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.01522, allocations: 11.98 kB / 272.9 MB, free: 4.441 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.691e-05/0.01531, allocations: 120.5 kB / 273 MB, free: 4.324 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01531, allocations: 4 kB / 273 MB, free: 4.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003918/0.0157, allocations: 179.4 kB / 273.2 MB, free: 4.145 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 35 (getFloat.pkgOut[1].trigger,$whenCondition1,mqttReceive.pkgOut.dummy,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,mqttReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,addFloat.pkgOut[1].trigger,$whenCondition2,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,mqttSend.bufferSize,mqttSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],addFloat.pkgOut[1].dummy,addFloat.pkgOut[1].backwardTrigger,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,mqttSend.pkgIn.userPkgBitSize,mqttSend.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.001445/0.01715, allocations: 1.384 MB / 274.6 MB, free: 2.926 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002511/0.0174, allocations: 214.4 kB / 274.8 MB, free: 2.719 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.0174, allocations: 4 kB / 274.8 MB, free: 2.715 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.01751, allocations: 81.06 kB / 274.9 MB, free: 2.633 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.01788, allocations: 145.4 kB / 275 MB, free: 2.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.01989, allocations: 2.283 MB / 277.3 MB, free: 60 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.343e-05/0.01997, allocations: 117.3 kB / 277.4 MB, free: 15.92 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.02007, allocations: 46.94 kB / 277.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002394/0.02031, allocations: 227.2 kB / 277.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02031, allocations: 0 / 277.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of FMU documentation: time 0.03142/0.05174, allocations: 13.84 MB / 291.5 MB, free: 1.969 MB / 282.7 MB Notification: FMU-only work: backend 0.0003119, simCode 0.001005, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06163/0.1134, allocations: 1.801 MB / 293.3 MB, free: 15.98 MB / 298.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 2.71/2.824, allocations: 19.27 kB / 293.4 MB, free: 15.96 MB / 298.7 MB " [Timeout remaining time 657] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_MQTT_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_MQTT.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT.pipe 2>&1) [Timeout 252.0] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_MQTT_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_MQTT_OMSimulator-cs-cvode.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT_OMSimulator-cs-euler.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_MQTT_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_MQTT_OMSimulator-cs-euler.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT_fmpy.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT_fmpy.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT_fmpy_res.csv --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_MQTT.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT_fmpy.pipe 2>&1) [Timeout 252.0] fmpy timed out simulating the FMU (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.002 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_MQTT_fmpy-fmi3-cs-cvode.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] [Calling sys.exit(0), Time elapsed: 24.236122033558786]