Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.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.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, 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.001145/0.001145, 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.194/1.194, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.52e-05/1.521e-05, allocations: 2.281 kB / 351.9 MB, free: 3.324 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.274/0.274, allocations: 149.2 MB / 0.4894 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002341/0.2764, allocations: 2.518 MB / 0.4918 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.112e-05/0.2764, allocations: 0 / 0.4918 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001481/0.2766, allocations: 35.83 kB / 0.4919 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007426/0.2773, allocations: 316.8 kB / 0.4922 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001419/0.2775, allocations: 57.98 kB / 0.4922 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.2776, allocations: 87.53 kB / 0.4923 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.734e-05/0.2777, allocations: 0 / 0.4923 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.2778, allocations: 35.84 kB / 0.4923 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.764e-05/0.2778, allocations: 31.8 kB / 0.4924 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.315e-06/0.2779, allocations: 4 kB / 0.4924 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005312/0.2784, allocations: 362 kB / 0.4927 GB, free: 11.06 MB / 414.1 MB Notification: Performance of combineBinaries: time 9.378e-05/0.2785, allocations: 107.5 kB / 0.4928 GB, free: 10.95 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 3.301e-05/0.2785, allocations: 61.66 kB / 0.4929 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.598e-05/0.2786, allocations: 8 kB / 0.4929 GB, free: 10.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 8.025e-06/0.2786, allocations: 0 / 0.4929 GB, free: 10.89 MB / 414.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.0004342/0.279, allocations: 428.8 kB / 0.4933 GB, free: 10.37 MB / 414.1 MB Notification: Performance of FunctionAlias: time 2.853e-05/0.279, allocations: 23.84 kB / 0.4933 GB, free: 10.35 MB / 414.1 MB Notification: Performance of Early Inline: time 0.0009604/0.28, allocations: 0.8901 MB / 0.4942 GB, free: 9.43 MB / 414.1 MB Notification: Performance of simplify1: time 8.794e-05/0.2801, allocations: 95.91 kB / 0.4943 GB, free: 9.336 MB / 414.1 MB Notification: Performance of Alias: time 0.0003755/0.2805, allocations: 296.7 kB / 0.4946 GB, free: 9 MB / 414.1 MB Notification: Performance of simplify2: time 9.472e-05/0.2806, allocations: 107.8 kB / 0.4947 GB, free: 8.895 MB / 414.1 MB Notification: Performance of Events: time 0.0001623/0.2808, allocations: 103.8 kB / 0.4948 GB, free: 8.793 MB / 414.1 MB Notification: Performance of Detect States: time 0.0002031/0.281, allocations: 161.6 kB / 0.4949 GB, free: 8.621 MB / 414.1 MB Notification: Performance of Partitioning: time 0.0001869/0.2812, allocations: 156.4 kB / 0.4951 GB, free: 8.461 MB / 414.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.5233290850878), 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.002166737707457551 * 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)