Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 115.3 kB / 17.75 MB, free: 5.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 189.9 kB / 18.68 MB, free: 4.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.158/1.158, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.859e-06/9.859e-06, allocations: 2.281 kB / 352 MB, free: 3.277 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.1845/0.1845, allocations: 65.56 MB / 417.5 MB, free: 24 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006031/0.1906, allocations: 5.458 MB / 423 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000249/0.1908, allocations: 5.469 kB / 423 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008811/0.1917, allocations: 353.2 kB / 423.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007246/0.1925, allocations: 0.5101 MB / 423.8 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0166/0.2091, allocations: 7.428 MB / 431.3 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001766/0.2109, allocations: 1.625 MB / 432.9 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003182/0.2112, allocations: 239.6 kB / 433.1 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007151/0.2119, allocations: 0.6269 MB / 433.7 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005313/0.2125, allocations: 0.5137 MB / 434.3 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.2126, allocations: 80 kB / 434.3 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01489/0.2275, allocations: 9.996 MB / 444.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.001137/0.2287, allocations: 1.232 MB / 445.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004495/0.2291, allocations: 0.7354 MB / 446.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.2293, allocations: 131.7 kB / 446.4 MB, free: 4.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0001342/0.2294, allocations: 15.94 kB / 446.4 MB, free: 4.664 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 (150) * Number of variables: 154 (146) Notification: Performance of Bindings: time 0.003039/0.2325, allocations: 3.65 MB / 450.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0004145/0.2329, allocations: 435.9 kB / 450.5 MB, free: 468 kB / 350.1 MB Notification: Performance of Early Inline: time 0.002094/0.235, allocations: 2.309 MB / 452.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simplify1: time 0.0001792/0.2352, allocations: 179.8 kB / 453 MB, free: 13.93 MB / 366.1 MB Notification: Performance of Alias: time 0.002972/0.2382, allocations: 2.977 MB / 456 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simplify2: time 0.0001463/0.2383, allocations: 151.8 kB / 456.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of Events: time 0.0003089/0.2386, allocations: 283.5 kB / 456.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of Detect States: time 0.0005299/0.2392, allocations: 0.6051 MB / 457 MB, free: 9.57 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0008116/0.24, allocations: 0.8763 MB / 457.9 MB, free: 8.613 MB / 366.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 2 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: volume.medium.Xi. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) volume.medium.h = Modelica.Media.Air.ReferenceMoistAir.Utilities.h_pTX(99999.99999999999 * volume.medium.p_bar, -((-273.15) - volume.medium.T_degC), {volume.medium.Xi[1], 1.0 - sum(volume.medium.Xi)}) ($RES_SIM_132)