Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001051/0.001051, allocations: 119.7 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00102/0.00102, allocations: 205 kB / 19.42 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.712e-05, allocations: 2.281 kB / 359.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2933/0.2933, allocations: 65.72 MB / 425.1 MB, free: 8.465 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006847/0.3002, allocations: 5.456 MB / 430.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003471/0.3006, allocations: 11.94 kB / 430.5 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.3017, allocations: 353.9 kB / 430.9 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008294/0.3025, allocations: 0.5049 MB / 431.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02433/0.3269, allocations: 7.439 MB / 438.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002529/0.3294, allocations: 1.617 MB / 440.4 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003928/0.3298, allocations: 239.7 kB / 440.7 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009988/0.3308, allocations: 0.6347 MB / 441.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005882/0.3314, allocations: 0.5059 MB / 441.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.3315, allocations: 84 kB / 441.9 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01964/0.3512, allocations: 10.02 MB / 451.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.001399/0.3526, allocations: 1.228 MB / 453.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005045/0.3532, allocations: 0.7256 MB / 453.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002373/0.3534, allocations: 139.7 kB / 454 MB, free: 11.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.0001889/0.3536, allocations: 15.94 kB / 454 MB, free: 11.65 MB / 366.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.003413/0.357, allocations: 3.657 MB / 457.7 MB, free: 7.844 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.0004712/0.3575, allocations: 434 kB / 458.1 MB, free: 7.43 MB / 366.1 MB Notification: Performance of Early Inline: time 0.002284/0.3598, allocations: 2.304 MB / 460.4 MB, free: 5.086 MB / 366.1 MB Notification: Performance of simplify1: time 0.0002196/0.36, allocations: 175.8 kB / 460.6 MB, free: 4.914 MB / 366.1 MB Notification: Performance of Alias: time 0.003264/0.3633, allocations: 2.989 MB / 463.6 MB, free: 1.605 MB / 366.1 MB Notification: Performance of simplify2: time 0.0001739/0.3635, allocations: 155.8 kB / 463.7 MB, free: 1.453 MB / 366.1 MB Notification: Performance of Events: time 0.0003379/0.3638, allocations: 279.6 kB / 464 MB, free: 1.168 MB / 366.1 MB Notification: Performance of Detect States: time 0.0005719/0.3644, allocations: 0.6039 MB / 464.6 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0008795/0.3653, allocations: 0.8685 MB / 465.5 MB, free: 15.61 MB / 382.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)