Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.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.TestGasValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValve") translateModel(ThermoPower.Test.GasComponents.TestGasValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009976/0.0009976, allocations: 117.3 kB / 17.76 MB, free: 5.281 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.001073/0.001073, allocations: 184.4 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.29/1.29, 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.2621/0.2621, allocations: 48.84 MB / 320.8 MB, free: 11 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.133e-05, allocations: 2.281 kB / 451.2 MB, free: 8.609 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValve): time 0.4488/0.4488, allocations: 252.3 MB / 0.687 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009016/0.4578, allocations: 4.805 MB / 0.6917 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001657/0.4594, allocations: 31.81 kB / 0.6917 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002836/0.4623, allocations: 1.064 MB / 0.6927 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00351/0.4658, allocations: 1.449 MB / 0.6941 GB, free: 132 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006037/0.4718, allocations: 2.486 MB / 0.6966 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005055/0.4769, allocations: 4.555 MB / 0.701 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001838/0.4787, allocations: 1.08 MB / 0.7021 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002975/0.4817, allocations: 1.67 MB / 0.7037 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00214/0.4838, allocations: 1.299 MB / 0.705 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006579/0.4845, allocations: 196 kB / 0.7052 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003967/0.4885, allocations: 1.586 MB / 0.7067 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of combineBinaries: time 0.00408/0.4925, allocations: 3.695 MB / 0.7103 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 0.002017/0.4946, allocations: 2.266 MB / 0.7125 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000915/0.4955, allocations: 394.9 kB / 0.7129 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of FrontEnd: time 0.0002974/0.4958, allocations: 55.75 kB / 0.713 GB, free: 12.74 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 424 (359) * Number of variables: 424 (359) Notification: Performance of Bindings: time 0.007247/0.503, allocations: 7.899 MB / 0.7207 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of FunctionAlias: time 0.0008104/0.5038, allocations: 0.8923 MB / 0.7215 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of Early Inline: time 0.003785/0.5076, allocations: 3.888 MB / 0.7253 GB, free: 15.68 MB / 0.545 GB Notification: Performance of simplify1: time 0.0007402/0.5084, allocations: 0.5929 MB / 0.7259 GB, free: 15.03 MB / 0.545 GB Warning: NBAlias.setStartFixed: No variables are fixed and they have different start values. Use -d=dumprepl for more information. Notification: Performance of Alias: time 0.00649/0.5148, allocations: 5.166 MB / 0.731 GB, free: 9.398 MB / 0.545 GB Notification: Performance of simplify2: time 0.0005642/0.5154, allocations: 484.9 kB / 0.7314 GB, free: 8.875 MB / 0.545 GB Notification: Performance of Detect States: time 0.0007385/0.5161, allocations: 0.7767 MB / 0.7322 GB, free: 8.051 MB / 0.545 GB Notification: Performance of Events: time 0.001238/0.5174, allocations: 0.9899 MB / 0.7332 GB, free: 7 MB / 0.545 GB Notification: Performance of Partitioning: time 0.001979/0.5194, allocations: 2.051 MB / 0.7352 GB, free: 4.609 MB / 0.545 GB Notification: Performance of Causalize: time 0.2691/0.7884, allocations: 7.494 MB / 0.7425 GB, free: 27.67 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.003579/0.792, allocations: 3.038 MB / 0.7454 GB, free: 27.54 MB / 0.545 GB Notification: Performance of Inline: time 0.006943/0.799, allocations: 6.384 MB / 0.7517 GB, free: 27.11 MB / 0.545 GB Notification: Performance of Partitioning: time 0.0002619/0.7992, allocations: 125.2 kB / 0.7518 GB, free: 27.04 MB / 0.545 GB Notification: Performance of Cleanup: time 0.001413/0.8006, allocations: 1.465 MB / 0.7532 GB, free: 27 MB / 0.545 GB Notification: Performance of Causalize: time 0.02057/0.8212, allocations: 18.55 MB / 0.7713 GB, free: 22.56 MB / 0.545 GB Notification: Performance of Tearing: time 0.004136/0.8254, allocations: 4.424 MB / 0.7757 GB, free: 21.35 MB / 0.545 GB Notification: Performance of Initialization: time 2.024e-06/0.8254, allocations: 1.531 kB / 0.7757 GB, free: 21.35 MB / 0.545 GB Notification: Performance of Tearing: time 0.002894/0.8282, allocations: 2.963 MB / 0.7786 GB, free: 20.75 MB / 0.545 GB Notification: Performance of Categorize: time 8.41e-05/0.8283, allocations: 17.94 kB / 0.7786 GB, free: 20.75 MB / 0.545 GB 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 V1.gas.T_degC = Modelica.SIunits.Conversions.to_degC(-((-273.15) - V1.gas.T_degC)) ### Equation: [SCAL] (1) V3.outlet.h_outflow = ThermoPower.Test.GasComponents.TestGasValve.V1.Medium.h_TX(-((-273.15) - V1.gas.T_degC), V1.gas.X, true, Modelica.Media.Interfaces.Choices.ReferenceEnthalpy.ZeroAt0K, 0.0) ($RES_SIM_335)