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.001379/0.001379, allocations: 107.2 kB / 18.46 MB, free: 4.594 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.001477/0.001477, allocations: 179.8 kB / 19.39 MB, free: 3.672 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.397/1.397, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2221/0.2221, allocations: 44.19 MB / 337.4 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.791e-05/2.792e-05, allocations: 2.281 kB / 471.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5366/0.5366, allocations: 149.9 MB / 0.6065 GB, free: 9.863 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004333/0.541, allocations: 3.133 MB / 0.6096 GB, free: 6.738 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/0.5413, allocations: 4 kB / 0.6096 GB, free: 6.734 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004843/0.5417, allocations: 55.66 kB / 0.6096 GB, free: 6.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003517/0.5453, allocations: 1.032 MB / 0.6106 GB, free: 5.645 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006333/0.546, allocations: 198 kB / 0.6108 GB, free: 5.453 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006123/0.5466, allocations: 350.7 kB / 0.6111 GB, free: 5.109 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.562e-05/0.5467, allocations: 13.44 kB / 0.6112 GB, free: 5.094 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004302/0.5471, allocations: 144.5 kB / 0.6113 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.5474, allocations: 107.6 kB / 0.6114 GB, free: 4.848 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.44e-05/0.5475, allocations: 12 kB / 0.6114 GB, free: 4.836 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003473/0.551, allocations: 1.394 MB / 0.6128 GB, free: 3.441 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0004195/0.5514, allocations: 286 kB / 0.613 GB, free: 3.16 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002194/0.5516, allocations: 181.8 kB / 0.6132 GB, free: 2.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.5517, allocations: 27.94 kB / 0.6132 GB, free: 2.953 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.571e-05/0.5518, allocations: 11.88 kB / 0.6133 GB, free: 2.941 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.001423/0.5532, allocations: 0.918 MB / 0.6141 GB, free: 1.918 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0001486/0.5534, allocations: 62.78 kB / 0.6142 GB, free: 1.863 MB / 446.1 MB Notification: Performance of Early Inline: time 0.001449/0.5548, allocations: 1.166 MB / 0.6153 GB, free: 0.668 MB / 446.1 MB Notification: Performance of simplify1: time 0.0001495/0.555, allocations: 95.89 kB / 0.6154 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of Alias: time 0.001036/0.556, allocations: 0.6487 MB / 0.6161 GB, free: 15.84 MB / 462.1 MB Notification: Performance of simplify2: time 0.0001406/0.5562, allocations: 91.88 kB / 0.6162 GB, free: 15.75 MB / 462.1 MB Notification: Performance of Detect States: time 0.0003702/0.5566, allocations: 245.2 kB / 0.6164 GB, free: 15.49 MB / 462.1 MB Notification: Performance of Events: time 0.0002805/0.5569, allocations: 163.5 kB / 0.6165 GB, free: 15.33 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0004229/0.5573, allocations: 292.1 kB / 0.6168 GB, free: 15.03 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)