Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001038/0.001038, allocations: 111.8 kB / 18.47 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00127/0.00127, allocations: 218.2 kB / 19.43 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2312/0.2312, allocations: 46.11 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.64e-05, allocations: 2.281 kB / 481.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5512/0.5513, allocations: 152.8 MB / 0.6198 GB, free: 9.594 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00408/0.5554, allocations: 3.263 MB / 0.623 GB, free: 6.34 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.178e-05/0.5555, allocations: 4 kB / 0.623 GB, free: 6.336 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004099/0.5559, allocations: 63.64 kB / 0.6231 GB, free: 6.273 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002689/0.5586, allocations: 1.062 MB / 0.6241 GB, free: 5.207 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000563/0.5593, allocations: 199.4 kB / 0.6243 GB, free: 5.016 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005673/0.5598, allocations: 358.7 kB / 0.6246 GB, free: 4.664 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.681e-05/0.5599, allocations: 9.438 kB / 0.6246 GB, free: 4.656 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004453/0.5604, allocations: 171.2 kB / 0.6248 GB, free: 4.492 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.5606, allocations: 103.6 kB / 0.6249 GB, free: 4.391 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.5607, allocations: 15.98 kB / 0.6249 GB, free: 4.375 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003534/0.5642, allocations: 1.423 MB / 0.6263 GB, free: 2.949 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.0003445/0.5646, allocations: 293.3 kB / 0.6266 GB, free: 2.66 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002203/0.5648, allocations: 185.8 kB / 0.6268 GB, free: 2.477 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 8.65e-05/0.5649, allocations: 31.88 kB / 0.6268 GB, free: 2.445 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.206e-05/0.5649, allocations: 4 kB / 0.6268 GB, free: 2.441 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 (40) * Number of variables: 47 (40) Notification: Performance of Bindings: time 0.001565/0.5665, allocations: 0.9457 MB / 0.6277 GB, free: 1.391 MB / 462.1 MB Notification: Performance of FunctionAlias: time 0.0002195/0.5667, allocations: 58.03 kB / 0.6278 GB, free: 1.336 MB / 462.1 MB Notification: Performance of Early Inline: time 0.001524/0.5683, allocations: 1.181 MB / 0.6289 GB, free: 132 kB / 462.1 MB Notification: Performance of simplify1: time 0.0001569/0.5684, allocations: 95.83 kB / 0.629 GB, free: 36 kB / 462.1 MB Notification: Performance of Alias: time 0.001025/0.5695, allocations: 0.6558 MB / 0.6297 GB, free: 15.29 MB / 478.1 MB Notification: Performance of simplify2: time 0.0001711/0.5697, allocations: 87.89 kB / 0.6297 GB, free: 15.21 MB / 478.1 MB Notification: Performance of Detect States: time 0.0003875/0.5701, allocations: 266.6 kB / 0.63 GB, free: 14.94 MB / 478.1 MB Notification: Performance of Events: time 0.0003083/0.5704, allocations: 158.2 kB / 0.6301 GB, free: 14.79 MB / 478.1 MB Notification: Performance of Partitioning: time 0.0004172/0.5708, allocations: 300.2 kB / 0.6304 GB, free: 14.48 MB / 478.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)