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.001395/0.001395, allocations: 107.9 kB / 17.75 MB, free: 5.324 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.001522/0.001522, allocations: 185.8 kB / 18.68 MB, free: 4.398 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.778/1.778, allocations: 205.1 MB / 224.6 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3731/0.3731, allocations: 48.85 MB / 320.8 MB, free: 11.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.34e-05/3.331e-05, allocations: 2.281 kB / 451.1 MB, free: 8.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.5516/0.5516, allocations: 170.5 MB / 0.6071 GB, free: 5.656 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006171/0.5578, allocations: 3.804 MB / 0.6108 GB, free: 2.578 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006079/0.5585, allocations: 8.531 kB / 0.6108 GB, free: 2.574 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.5595, allocations: 280.1 kB / 0.6111 GB, free: 2.344 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.001131/0.5607, allocations: 0.489 MB / 0.6116 GB, free: 1.965 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004426/0.5652, allocations: 1.565 MB / 0.6131 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001956/0.5671, allocations: 1.301 MB / 0.6144 GB, free: 108 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00083/0.568, allocations: 351.6 kB / 0.6147 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.5692, allocations: 497.9 kB / 0.6152 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008744/0.5701, allocations: 384.6 kB / 0.6156 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002348/0.5704, allocations: 52.19 kB / 0.6156 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003484/0.5739, allocations: 1.327 MB / 0.6169 GB, free: 14.7 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.001404/0.5753, allocations: 0.9982 MB / 0.6179 GB, free: 14.02 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008152/0.5761, allocations: 0.6283 MB / 0.6185 GB, free: 13.58 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004364/0.5765, allocations: 106 kB / 0.6186 GB, free: 13.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.0002095/0.5768, allocations: 20.56 kB / 0.6186 GB, free: 13.53 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.004219/0.581, allocations: 2.876 MB / 0.6214 GB, free: 10.66 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0002963/0.5813, allocations: 119.8 kB / 0.6215 GB, free: 10.54 MB / 446.1 MB Notification: Performance of Early Inline: time 0.001981/0.5833, allocations: 1.323 MB / 0.6228 GB, free: 9.191 MB / 446.1 MB Notification: Performance of simplify1: time 0.0002344/0.5835, allocations: 95.86 kB / 0.6229 GB, free: 9.098 MB / 446.1 MB Notification: Performance of Alias: time 0.003072/0.5866, allocations: 2.094 MB / 0.625 GB, free: 6.816 MB / 446.1 MB Notification: Performance of simplify2: time 0.0001587/0.5868, allocations: 67.83 kB / 0.625 GB, free: 6.75 MB / 446.1 MB Notification: Performance of Detect States: time 0.0004287/0.5872, allocations: 290.2 kB / 0.6253 GB, free: 6.453 MB / 446.1 MB Notification: Performance of Events: time 0.0004535/0.5877, allocations: 211.9 kB / 0.6255 GB, free: 6.246 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0007957/0.5885, allocations: 0.5506 MB / 0.626 GB, free: 5.574 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)