Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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 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.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="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") translateModel(Modelica.Media.Examples.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="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 109.7 kB / 18.41 MB, free: 4.664 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.001452/0.001453, allocations: 191.1 kB / 19.35 MB, free: 3.742 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.571/1.571, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.35e-05, allocations: 2.281 kB / 329.2 MB, free: 3.348 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.4667/0.4667, allocations: 151.2 MB / 480.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004225/0.471, allocations: 3.036 MB / 483.4 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.4712, allocations: 0 / 483.4 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004388/0.4717, allocations: 59.64 kB / 483.4 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003211/0.4749, allocations: 1.011 MB / 484.4 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006409/0.4756, allocations: 192.1 kB / 484.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006262/0.4763, allocations: 354.7 kB / 485 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.735e-05/0.4764, allocations: 5.453 kB / 485 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000414/0.4768, allocations: 155.4 kB / 485.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002243/0.477, allocations: 95.61 kB / 485.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.59e-05/0.4771, allocations: 12 kB / 485.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002999/0.4801, allocations: 1.379 MB / 486.6 MB, free: 8.691 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.0003107/0.4804, allocations: 286 kB / 486.9 MB, free: 8.41 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001671/0.4806, allocations: 169.8 kB / 487.1 MB, free: 8.242 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.093e-05/0.4806, allocations: 27.94 kB / 487.1 MB, free: 8.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.756e-05/0.4807, allocations: 9.594 kB / 487.1 MB, free: 8.207 MB / 382.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.001229/0.4819, allocations: 0.9195 MB / 488 MB, free: 7.184 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.0001428/0.4821, allocations: 61.66 kB / 488.1 MB, free: 7.125 MB / 382.1 MB Notification: Performance of Early Inline: time 0.001682/0.4837, allocations: 1.21 MB / 489.3 MB, free: 5.887 MB / 382.1 MB Notification: Performance of simplify1: time 0.0002082/0.484, allocations: 95.83 kB / 489.4 MB, free: 5.793 MB / 382.1 MB Notification: Performance of Alias: time 0.001072/0.4851, allocations: 0.6448 MB / 490 MB, free: 5.059 MB / 382.1 MB Notification: Performance of simplify2: time 0.0001124/0.4852, allocations: 94.7 kB / 490.1 MB, free: 4.969 MB / 382.1 MB Notification: Performance of Events: time 0.000263/0.4854, allocations: 162.6 kB / 490.3 MB, free: 4.812 MB / 382.1 MB Notification: Performance of Detect States: time 0.000384/0.4858, allocations: 291.5 kB / 490.6 MB, free: 4.512 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0003605/0.4862, allocations: 308.1 kB / 490.9 MB, free: 4.195 MB / 382.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 * (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 * (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)