Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.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.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") translateModel(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 117.1 kB / 17.75 MB, free: 5.172 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.001052/0.001052, allocations: 183.1 kB / 18.68 MB, free: 4.25 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.75/1.75, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3806/0.3806, allocations: 48.85 MB / 320.8 MB, free: 11.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.324e-05/3.326e-05, allocations: 2.281 kB / 451.1 MB, free: 8.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.5588/0.5588, allocations: 170.5 MB / 0.6071 GB, free: 5.645 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006269/0.5651, allocations: 3.813 MB / 0.6108 GB, free: 2.555 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005197/0.5657, allocations: 4.656 kB / 0.6108 GB, free: 2.555 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009693/0.5667, allocations: 267.8 kB / 0.6111 GB, free: 2.336 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.001002/0.5677, allocations: 488.2 kB / 0.6116 GB, free: 1.965 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004162/0.5719, allocations: 1.559 MB / 0.6131 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00148/0.5734, allocations: 1.293 MB / 0.6143 GB, free: 116 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000524/0.5739, allocations: 350 kB / 0.6147 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006906/0.5746, allocations: 0.4955 MB / 0.6152 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005237/0.5752, allocations: 385.2 kB / 0.6155 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.18e-05/0.5753, allocations: 56.44 kB / 0.6156 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002508/0.5778, allocations: 1.321 MB / 0.6169 GB, free: 14.7 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0008523/0.5786, allocations: 1.002 MB / 0.6179 GB, free: 14.02 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.000477/0.5791, allocations: 0.6252 MB / 0.6185 GB, free: 13.58 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.5793, allocations: 110 kB / 0.6186 GB, free: 13.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.000131/0.5794, allocations: 18.72 kB / 0.6186 GB, free: 13.52 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: 126 (108) * Number of variables: 126 (108) Notification: Performance of Bindings: time 0.002857/0.5823, allocations: 2.874 MB / 0.6214 GB, free: 10.68 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0001535/0.5824, allocations: 119.8 kB / 0.6215 GB, free: 10.56 MB / 446.1 MB Notification: Performance of Early Inline: time 0.001545/0.584, allocations: 1.327 MB / 0.6228 GB, free: 9.203 MB / 446.1 MB Notification: Performance of simplify1: time 9.805e-05/0.5841, allocations: 95.61 kB / 0.6229 GB, free: 9.113 MB / 446.1 MB Notification: Performance of Alias: time 0.002614/0.5867, allocations: 2.093 MB / 0.6249 GB, free: 6.832 MB / 446.1 MB Notification: Performance of simplify2: time 7.872e-05/0.5868, allocations: 63.89 kB / 0.625 GB, free: 6.77 MB / 446.1 MB Notification: Performance of Events: time 0.0003919/0.5872, allocations: 211.4 kB / 0.6252 GB, free: 6.562 MB / 446.1 MB Notification: Performance of Detect States: time 0.0004149/0.5876, allocations: 344.7 kB / 0.6255 GB, free: 6.211 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0006188/0.5883, allocations: 0.5506 MB / 0.6261 GB, free: 5.539 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.TestGasTurbine.Turbine1.Medium.isentropicEnthalpyApproximation(SinkP1.p0, Turbine1.gas_in.state) ($RES_SIM_33)