Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001139/0.001139, allocations: 106.4 kB / 18.41 MB, free: 4.555 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.001088/0.001089, allocations: 192.3 kB / 19.35 MB, free: 3.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.677e-05, allocations: 2.281 kB / 329.2 MB, free: 3.34 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.3107/0.3107, allocations: 65.72 MB / 394.9 MB, free: 9.961 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007376/0.3181, allocations: 5.468 MB / 400.4 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00033/0.3185, allocations: 9 kB / 400.4 MB, free: 9.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.3196, allocations: 353.5 kB / 400.7 MB, free: 9.836 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009572/0.3206, allocations: 0.5112 MB / 401.2 MB, free: 9.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02044/0.3411, allocations: 7.077 MB / 408.3 MB, free: 9.539 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002665/0.3438, allocations: 1.62 MB / 409.9 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00039/0.3442, allocations: 245.6 kB / 410.2 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009596/0.3451, allocations: 0.6335 MB / 410.8 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005885/0.3457, allocations: 0.4976 MB / 411.3 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.3459, allocations: 84.16 kB / 411.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01893/0.3648, allocations: 9.882 MB / 421.3 MB, free: 4.453 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.001528/0.3664, allocations: 1.245 MB / 422.5 MB, free: 3.543 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003783/0.3668, allocations: 0.7269 MB / 423.2 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.367, allocations: 139.7 kB / 423.4 MB, free: 2.699 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001801/0.3672, allocations: 15.94 kB / 423.4 MB, free: 2.684 MB / 318.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.002953/0.3701, allocations: 3.64 MB / 427 MB, free: 14.96 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0004866/0.3706, allocations: 415.8 kB / 427.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of Early Inline: time 0.002389/0.373, allocations: 2.319 MB / 429.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simplify1: time 0.0002124/0.3732, allocations: 179.4 kB / 429.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of Alias: time 0.003434/0.3767, allocations: 2.976 MB / 432.9 MB, free: 8.836 MB / 334.1 MB Notification: Performance of simplify2: time 0.0001976/0.3769, allocations: 156.3 kB / 433.1 MB, free: 8.691 MB / 334.1 MB Notification: Performance of Events: time 0.0003983/0.3773, allocations: 291.4 kB / 433.3 MB, free: 8.406 MB / 334.1 MB Notification: Performance of Detect States: time 0.0006765/0.378, allocations: 0.6104 MB / 434 MB, free: 7.797 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0009818/0.379, allocations: 0.8656 MB / 434.8 MB, free: 6.859 MB / 334.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)