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.001218/0.001218, allocations: 118.7 kB / 17.76 MB, free: 5.316 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.00119/0.00119, allocations: 179 kB / 18.69 MB, free: 4.395 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.256/1.256, allocations: 205.1 MB / 224.6 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2577/0.2577, allocations: 48.85 MB / 320.8 MB, free: 11 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.754e-05, allocations: 2.281 kB / 451.1 MB, free: 8.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.339/0.339, allocations: 171 MB / 0.6076 GB, free: 5.262 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004654/0.3437, allocations: 3.817 MB / 0.6113 GB, free: 2.176 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002292/0.3439, allocations: 9.219 kB / 0.6113 GB, free: 2.172 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007359/0.3447, allocations: 275.2 kB / 0.6116 GB, free: 1.945 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.0008304/0.3455, allocations: 498.8 kB / 0.612 GB, free: 1.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003012/0.3485, allocations: 1.564 MB / 0.6136 GB, free: 468 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001078/0.3496, allocations: 1.299 MB / 0.6148 GB, free: 15.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000365/0.3499, allocations: 312 kB / 0.6151 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004947/0.3504, allocations: 496.4 kB / 0.6156 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003628/0.3508, allocations: 384 kB / 0.616 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.56e-05/0.3509, allocations: 53.03 kB / 0.616 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001866/0.3527, allocations: 1.317 MB / 0.6173 GB, free: 14.33 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0007133/0.3535, allocations: 1.012 MB / 0.6183 GB, free: 13.64 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003689/0.3538, allocations: 0.6299 MB / 0.6189 GB, free: 13.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.3539, allocations: 108.7 kB / 0.619 GB, free: 13.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.403e-05/0.354, allocations: 20.28 kB / 0.619 GB, free: 13.14 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.002071/0.3561, allocations: 2.281 MB / 0.6213 GB, free: 10.85 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0001783/0.3563, allocations: 193.3 kB / 0.6215 GB, free: 10.66 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0009926/0.3573, allocations: 0.9907 MB / 0.6224 GB, free: 9.645 MB / 446.1 MB Notification: Performance of simplify1: time 0.0002009/0.3575, allocations: 175.5 kB / 0.6226 GB, free: 9.445 MB / 446.1 MB Notification: Performance of Alias: time 0.001941/0.3594, allocations: 1.506 MB / 0.6241 GB, free: 7.738 MB / 446.1 MB Notification: Performance of simplify2: time 0.0001494/0.3596, allocations: 130.3 kB / 0.6242 GB, free: 7.586 MB / 446.1 MB Notification: Performance of Detect States: time 0.0002822/0.3599, allocations: 234.5 kB / 0.6244 GB, free: 7.316 MB / 446.1 MB Notification: Performance of Events: time 0.0002766/0.3601, allocations: 207.2 kB / 0.6246 GB, free: 7.117 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0005411/0.3607, allocations: 0.5349 MB / 0.6251 GB, free: 6.461 MB / 446.1 MB Notification: Performance of Causalize: time 0.002172/0.3628, allocations: 1.838 MB / 0.6269 GB, free: 4.527 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0007343/0.3636, allocations: 0.7152 MB / 0.6276 GB, free: 3.781 MB / 446.1 MB Notification: Performance of Inline: time 0.003615/0.3672, allocations: 1.791 MB / 0.6294 GB, free: 1.945 MB / 446.1 MB Notification: Performance of Partitioning: time 6.542e-05/0.3673, allocations: 39.62 kB / 0.6294 GB, free: 1.898 MB / 446.1 MB Notification: Performance of Cleanup: time 0.0002033/0.3675, allocations: 247.6 kB / 0.6296 GB, free: 1.656 MB / 446.1 MB Notification: Performance of Causalize: time 0.006128/0.3736, allocations: 5.271 MB / 0.6348 GB, free: 12.51 MB / 462.1 MB Notification: Performance of Tearing: time 1.274e-05/0.3736, allocations: 0 / 0.6348 GB, free: 12.51 MB / 462.1 MB Notification: Performance of Initialization: time 5.11e-07/0.3736, allocations: 0 / 0.6348 GB, free: 12.51 MB / 462.1 MB Notification: Performance of Tearing: time 1.307e-05/0.3736, allocations: 7.938 kB / 0.6348 GB, free: 12.5 MB / 462.1 MB Notification: Performance of Categorize: time 2.198e-05/0.3736, allocations: 7.984 kB / 0.6348 GB, free: 12.5 MB / 462.1 MB Error: Internal error NBDifferentiate.differentiateCall failed for: {Modelica.Media.IdealGases.Common.Functions.h_T(({Modelica.Media.IdealGases.Common.DataRecord("N2", 0.0280134, 0.0, 309498.4543111511, 1000.0, {22103.71497, -381.846182, 6.08273836, -0.00853091441, 1.384646189e-5, -9.62579362e-9, 2.519705809e-12}, {710.846086, -10.76003744}, {587712.406, -2239.249073, 6.06694922, -6.1396855e-4, 1.491806679e-7, -1.923105485e-11, 1.061954386e-15}, {12832.10415, -15.86640027}, 296.8033869505308), Modelica.Media.IdealGases.Common.DataRecord("O2", 0.0319988, 0.0, 271263.4223783392, 1000.0, {-34255.6342, 484.700097, 1.119010961, 0.00429388924, -6.83630052e-7, -2.0233727e-9, 1.039040018e-12}, {-3391.45487, 18.4969947}, {-1.037939022e6, 2344.830282, 1.819732036, 0.001267847582, -2.188067988e-7, 2.053719572e-11, -8.193467050000001e-16}, {-16890.10929, 17.38716506}, 259.8369938872708)})[i], T, exclEnthForm, refChoice, h_off) for i in 1:2} Error: Internal error NBSolve.solveStrongComponent failed with status = Solve.UNSOLVABLE while trying to solve following strong component: BLOCK: Single Strong Component (status = Solve.UNPROCESSED) ------------------------------------------------------------- ### Variable: Real Turbine1.gas_in.T_degC = Modelica.SIunits.Conversions.to_degC(-((-273.15) - Turbine1.gas_in.T_degC)) ### Equation: [SCAL] (1) Turbine1.gas_in.h = ThermoPower.Test.GasComponents.TestGasTurbine.Turbine1.Medium.h_TX(-((-273.15) - Turbine1.gas_in.T_degC), Turbine1.gas_in.X, true, Modelica.Media.Interfaces.Choices.ReferenceEnthalpy.ZeroAt0K, 0.0) ($RES_SIM_80)