Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 106.2 kB / 16.42 MB, free: 6.48 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: 187.2 kB / 17.35 MB, free: 5.707 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.365/1.365, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/1.932e-05, allocations: 3.406 kB / 327.2 MB, free: 3.285 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3591/0.3592, allocations: 175.6 MB / 0.4911 GB, free: 6.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004194/0.3634, allocations: 3.844 MB / 0.4948 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.3635, allocations: 4 kB / 0.4948 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006552/0.3642, allocations: 230.7 kB / 0.495 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005258/0.3647, allocations: 354.1 kB / 0.4954 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.366, allocations: 0.5419 MB / 0.4959 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008596/0.3669, allocations: 0.9976 MB / 0.4969 GB, free: 444 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/0.3671, allocations: 131.4 kB / 0.497 GB, free: 316 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002196/0.3693, allocations: 1.215 MB / 0.4982 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002939/0.3696, allocations: 254.9 kB / 0.4984 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.086e-05/0.3697, allocations: 39.94 kB / 0.4985 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007104/0.3704, allocations: 407.1 kB / 0.4989 GB, free: 14.41 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.0004611/0.3709, allocations: 0.5733 MB / 0.4994 GB, free: 13.83 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.000219/0.3711, allocations: 343.5 kB / 0.4998 GB, free: 13.49 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.897e-05/0.3712, allocations: 71.81 kB / 0.4998 GB, free: 13.42 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.588e-05/0.3712, allocations: 8 kB / 0.4998 GB, free: 13.41 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 (63) * Number of variables: 93 (63) Notification: Performance of Bindings: time 0.001566/0.3728, allocations: 1.724 MB / 0.5015 GB, free: 11.58 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.0001133/0.3729, allocations: 109.1 kB / 0.5016 GB, free: 11.48 MB / 414.1 MB Notification: Performance of Early Inline: time 0.0007914/0.3737, allocations: 0.8349 MB / 0.5024 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simplify1: time 6.131e-05/0.3738, allocations: 63.91 kB / 0.5025 GB, free: 10.55 MB / 414.1 MB Notification: Performance of Alias: time 0.00135/0.3751, allocations: 1.18 MB / 0.5036 GB, free: 9.254 MB / 414.1 MB Notification: Performance of simplify2: time 5.434e-05/0.3752, allocations: 47.92 kB / 0.5037 GB, free: 9.207 MB / 414.1 MB Notification: Performance of Events: time 0.0002205/0.3754, allocations: 151.9 kB / 0.5038 GB, free: 9.062 MB / 414.1 MB Notification: Performance of Detect States: time 0.0004554/0.3759, allocations: 254.8 kB / 0.5041 GB, free: 8.797 MB / 414.1 MB Notification: Performance of Partitioning: time 0.0003838/0.3763, allocations: 392.9 kB / 0.5045 GB, free: 8.312 MB / 414.1 MB Notification: Performance of Causalize: time 0.002165/0.3785, allocations: 2.241 MB / 0.5066 GB, free: 6.008 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.0006415/0.3791, allocations: 0.6833 MB / 0.5073 GB, free: 5.301 MB / 414.1 MB Notification: Performance of Inline: time 0.001201/0.3803, allocations: 1.262 MB / 0.5085 GB, free: 4 MB / 414.1 MB Notification: Performance of Partitioning: time 7.948e-05/0.3804, allocations: 75.61 kB / 0.5086 GB, free: 3.918 MB / 414.1 MB Notification: Performance of Cleanup: time 5.09e-05/0.3805, allocations: 55.83 kB / 0.5087 GB, free: 3.863 MB / 414.1 MB Notification: Performance of Causalize: time 0.00251/0.383, allocations: 2.917 MB / 0.5115 GB, free: 1.047 MB / 414.1 MB Notification: Performance of Tearing: time 0.0002293/0.3832, allocations: 242.2 kB / 0.5117 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of Initialization: time 4.21e-07/0.3832, allocations: 0 / 0.5117 GB, free: 0.7617 MB / 414.1 MB Error: Internal error NBDifferentiate.differentiateCall failed for: {Modelica.Media.IdealGases.Common.Functions.h_T(({Modelica.Media.IdealGases.Common.DataRecord("CH4", 0.01604246, -4.65015963885838e6, 624355.7409524474, 1000.0, {-176685.0998, 2786.18102, -12.0257785, 0.0391761929, -3.61905443e-5, 2.026853043e-8, -4.976705489999999e-12}, {-23313.1436, 89.0432275}, {3.73004276e6, -13835.01485, 20.49107091, -0.001961974759, 4.72731304e-7, -3.72881469e-11, 1.623737207e-15}, {75320.6691, -121.9124889}, 518.2791167938085), Modelica.Media.IdealGases.Common.DataRecord("C2H6", 0.03006904, -2.788633890539904e6, 395476.3437741943, 1000.0, {-186204.4161, 3406.19186, -19.51705092, 0.0756583559, -8.20417322e-5, 5.0611358e-8, -1.319281992e-11}, {-27029.3289, 129.8140496}, {5.02578213e6, -20330.22397, 33.2255293, -0.00383670341, 7.23840586e-7, -7.3191825e-11, 3.065468699e-15}, {111596.395, -203.9410584}, 276.5127187299628), Modelica.Media.IdealGases.Common.DataRecord("C3H8", 0.04409562, -2.373931923397381e6, 334301.1845620949, 1000.0, {-243314.4337, 4656.27081, -29.39466091, 0.1188952745, -1.376308269e-4, 8.814823909999999e-8, -2.342987994e-11}, {-35403.3527, 184.1749277}, {6.420731680000001e6, -26597.91134, 45.3435684, -0.00502066392, 9.471216939999999e-7, -9.57540523e-11, 4.00967288e-15}, {145558.2459, -281.8374734}, 188.5555073270316), Modelica.Media.IdealGases.Common.DataRecord("C4H10_n_butane", 0.0581222, -2.16423328779709e6, 330832.0228759407, 1000.0, {-317587.254, 6176.331819999999, -38.9156212, 0.1584654284, -1.860050159e-4, 1.199676349e-7, -3.20167055e-11}, {-45403.63390000001, 237.9488665}, {7.68232245e6, -32560.5151, 57.3673275, -0.00619791681, 1.180186048e-6, -1.221893698e-10, 5.250635250000001e-15}, {177452.656, -358.791876}, 143.0515706563069), 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("CO2", 0.0440095, -8.941478544405185e6, 212805.6215135368, 1000.0, {49436.5054, -626.411601, 5.30172524, 0.002503813816, -2.127308728e-7, -7.68998878e-10, 2.849677801e-13}, {-45281.9846, -7.04827944}, {117696.2419, -1788.791477, 8.29152319, -9.22315678e-5, 4.86367688e-9, -1.891053312e-12, 6.330036589999999e-16}, {-39083.5059, -26.52669281}, 188.9244822140674)})[i], T, exclEnthForm, refChoice, h_off) for i in 1:6}