Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001245/0.001245, allocations: 105.8 kB / 16.42 MB, free: 6.461 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.00113/0.00113, allocations: 189.9 kB / 17.36 MB, free: 5.73 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.262/1.262, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/1.976e-05, allocations: 3.547 kB / 327.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3248/0.3248, allocations: 175.6 MB / 0.4911 GB, free: 6.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004063/0.3289, allocations: 3.844 MB / 0.4948 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.3291, allocations: 7.938 kB / 0.4948 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006085/0.3297, allocations: 226.8 kB / 0.495 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005213/0.3302, allocations: 358.1 kB / 0.4954 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.3315, allocations: 0.5457 MB / 0.4959 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00086/0.3324, allocations: 1.005 MB / 0.4969 GB, free: 464 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.3326, allocations: 122.8 kB / 0.497 GB, free: 344 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002091/0.3347, allocations: 1.207 MB / 0.4982 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.335, allocations: 266.9 kB / 0.4984 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.923e-05/0.335, allocations: 36 kB / 0.4985 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006983/0.3357, allocations: 407.1 kB / 0.4989 GB, free: 14.43 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.0004395/0.3362, allocations: 0.5694 MB / 0.4994 GB, free: 13.86 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002384/0.3364, allocations: 348.9 kB / 0.4998 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.538e-05/0.3365, allocations: 67.81 kB / 0.4998 GB, free: 13.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.064e-05/0.3365, allocations: 11.98 kB / 0.4998 GB, free: 13.44 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.001548/0.3381, allocations: 1.712 MB / 0.5015 GB, free: 11.62 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.0001105/0.3382, allocations: 117 kB / 0.5016 GB, free: 11.51 MB / 414.1 MB Notification: Performance of Early Inline: time 0.0007769/0.339, allocations: 0.8446 MB / 0.5024 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simplify1: time 6.309e-05/0.3391, allocations: 55.92 kB / 0.5025 GB, free: 10.58 MB / 414.1 MB Notification: Performance of Alias: time 0.001245/0.3403, allocations: 1.191 MB / 0.5037 GB, free: 9.273 MB / 414.1 MB Notification: Performance of simplify2: time 4.717e-05/0.3404, allocations: 43.94 kB / 0.5037 GB, free: 9.23 MB / 414.1 MB Notification: Performance of Events: time 0.0001959/0.3406, allocations: 148 kB / 0.5038 GB, free: 9.09 MB / 414.1 MB Notification: Performance of Detect States: time 0.0002648/0.3408, allocations: 254.8 kB / 0.5041 GB, free: 8.824 MB / 414.1 MB Notification: Performance of Partitioning: time 0.0003752/0.3412, allocations: 384.9 kB / 0.5044 GB, free: 8.348 MB / 414.1 MB Notification: Performance of Causalize: time 0.001925/0.3432, allocations: 2.245 MB / 0.5066 GB, free: 6.039 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005593/0.3437, allocations: 0.6792 MB / 0.5073 GB, free: 5.336 MB / 414.1 MB Notification: Performance of Inline: time 0.001078/0.3448, allocations: 1.27 MB / 0.5085 GB, free: 4.027 MB / 414.1 MB Notification: Performance of Partitioning: time 6.819e-05/0.3449, allocations: 75.61 kB / 0.5086 GB, free: 3.945 MB / 414.1 MB Notification: Performance of Cleanup: time 4.791e-05/0.3449, allocations: 47.89 kB / 0.5087 GB, free: 3.898 MB / 414.1 MB Notification: Performance of Causalize: time 0.002315/0.3473, allocations: 2.924 MB / 0.5115 GB, free: 1.074 MB / 414.1 MB Notification: Performance of Tearing: time 0.000181/0.3475, allocations: 234.2 kB / 0.5117 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of Initialization: time 5.71e-07/0.3475, allocations: 0 / 0.5117 GB, free: 0.7969 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}