Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.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.00172/0.00172, allocations: 108.9 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.00194/0.00194, allocations: 200.5 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.523/1.523, allocations: 207.6 MB / 234.1 MB, free: 11.02 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.3339/0.3339, allocations: 49.52 MB / 335.8 MB, free: 4.516 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.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia") translateModel(ThermoPower.Test.GasComponents.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.622e-05/2.622e-05, allocations: 2.281 kB / 475.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.4619/0.462, allocations: 171.3 MB / 0.632 GB, free: 10.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0066/0.4686, allocations: 3.938 MB / 0.6358 GB, free: 6.703 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000563/0.4691, allocations: 7.938 kB / 0.6359 GB, free: 6.695 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009612/0.4701, allocations: 278.3 kB / 0.6361 GB, free: 6.422 MB / 446.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.001367/0.4714, allocations: 0.5755 MB / 0.6367 GB, free: 5.844 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00461/0.4761, allocations: 1.668 MB / 0.6383 GB, free: 4.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002287/0.4783, allocations: 1.528 MB / 0.6398 GB, free: 2.648 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007121/0.4791, allocations: 437.5 kB / 0.6402 GB, free: 2.223 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.4802, allocations: 0.6309 MB / 0.6408 GB, free: 1.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007061/0.4809, allocations: 0.4904 MB / 0.6413 GB, free: 1.098 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.481, allocations: 60 kB / 0.6414 GB, free: 1.039 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001854/0.4828, allocations: 0.6664 MB / 0.642 GB, free: 380 kB / 446.1 MB Notification: Performance of combineBinaries: time 0.001396/0.4842, allocations: 1.204 MB / 0.6432 GB, free: 15.16 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006173/0.4849, allocations: 0.7066 MB / 0.6439 GB, free: 14.44 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.485, allocations: 111.7 kB / 0.644 GB, free: 14.33 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0001384/0.4852, allocations: 23.88 kB / 0.644 GB, free: 14.31 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 (112) * Number of variables: 130 (112) Notification: Performance of Bindings: time 0.003066/0.4882, allocations: 2.507 MB / 0.6465 GB, free: 11.66 MB / 462.1 MB Notification: Performance of FunctionAlias: time 0.0002531/0.4885, allocations: 203.7 kB / 0.6467 GB, free: 11.46 MB / 462.1 MB Notification: Performance of Early Inline: time 0.001602/0.4901, allocations: 1.229 MB / 0.6479 GB, free: 10.2 MB / 462.1 MB Notification: Performance of Simplify 1: time 0.0004467/0.4905, allocations: 291.3 kB / 0.6481 GB, free: 9.879 MB / 462.1 MB Notification: Performance of Alias: time 0.003027/0.4936, allocations: 1.987 MB / 0.6501 GB, free: 7.656 MB / 462.1 MB Notification: Performance of Simplify 2: time 0.0003839/0.494, allocations: 242.1 kB / 0.6503 GB, free: 7.391 MB / 462.1 MB Notification: Performance of Remove Stream: time 0.0002765/0.4942, allocations: 242.1 kB / 0.6505 GB, free: 7.129 MB / 462.1 MB Notification: Performance of Detect States: time 0.0004332/0.4947, allocations: 289.2 kB / 0.6508 GB, free: 6.805 MB / 462.1 MB Notification: Performance of Events: time 0.000362/0.495, allocations: 242.5 kB / 0.651 GB, free: 6.57 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0006659/0.4957, allocations: 0.5657 MB / 0.6516 GB, free: 5.898 MB / 462.1 MB Notification: Performance of Causalize: time 0.002716/0.4984, allocations: 1.976 MB / 0.6535 GB, free: 3.824 MB / 462.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008388/0.4992, allocations: 0.7413 MB / 0.6543 GB, free: 3.082 MB / 462.1 MB Notification: Performance of Simplify: time 0.004761/0.504, allocations: 0.9854 MB / 0.6552 GB, free: 2.043 MB / 462.1 MB Notification: Performance of Inline: time 0.002408/0.5064, allocations: 2.021 MB / 0.6572 GB, free: 8 kB / 462.1 MB Notification: Performance of Partitioning: time 9.715e-05/0.5065, allocations: 47.59 kB / 0.6572 GB, free: 15.96 MB / 478.1 MB Notification: Performance of Cleanup: time 0.000362/0.5069, allocations: 383.4 kB / 0.6576 GB, free: 15.58 MB / 478.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) Compressor.gas_in.state.p = SourceP1.p0 ($RES_SIM_57); Notification: Performance of Causalize: time 0.01077/0.5176, allocations: 7.7 MB / 0.6651 GB, free: 7.719 MB / 478.1 MB Notification: Performance of Tearing: time 2.28e-05/0.5177, allocations: 3.938 kB / 0.6651 GB, free: 7.715 MB / 478.1 MB Notification: Performance of Initialization: time 9.32e-07/0.5177, allocations: 0 / 0.6651 GB, free: 7.715 MB / 478.1 MB Notification: Performance of Remove Dummies: time 2.035e-05/0.5177, allocations: 4.438 kB / 0.6651 GB, free: 7.707 MB / 478.1 MB Notification: Performance of Tearing: time 8.646e-06/0.5177, allocations: 3.938 kB / 0.6651 GB, free: 7.703 MB / 478.1 MB Notification: Performance of Categorize: time 3.178e-05/0.5177, allocations: 4 kB / 0.6651 GB, free: 7.699 MB / 478.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 Compressor.gas_in.T_degC = Modelica.SIunits.Conversions.to_degC(-((-273.15) - Compressor.gas_in.T_degC)) ### Equation: [SCAL] (1) Compressor.gas_in.h = ThermoPower.Test.GasComponents.TestCompressorInertia.Compressor.Medium.h_TX(-((-273.15) - Compressor.gas_in.T_degC), Compressor.gas_in.X, true, Modelica.Media.Interfaces.Choices.ReferenceEnthalpy.ZeroAt0K, 0.0) ($RES_SIM_62) " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.40508889593184] Failed to read output from testmodel.py, exit status != 0: 0.5271928515285254 0.541976244 0.053713767 Calling exit ...