Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.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.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001189/0.001193, allocations: 119.7 kB / 18.48 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001198/0.001198, allocations: 209 kB / 19.42 MB, free: 3.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.213/1.213, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/1.879e-05, allocations: 4.672 kB / 359.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2969/0.2969, allocations: 152.2 MB / 0.4995 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00283/0.2998, allocations: 2.551 MB / 0.502 GB, free: 15.49 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.101e-05/0.2999, allocations: 0 / 0.502 GB, free: 15.49 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.3, allocations: 23.83 kB / 0.502 GB, free: 15.46 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008968/0.3009, allocations: 338.2 kB / 0.5024 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.3012, allocations: 63.47 kB / 0.5024 GB, free: 15.08 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.3013, allocations: 119.3 kB / 0.5025 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.142e-05/0.3014, allocations: 4.984 kB / 0.5025 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.3015, allocations: 43.84 kB / 0.5026 GB, free: 14.92 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.634e-05/0.3016, allocations: 35.8 kB / 0.5026 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.3016, allocations: 4 kB / 0.5026 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000701/0.3023, allocations: 367.5 kB / 0.503 GB, free: 14.52 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.0001303/0.3024, allocations: 141 kB / 0.5031 GB, free: 14.38 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 5.476e-05/0.3025, allocations: 94.66 kB / 0.5032 GB, free: 14.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.3025, allocations: 8 kB / 0.5032 GB, free: 14.28 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.27e-05/0.3026, allocations: 4 kB / 0.5032 GB, free: 14.28 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 (16) * Number of variables: 17 (17) Notification: Performance of Bindings: time 0.0005432/0.3031, allocations: 0.494 MB / 0.5037 GB, free: 13.68 MB / 430.1 MB Notification: Performance of FunctionAlias: time 3.345e-05/0.3031, allocations: 23.81 kB / 0.5037 GB, free: 13.66 MB / 430.1 MB Notification: Performance of Early Inline: time 0.001029/0.3042, allocations: 0.9264 MB / 0.5046 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simplify1: time 0.0001027/0.3043, allocations: 95.91 kB / 0.5047 GB, free: 12.61 MB / 430.1 MB Notification: Performance of Alias: time 0.0004379/0.3047, allocations: 302.8 kB / 0.505 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simplify2: time 0.0001005/0.3049, allocations: 107.8 kB / 0.5051 GB, free: 12.17 MB / 430.1 MB Notification: Performance of Events: time 0.0001678/0.305, allocations: 111.8 kB / 0.5052 GB, free: 12.06 MB / 430.1 MB Notification: Performance of Detect States: time 0.000231/0.3053, allocations: 178.8 kB / 0.5054 GB, free: 11.88 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0001968/0.3055, allocations: 160 kB / 0.5055 GB, free: 11.71 MB / 430.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 2 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: state.T. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) h_is = Modelica.Media.IdealGases.Common.Functions.h_T(Modelica.Media.IdealGases.Common.DataRecord("H2O", 0.01801528, -1.342338281725291e7, 549760.6476280135, 1000.0, {-39479.6083, 575.573102, 0.931782653, 0.00722271286, -7.34255737e-6, 4.95504349e-9, -1.336933246e-12}, {-33039.7431, 17.24205775}, {1.034972096e6, -2412.698562, 4.64611078, 0.002291998307, -6.836830479999999e-7, 9.426468930000001e-11, -4.82238053e-15}, {-13842.86509, -7.97814851}, 461.5254384056201), state.T, true, Modelica.Media.Interfaces.Choices.ReferenceEnthalpy.ZeroAt0K, 0.0) + ((state.p * ((Modelica.Media.Examples.IdealGasH2O.Medium.specificHeatCapacityCp(state) / Modelica.Media.Examples.IdealGasH2O.Medium.specificHeatCapacityCv(state)) / ((-1.0) + Modelica.Media.Examples.IdealGasH2O.Medium.specificHeatCapacityCp(state) / Modelica.Media.Examples.IdealGasH2O.Medium.specificHeatCapacityCv(state)))) / ((0.0021667278047654043 * state.p) / state.T)) * ((-1.0) + (2.0 / state.p) ^ ((Modelica.Media.Examples.IdealGasH2O.Medium.specificHeatCapacityCp(state) / Modelica.Media.Examples.IdealGasH2O.Medium.specificHeatCapacityCv(state) - 1.0) / (Modelica.Media.Examples.IdealGasH2O.Medium.specificHeatCapacityCp(state) / Modelica.Media.Examples.IdealGasH2O.Medium.specificHeatCapacityCv(state)))) ($RES_BND_15)