Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) 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(ThermoPower.Test.GasComponents.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") translateModel(ThermoPower.Test.GasComponents.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001095, allocations: 117 kB / 17.75 MB, free: 5.285 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.001107/0.001107, allocations: 188.6 kB / 18.68 MB, free: 4.363 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.761/1.761, allocations: 205.1 MB / 224.6 MB, free: 12.19 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.35/0.35, allocations: 48.84 MB / 320.8 MB, free: 11 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.598e-05/3.599e-05, allocations: 2.281 kB / 451.1 MB, free: 8.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.5607/0.5607, allocations: 170.6 MB / 0.6072 GB, free: 5.578 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007497/0.5683, allocations: 3.771 MB / 0.6109 GB, free: 2.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008394/0.5692, allocations: 5.938 kB / 0.6109 GB, free: 2.52 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.5706, allocations: 268.3 kB / 0.6111 GB, free: 2.297 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001717/0.5723, allocations: 448.7 kB / 0.6116 GB, free: 1.945 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005647/0.5779, allocations: 1.473 MB / 0.613 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002435/0.5804, allocations: 1.257 MB / 0.6142 GB, free: 172 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007031/0.5811, allocations: 342 kB / 0.6146 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.5821, allocations: 470.4 kB / 0.615 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006154/0.5828, allocations: 355 kB / 0.6153 GB, free: 15.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.5829, allocations: 55.84 kB / 0.6154 GB, free: 15.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003282/0.5862, allocations: 1.335 MB / 0.6167 GB, free: 14.79 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.000848/0.587, allocations: 0.9819 MB / 0.6177 GB, free: 14.12 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004184/0.5875, allocations: 0.6088 MB / 0.6183 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.5876, allocations: 110.4 kB / 0.6184 GB, free: 13.65 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.0001905/0.5878, allocations: 19.97 kB / 0.6184 GB, free: 13.64 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 (110) * Number of variables: 128 (110) Notification: Performance of Bindings: time 0.002904/0.5907, allocations: 2.833 MB / 0.6211 GB, free: 10.9 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0002033/0.591, allocations: 150 kB / 0.6213 GB, free: 10.75 MB / 446.1 MB Notification: Performance of Early Inline: time 0.001436/0.5924, allocations: 1.374 MB / 0.6226 GB, free: 9.348 MB / 446.1 MB Notification: Performance of simplify1: time 0.0001114/0.5925, allocations: 91.86 kB / 0.6227 GB, free: 9.258 MB / 446.1 MB Notification: Performance of Alias: time 0.002659/0.5952, allocations: 2.12 MB / 0.6248 GB, free: 6.945 MB / 446.1 MB Notification: Performance of simplify2: time 9.192e-05/0.5953, allocations: 79.77 kB / 0.6249 GB, free: 6.867 MB / 446.1 MB Notification: Performance of Events: time 0.0002803/0.5956, allocations: 200.7 kB / 0.6251 GB, free: 6.672 MB / 446.1 MB Notification: Performance of Detect States: time 0.0004108/0.596, allocations: 361.7 kB / 0.6254 GB, free: 6.305 MB / 446.1 MB Notification: Performance of Partitioning: time 0.000638/0.5967, allocations: 0.5623 MB / 0.626 GB, free: 5.621 MB / 446.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 3 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: Turbine1.gas_in.state.X. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) Turbine1.hout_iso = ThermoPower.Test.GasComponents.TestGasTurbineStodola.Turbine1.Medium.isentropicEnthalpyApproximation(SinkP1.p0, Turbine1.gas_in.state) ($RES_SIM_37)