Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_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.2.2_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.001149/0.001149, allocations: 115.8 kB / 17.76 MB, free: 5.301 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.001097/0.001097, allocations: 185.9 kB / 18.68 MB, free: 4.383 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.292/1.292, allocations: 205.1 MB / 224.6 MB, free: 12.28 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.397e-05, allocations: 3.266 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.34/0.34, allocations: 175.6 MB / 0.4924 GB, free: 6.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003788/0.3438, allocations: 3.844 MB / 0.4961 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.344, allocations: 7.938 kB / 0.4961 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000615/0.3446, allocations: 230.7 kB / 0.4963 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005093/0.3451, allocations: 354.1 kB / 0.4967 GB, free: 2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.3463, allocations: 0.5476 MB / 0.4972 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008409/0.3472, allocations: 1.005 MB / 0.4982 GB, free: 456 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.3474, allocations: 122.8 kB / 0.4983 GB, free: 336 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001974/0.3494, allocations: 1.206 MB / 0.4995 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002792/0.3496, allocations: 262.9 kB / 0.4997 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.896e-05/0.3497, allocations: 40 kB / 0.4998 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006645/0.3504, allocations: 403.1 kB / 0.5002 GB, free: 14.43 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.0004354/0.3508, allocations: 0.5733 MB / 0.5007 GB, free: 13.85 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002029/0.351, allocations: 348.4 kB / 0.501 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.21e-05/0.3511, allocations: 67.81 kB / 0.5011 GB, free: 13.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.505e-05/0.3511, allocations: 11.98 kB / 0.5011 GB, free: 13.43 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.001454/0.3526, allocations: 1.715 MB / 0.5028 GB, free: 11.61 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.000111/0.3527, allocations: 116.1 kB / 0.5029 GB, free: 11.5 MB / 414.1 MB Notification: Performance of Early Inline: time 0.0007341/0.3535, allocations: 0.8388 MB / 0.5037 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simplify1: time 5.764e-05/0.3535, allocations: 59.92 kB / 0.5038 GB, free: 10.57 MB / 414.1 MB Notification: Performance of Alias: time 0.001193/0.3547, allocations: 1.191 MB / 0.5049 GB, free: 9.266 MB / 414.1 MB Notification: Performance of simplify2: time 4.629e-05/0.3548, allocations: 43.94 kB / 0.505 GB, free: 9.223 MB / 414.1 MB Notification: Performance of Events: time 0.0001923/0.355, allocations: 146 kB / 0.5051 GB, free: 9.082 MB / 414.1 MB Notification: Performance of Detect States: time 0.000258/0.3552, allocations: 246.1 kB / 0.5054 GB, free: 8.824 MB / 414.1 MB Notification: Performance of Partitioning: time 0.0003478/0.3556, allocations: 392.9 kB / 0.5057 GB, free: 8.34 MB / 414.1 MB Notification: Performance of Causalize: time 0.001928/0.3575, allocations: 2.246 MB / 0.5079 GB, free: 6.031 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005717/0.3581, allocations: 0.6752 MB / 0.5086 GB, free: 5.332 MB / 414.1 MB Notification: Performance of Inline: time 0.001104/0.3592, allocations: 1.277 MB / 0.5098 GB, free: 4.016 MB / 414.1 MB Notification: Performance of Partitioning: time 7.381e-05/0.3593, allocations: 71.61 kB / 0.5099 GB, free: 3.938 MB / 414.1 MB Notification: Performance of Cleanup: time 4.454e-05/0.3594, allocations: 55.89 kB / 0.51 GB, free: 3.883 MB / 414.1 MB Notification: Performance of Causalize: time 0.002317/0.3617, allocations: 2.925 MB / 0.5128 GB, free: 1.059 MB / 414.1 MB Notification: Performance of Tearing: time 0.0001987/0.3619, allocations: 234.2 kB / 0.513 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of Initialization: time 3.91e-07/0.3619, allocations: 0 / 0.513 GB, free: 0.7812 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}