Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 107.9 kB / 18.46 MB, free: 4.582 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.00127/0.00127, allocations: 194.6 kB / 19.4 MB, free: 3.656 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.346/1.346, allocations: 222.9 MB / 243.1 MB, free: 15.18 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.2119/0.2119, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.673e-05/1.674e-05, allocations: 2.281 kB / 471.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.429/0.429, allocations: 149.9 MB / 0.6065 GB, free: 9.902 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00409/0.4332, allocations: 3.138 MB / 0.6095 GB, free: 6.781 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.441e-05/0.4333, allocations: 8 kB / 0.6096 GB, free: 6.773 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004434/0.4338, allocations: 55.64 kB / 0.6096 GB, free: 6.719 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002294/0.4361, allocations: 1.02 MB / 0.6106 GB, free: 5.699 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005162/0.4366, allocations: 200.1 kB / 0.6108 GB, free: 5.508 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004222/0.4371, allocations: 346.7 kB / 0.6111 GB, free: 5.168 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.897e-05/0.4371, allocations: 21.44 kB / 0.6111 GB, free: 5.145 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002777/0.4374, allocations: 147.5 kB / 0.6113 GB, free: 5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.4376, allocations: 99.61 kB / 0.6114 GB, free: 4.902 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.4376, allocations: 12 kB / 0.6114 GB, free: 4.891 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002268/0.4399, allocations: 1.387 MB / 0.6127 GB, free: 3.5 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0003019/0.4402, allocations: 293.9 kB / 0.613 GB, free: 3.211 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001236/0.4403, allocations: 173.9 kB / 0.6132 GB, free: 3.039 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.16e-05/0.4404, allocations: 31.94 kB / 0.6132 GB, free: 3.008 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.355e-05/0.4404, allocations: 7.938 kB / 0.6132 GB, free: 3 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: 45 (39) * Number of variables: 45 (39) Notification: Performance of Bindings: time 0.001033/0.4415, allocations: 0.9236 MB / 0.6141 GB, free: 1.973 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0001003/0.4416, allocations: 58.19 kB / 0.6142 GB, free: 1.918 MB / 446.1 MB Notification: Performance of Early Inline: time 0.001183/0.4428, allocations: 1.162 MB / 0.6153 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of simplify1: time 0.0001068/0.4429, allocations: 95.83 kB / 0.6154 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of Alias: time 0.000826/0.4437, allocations: 0.6505 MB / 0.6161 GB, free: 15.89 MB / 462.1 MB Notification: Performance of simplify2: time 9.626e-05/0.4438, allocations: 87.89 kB / 0.6161 GB, free: 15.8 MB / 462.1 MB Notification: Performance of Events: time 0.0002018/0.444, allocations: 156.3 kB / 0.6163 GB, free: 15.65 MB / 462.1 MB Notification: Performance of Detect States: time 0.0003609/0.4444, allocations: 290.8 kB / 0.6166 GB, free: 15.36 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0003398/0.4448, allocations: 296.2 kB / 0.6168 GB, free: 15.05 MB / 462.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {medium.state.X[1], medium.state.X[2]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: medium.state.X. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) cp = {smooth(0, if $SEV_8 then data.R_s * (data.alow[1] + medium.state.T * (data.alow[2] + medium.state.T * (data.alow[3] + medium.state.T * (data.alow[4] + medium.state.T * (data.alow[5] + medium.state.T * (data.alow[6] + data.alow[7] * medium.state.T)))))) * (1/(medium.state.T * medium.state.T)) else data.R_s * (data.ahigh[1] + medium.state.T * (data.ahigh[2] + medium.state.T * (data.ahigh[3] + medium.state.T * (data.ahigh[4] + medium.state.T * (data.ahigh[5] + medium.state.T * (data.ahigh[6] + data.ahigh[7] * medium.state.T)))))) * (1/(medium.state.T * medium.state.T))) for i in 1:2} * medium.state.X ($RES_BND_36)