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.001355/0.001355, allocations: 104.3 kB / 20.56 MB, free: 1.262 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.001653/0.001653, allocations: 218.7 kB / 23.86 MB, free: 4.414 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.509/1.509, allocations: 230.6 MB / 257.6 MB, free: 7.742 MB / 206.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.07533/0.07533, allocations: 12.23 MB / 326.3 MB, free: 7.012 MB / 254.1 MB " [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_MQTT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.23e-05, allocations: 2.281 kB / 454.6 MB, free: 8.336 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT): time 0.005423/0.005446, allocations: 3.173 MB / 457.8 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.007397, allocations: 0.9499 MB / 458.7 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.007535, allocations: 11.88 kB / 458.7 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003653/0.0079, allocations: 111 kB / 458.9 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.008208, allocations: 115.2 kB / 459 MB, free: 3.957 MB / 318.1 MB [/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: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 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 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/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 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 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: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 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.0007733/0.008982, allocations: 287.2 kB / 459.2 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006858/0.009668, allocations: 0.5923 MB / 459.8 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000314/0.009982, allocations: 129.9 kB / 460 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003/0.01028, allocations: 275.1 kB / 460.2 MB, free: 2.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000319/0.0106, allocations: 266.7 kB / 460.5 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.843e-05/0.01069, allocations: 56 kB / 460.6 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003555/0.01104, allocations: 227.8 kB / 460.8 MB, free: 2.145 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.001007/0.01205, allocations: 1.211 MB / 462 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005183/0.01257, allocations: 0.7058 MB / 462.7 MB, free: 212 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.097e-05/0.01263, allocations: 24 kB / 462.7 MB, free: 188 kB / 318.1 MB Notification: Performance of FrontEnd: time 8.928e-05/0.01272, allocations: 39.62 kB / 462.8 MB, free: 148 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 (105) * Number of variables: 105 (96) Notification: Performance of [SIM] Bindings: time 0.002672/0.01539, allocations: 2.367 MB / 465.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0005821/0.01597, allocations: 472.7 kB / 465.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.001458/0.01743, allocations: 1.343 MB / 466.9 MB, free: 11.72 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003895/0.01782, allocations: 240.2 kB / 467.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.002117/0.01994, allocations: 1.456 MB / 468.6 MB, free: 9.809 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003256/0.02026, allocations: 221.5 kB / 468.8 MB, free: 9.543 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001947/0.02046, allocations: 150.9 kB / 469 MB, free: 9.367 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.0006922/0.02115, allocations: 0.5004 MB / 469.5 MB, free: 8.809 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0001012/0.02125, allocations: 46.52 kB / 469.5 MB, free: 8.762 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.0008585/0.02211, allocations: 0.7118 MB / 470.2 MB, free: 7.914 MB / 334.1 MB Error: Internal error NBResolveSingularities.indexReduction failed because there was not enough state candidates to balance out the constraint equations. Constraint Equations (1/1) **************************** (1) [RECD] (1) packager.pkgOut.pkg = addReal.pkgIn.pkg ($RES_SIM_90) State Candidate Variables (0/0) ********************************* " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.6124363789567724] Failed to read output from testmodel.py, exit status != 0: 0.030595193966291845 0.04601017 0.029039165000000002 Calling exit ...