Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.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.TestGasValveOpPoint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint") translateModel(ThermoPower.Test.GasComponents.TestGasValveOpPoint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 121.1 kB / 17.76 MB, free: 5.188 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.00112/0.00112, allocations: 188.5 kB / 18.69 MB, free: 4.262 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.274/1.274, 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.2576/0.2576, allocations: 48.85 MB / 320.8 MB, free: 10.99 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.85e-05, allocations: 2.281 kB / 451.2 MB, free: 8.602 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValveOpPoint): time 0.417/0.417, allocations: 211.4 MB / 0.647 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005798/0.4228, allocations: 3.001 MB / 0.65 GB, free: 13.51 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.4238, allocations: 19.88 kB / 0.65 GB, free: 13.49 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00193/0.4257, allocations: 0.6484 MB / 0.6506 GB, free: 12.84 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00225/0.428, allocations: 0.8817 MB / 0.6515 GB, free: 11.95 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004066/0.432, allocations: 1.58 MB / 0.653 GB, free: 10.38 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0037/0.4357, allocations: 2.887 MB / 0.6558 GB, free: 7.484 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001423/0.4372, allocations: 0.7533 MB / 0.6566 GB, free: 6.719 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001822/0.439, allocations: 1.094 MB / 0.6576 GB, free: 5.625 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.4403, allocations: 0.856 MB / 0.6585 GB, free: 4.766 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004278/0.4408, allocations: 132 kB / 0.6586 GB, free: 4.637 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002509/0.4433, allocations: 1.052 MB / 0.6596 GB, free: 3.582 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.002676/0.4459, allocations: 2.318 MB / 0.6619 GB, free: 1.242 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.001319/0.4473, allocations: 1.4 MB / 0.6633 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006337/0.4479, allocations: 235.4 kB / 0.6635 GB, free: 15.59 MB / 494.1 MB Notification: Performance of FrontEnd: time 0.0002247/0.4481, allocations: 35.81 kB / 0.6635 GB, free: 15.56 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 340 (220) * Number of variables: 340 (220) Notification: Performance of Bindings: time 0.005433/0.4536, allocations: 4.996 MB / 0.6684 GB, free: 10.34 MB / 494.1 MB Notification: Performance of FunctionAlias: time 0.0005419/0.4541, allocations: 0.5458 MB / 0.6689 GB, free: 9.797 MB / 494.1 MB Notification: Performance of Early Inline: time 0.002616/0.4567, allocations: 2.665 MB / 0.6715 GB, free: 7.082 MB / 494.1 MB Notification: Performance of simplify1: time 0.0004972/0.4572, allocations: 423.8 kB / 0.6719 GB, free: 6.621 MB / 494.1 MB 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.00425/0.4615, allocations: 3.239 MB / 0.6751 GB, free: 3.098 MB / 494.1 MB Notification: Performance of simplify2: time 0.0004114/0.4619, allocations: 360.5 kB / 0.6754 GB, free: 2.707 MB / 494.1 MB Notification: Performance of Detect States: time 0.0007751/0.4626, allocations: 0.601 MB / 0.676 GB, free: 2.055 MB / 494.1 MB Notification: Performance of Events: time 0.0008277/0.4635, allocations: 0.6232 MB / 0.6766 GB, free: 1.422 MB / 494.1 MB Notification: Performance of Partitioning: time 0.001376/0.4649, allocations: 1.342 MB / 0.6779 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of Causalize: time 0.006706/0.4716, allocations: 5.949 MB / 0.6837 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of After Index Reduction Inline: time 0.002068/0.4736, allocations: 2.081 MB / 0.6858 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of Inline: time 0.004159/0.4778, allocations: 4.238 MB / 0.6899 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of Partitioning: time 0.0001294/0.4779, allocations: 71.69 kB / 0.69 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of Cleanup: time 0.000768/0.4787, allocations: 0.983 MB / 0.6909 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of Causalize: time 0.01483/0.4935, allocations: 13.85 MB / 0.7045 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of Tearing: time 0.003132/0.4966, allocations: 3.098 MB / 0.7075 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of Initialization: time 7.61e-07/0.4966, allocations: 4 kB / 0.7075 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of Tearing: time 0.002151/0.4988, allocations: 1.995 MB / 0.7094 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of Categorize: time 5.208e-05/0.4989, allocations: 19.92 kB / 0.7095 GB, free: 15.51 MB / 0.5294 GB Error: Internal error NBDifferentiate.differentiateCall failed for: {Modelica.Media.IdealGases.Common.Functions.h_T(({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), Modelica.Media.IdealGases.Common.DataRecord("H2O", 0.01801528, -1.342338281725291e7, 549760.6476280135, 1000.0, {-39479.6083, 575.573102, 0.931782653, 0.00722271286, -7.34255737e-6, 4.95504349e-9, -1.336933246e-12}, {-33039.7431, 17.24205775}, {1.034972096e6, -2412.698562, 4.64611078, 0.002291998307, -6.836830479999999e-7, 9.426468930000001e-11, -4.82238053e-15}, {-13842.86509, -7.97814851}, 461.5233290850878), Modelica.Media.IdealGases.Common.DataRecord("Ar", 0.039948, 0.0, 155137.3785921698, 1000.0, {0.0, 0.0, 2.5, 0.0, 0.0, 0.0, 0.0}, {-745.375, 4.37967491}, {20.10538475, -0.05992661069999999, 2.500069401, -3.99214116e-8, 1.20527214e-11, -1.819015576e-15, 1.078576636e-19}, {-744.993961, 4.37918011}, 208.1323720837088), 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)})[i], T, exclEnthForm, refChoice, h_off) for i in 1:4} 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 Valve1.gas.T_degC = Modelica.SIunits.Conversions.to_degC(-((-273.15) - Valve1.gas.T_degC)) ### Equation: [SCAL] (1) Valve2.outlet.h_outflow = ThermoPower.Test.GasComponents.TestGasValveOpPoint.Valve1.Medium.h_TX(-((-273.15) - Valve1.gas.T_degC), Valve1.gas.X, true, Modelica.Media.Interfaces.Choices.ReferenceEnthalpy.ZeroAt25C, 0.0) ($RES_SIM_186)