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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 111.6 kB / 20.19 MB, free: 1.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 198.6 kB / 23.43 MB, free: 5.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 207.6 MB / 234.1 MB, free: 11.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3153/0.3153, allocations: 49.52 MB / 335.8 MB, free: 4.512 MB / 270.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValve") translateModel(ThermoPower.Test.GasComponents.TestGasValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValve") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.143e-05/3.143e-05, allocations: 2.281 kB / 475.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValve): time 0.5526/0.5526, allocations: 253.2 MB / 0.712 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01037/0.563, allocations: 4.823 MB / 0.7167 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001652/0.5647, allocations: 31.81 kB / 0.7167 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003327/0.568, allocations: 1.056 MB / 0.7177 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004146/0.5721, allocations: 1.441 MB / 0.7191 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00847/0.5806, allocations: 2.513 MB / 0.7216 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.006908/0.5875, allocations: 4.973 MB / 0.7265 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002242/0.5898, allocations: 1.262 MB / 0.7277 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004048/0.5938, allocations: 1.92 MB / 0.7296 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003012/0.5968, allocations: 1.42 MB / 0.731 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000771/0.5976, allocations: 200 kB / 0.7311 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004998/0.6026, allocations: 1.648 MB / 0.7328 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.006008/0.6086, allocations: 4.135 MB / 0.7368 GB, free: 14.92 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 0.002505/0.6111, allocations: 2.338 MB / 0.7391 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000913/0.612, allocations: 390.9 kB / 0.7394 GB, free: 12.17 MB / 0.545 GB Notification: Performance of FrontEnd: time 0.0005062/0.6125, allocations: 51.75 kB / 0.7395 GB, free: 12.12 MB / 0.545 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.01095/0.6235, allocations: 8.244 MB / 0.7475 GB, free: 3.551 MB / 0.545 GB Notification: Performance of FunctionAlias: time 0.001013/0.6245, allocations: 0.8606 MB / 0.7484 GB, free: 2.68 MB / 0.545 GB Notification: Performance of Early Inline: time 0.3545/0.979, allocations: 4.08 MB / 0.7524 GB, free: 18.8 MB / 0.545 GB Notification: Performance of Simplify 1: time 0.002366/0.9814, allocations: 0.9254 MB / 0.7533 GB, free: 18.66 MB / 0.545 GB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of Alias: time 0.01048/0.9919, allocations: 6.041 MB / 0.7592 GB, free: 17.31 MB / 0.545 GB Notification: Performance of Simplify 2: time 0.001726/0.9936, allocations: 0.7883 MB / 0.7599 GB, free: 17.2 MB / 0.545 GB Notification: Performance of Remove Stream: time 0.0008718/0.9945, allocations: 0.7355 MB / 0.7607 GB, free: 17.09 MB / 0.545 GB Notification: Performance of Detect States: time 0.001131/0.9956, allocations: 0.8777 MB / 0.7615 GB, free: 16.97 MB / 0.545 GB Notification: Performance of Events: time 0.001464/0.9971, allocations: 1.013 MB / 0.7625 GB, free: 16.75 MB / 0.545 GB Notification: Performance of Partitioning: time 0.002553/0.9996, allocations: 2.058 MB / 0.7645 GB, free: 16.03 MB / 0.545 GB Notification: Performance of Causalize: time 0.01192/1.012, allocations: 7.59 MB / 0.7719 GB, free: 14.55 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.003369/1.015, allocations: 2.856 MB / 0.7747 GB, free: 14.55 MB / 0.545 GB Notification: Performance of Simplify: time 0.003189/1.018, allocations: 1.972 MB / 0.7766 GB, free: 14.09 MB / 0.545 GB Notification: Performance of Inline: time 0.004735/1.023, allocations: 4.952 MB / 0.7815 GB, free: 14.05 MB / 0.545 GB Notification: Performance of Partitioning: time 0.0002768/1.023, allocations: 121.5 kB / 0.7816 GB, free: 13.98 MB / 0.545 GB Notification: Performance of Cleanup: time 0.001354/1.024, allocations: 1.471 MB / 0.783 GB, free: 13.94 MB / 0.545 GB Notification: Performance of Causalize: time 0.023/1.047, allocations: 18.91 MB / 0.8015 GB, free: 9.434 MB / 0.545 GB Notification: Performance of Tearing: time 0.004289/1.052, allocations: 4.286 MB / 0.8057 GB, free: 8.168 MB / 0.545 GB Notification: Performance of Initialization: time 1.042e-06/1.052, allocations: 0 / 0.8057 GB, free: 8.168 MB / 0.545 GB Notification: Performance of Remove Dummies: time 7.24e-05/1.052, allocations: 15.12 kB / 0.8057 GB, free: 8.168 MB / 0.545 GB Notification: Performance of Tearing: time 0.002809/1.055, allocations: 2.892 MB / 0.8085 GB, free: 7.52 MB / 0.545 GB Notification: Performance of Categorize: time 9.229e-05/1.055, allocations: 15.95 kB / 0.8085 GB, free: 7.52 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) " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.7218974605202675] Failed to read output from testmodel.py, exit status != 0: 1.0628737770020962 1.072145572 0.45736988300000003 Calling exit ...