Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 105.7 kB / 18.46 MB, free: 4.609 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.001068/0.001068, allocations: 188.2 kB / 19.39 MB, free: 3.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.158/1.158, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1742/0.1742, allocations: 44.17 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027e-05/1.029e-05, allocations: 2.281 kB / 471.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2881/0.2882, allocations: 149.6 MB / 0.6062 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.2899, allocations: 1.598 MB / 0.6077 GB, free: 8.648 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.301e-05/0.29, allocations: 4 kB / 0.6077 GB, free: 8.645 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.2903, allocations: 49.47 kB / 0.6078 GB, free: 8.598 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008851/0.2912, allocations: 416.1 kB / 0.6082 GB, free: 8.195 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.2917, allocations: 164.4 kB / 0.6083 GB, free: 8.035 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000238/0.292, allocations: 195.2 kB / 0.6085 GB, free: 7.844 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.676e-05/0.292, allocations: 11.98 kB / 0.6085 GB, free: 7.832 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.2921, allocations: 79.75 kB / 0.6086 GB, free: 7.754 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.362e-05/0.2923, allocations: 55.7 kB / 0.6087 GB, free: 7.699 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.2923, allocations: 8 kB / 0.6087 GB, free: 7.691 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008237/0.2931, allocations: 0.5612 MB / 0.6092 GB, free: 7.129 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0001362/0.2933, allocations: 163.1 kB / 0.6094 GB, free: 6.969 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 6.224e-05/0.2933, allocations: 90.86 kB / 0.6094 GB, free: 6.879 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.803e-05/0.2934, allocations: 19.94 kB / 0.6095 GB, free: 6.859 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.572e-05/0.2934, allocations: 4 kB / 0.6095 GB, free: 6.855 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 (21) * Number of variables: 21 (21) Notification: Performance of Bindings: time 0.0005916/0.294, allocations: 0.5811 MB / 0.61 GB, free: 6.176 MB / 446.1 MB Notification: Performance of FunctionAlias: time 3.017e-05/0.294, allocations: 23.92 kB / 0.6101 GB, free: 6.152 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0006212/0.2946, allocations: 0.6501 MB / 0.6107 GB, free: 5.477 MB / 446.1 MB Notification: Performance of simplify1: time 5.8e-05/0.2947, allocations: 63.94 kB / 0.6108 GB, free: 5.414 MB / 446.1 MB Notification: Performance of Alias: time 0.0004183/0.2951, allocations: 339.2 kB / 0.6111 GB, free: 5.031 MB / 446.1 MB Notification: Performance of simplify2: time 6.029e-05/0.2952, allocations: 67.88 kB / 0.6111 GB, free: 4.965 MB / 446.1 MB Notification: Performance of Events: time 0.0001401/0.2953, allocations: 90.55 kB / 0.6112 GB, free: 4.875 MB / 446.1 MB Notification: Performance of Detect States: time 0.0002788/0.2956, allocations: 158.3 kB / 0.6114 GB, free: 4.707 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0001811/0.2958, allocations: 163.7 kB / 0.6115 GB, free: 4.543 MB / 446.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 1 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: medium.state.T. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) cp = {smooth(0, if $SEV_4 then 296.8033869505308 * (22103.71497 + medium.state.T * ((-381.846182) + medium.state.T * (6.08273836 + medium.state.T * ((-0.00853091441) + medium.state.T * (1.384646189e-5 + medium.state.T * ((-9.62579362e-9) + 2.519705809e-12 * medium.state.T)))))) * (1/(medium.state.T * medium.state.T)) else 296.8033869505308 * (587712.406 + medium.state.T * ((-2239.249073) + medium.state.T * (6.06694922 + medium.state.T * ((-6.1396855e-4) + medium.state.T * (1.491806679e-7 + medium.state.T * ((-1.923105485e-11) + 1.061954386e-15 * medium.state.T)))))) * (1/(medium.state.T * medium.state.T)))} * medium.state.X ($RES_BND_20)