Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir") translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.007563/0.007563, allocations: 102 kB / 15.73 MB, free: 6.039 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.00171/0.00171, allocations: 194.2 kB / 16.67 MB, free: 5.961 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.374/1.374, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 59.92 kB / 326.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09008/0.09136, allocations: 46.62 MB / 373.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3434/0.4348, allocations: 151.2 MB / 0.5121 GB, free: 7.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003225/0.438, allocations: 3.035 MB / 0.515 GB, free: 4.891 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.977e-05/0.4381, allocations: 0 / 0.515 GB, free: 4.891 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003267/0.4385, allocations: 55.66 kB / 0.5151 GB, free: 4.836 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002155/0.4407, allocations: 1.015 MB / 0.5161 GB, free: 3.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004891/0.4412, allocations: 200.1 kB / 0.5163 GB, free: 3.625 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00038/0.4416, allocations: 350.7 kB / 0.5166 GB, free: 3.281 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.313e-05/0.4416, allocations: 13.02 kB / 0.5166 GB, free: 3.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002206/0.4418, allocations: 155.5 kB / 0.5168 GB, free: 3.117 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.442, allocations: 107.6 kB / 0.5169 GB, free: 3.012 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.4421, allocations: 15.94 kB / 0.5169 GB, free: 2.996 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/0.4445, allocations: 1.461 MB / 0.5183 GB, free: 1.531 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.776e-05/0.4446, allocations: 75.83 kB / 0.5184 GB, free: 1.457 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.4448, allocations: 103.6 kB / 0.5185 GB, free: 1.355 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.4462, allocations: 0.9839 MB / 0.5194 GB, free: 380 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4462, allocations: 7.938 kB / 0.5194 GB, free: 372 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.4462, allocations: 0 / 0.5194 GB, free: 372 kB / 446.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.4462, allocations: 3.938 kB / 0.5194 GB, free: 368 kB / 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 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008442/0.447, allocations: 0.5429 MB / 0.52 GB, free: 15.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.4471, allocations: 8.031 kB / 0.52 GB, free: 15.76 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/0.4484, allocations: 200.5 kB / 0.5202 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.4487, allocations: 252.1 kB / 0.5204 GB, free: 15.28 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.4488, allocations: 12.94 kB / 0.5204 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.791e-05/0.4488, allocations: 27.84 kB / 0.5204 GB, free: 15.24 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005806/0.4494, allocations: 373.5 kB / 0.5208 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.4494, allocations: 0 / 0.5208 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.964e-05/0.4495, allocations: 12 kB / 0.5208 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.4495, allocations: 8 kB / 0.5208 GB, free: 14.85 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005543/0.4501, allocations: 419.5 kB / 0.5212 GB, free: 14.44 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.4517, allocations: 0.8123 MB / 0.522 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003753/0.4521, allocations: 217.1 kB / 0.5222 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.4523, allocations: 125.6 kB / 0.5223 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001697/0.454, allocations: 0.8892 MB / 0.5232 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.454, allocations: 42.56 kB / 0.5233 GB, free: 12.12 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.713e-06/0.454, allocations: 0 / 0.5233 GB, free: 12.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=29): time 0.001199/0.4552, allocations: 353.8 kB / 0.5236 GB, free: 11.77 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.4553, allocations: 81.11 kB / 0.5237 GB, free: 11.68 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.711e-05/0.4554, allocations: 117.8 kB / 0.5238 GB, free: 11.55 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.4554, allocations: 33.69 kB / 0.5238 GB, free: 11.51 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.563e-05/0.4555, allocations: 112.4 kB / 0.5239 GB, free: 11.4 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.151e-05/0.4555, allocations: 110.5 kB / 0.524 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.888e-05/0.4556, allocations: 65.94 kB / 0.5241 GB, free: 11.22 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.4558, allocations: 326.8 kB / 0.5244 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.4559, allocations: 96.55 kB / 0.5245 GB, free: 10.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.4562, allocations: 195.5 kB / 0.5247 GB, free: 10.57 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004369/0.4566, allocations: 300.8 kB / 0.525 GB, free: 10.24 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4566, allocations: 0 / 0.525 GB, free: 10.24 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006033/0.4572, allocations: 341.1 kB / 0.5253 GB, free: 9.902 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.4573, allocations: 4 kB / 0.5253 GB, free: 9.898 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.4573, allocations: 4 kB / 0.5253 GB, free: 9.895 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.4573, allocations: 7.984 kB / 0.5253 GB, free: 9.887 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/0.4577, allocations: 71.91 kB / 0.5254 GB, free: 9.816 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.4577, allocations: 4 kB / 0.5254 GB, free: 9.812 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.4579, allocations: 31.94 kB / 0.5254 GB, free: 9.781 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.364e-05/0.4579, allocations: 26.48 kB / 0.5254 GB, free: 9.758 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.4581, allocations: 137.7 kB / 0.5256 GB, free: 9.613 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.923e-05/0.4582, allocations: 23.73 kB / 0.5256 GB, free: 9.59 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006407/0.4588, allocations: 326.9 kB / 0.5259 GB, free: 9.254 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.4588, allocations: 7.984 kB / 0.5259 GB, free: 9.246 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4588, allocations: 0 / 0.5259 GB, free: 9.246 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.4589, allocations: 0 / 0.5259 GB, free: 9.246 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005444/0.4594, allocations: 331 kB / 0.5262 GB, free: 8.883 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.4594, allocations: 0.875 kB / 0.5262 GB, free: 8.883 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003314/0.4598, allocations: 51.97 kB / 0.5263 GB, free: 8.832 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.4598, allocations: 8 kB / 0.5263 GB, free: 8.824 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.4598, allocations: 8 kB / 0.5263 GB, free: 8.816 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4598, allocations: 3.938 kB / 0.5263 GB, free: 8.812 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4598, allocations: 0 / 0.5263 GB, free: 8.812 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007008/0.4605, allocations: 0.502 MB / 0.5268 GB, free: 8.297 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-05/0.4606, allocations: 92.95 kB / 0.5269 GB, free: 8.188 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.4606, allocations: 12.05 kB / 0.5269 GB, free: 8.176 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003151/0.461, allocations: 16 kB / 0.5269 GB, free: 8.16 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.461, allocations: 15.97 kB / 0.5269 GB, free: 8.145 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.779e-05/0.461, allocations: 19.98 kB / 0.5269 GB, free: 8.125 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.44e-05/0.4611, allocations: 92.05 kB / 0.527 GB, free: 8.035 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4611, allocations: 0 / 0.527 GB, free: 8.035 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007857/0.4619, allocations: 231.6 kB / 0.5272 GB, free: 7.809 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009483/0.4629, allocations: 426.7 kB / 0.5276 GB, free: 7.383 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004919/0.4634, allocations: 260.2 kB / 0.5279 GB, free: 7.129 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4634, allocations: 128 / 0.5279 GB, free: 7.129 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.4636, allocations: 136 kB / 0.528 GB, free: 6.996 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006537/0.4643, allocations: 86.42 kB / 0.5281 GB, free: 6.914 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.4654, allocations: 0.7178 MB / 0.5288 GB, free: 6.176 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.4658, allocations: 0.7283 MB / 0.5295 GB, free: 5.422 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003001/0.4661, allocations: 73.83 kB / 0.5296 GB, free: 5.348 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.787e-05/0.4662, allocations: 35.44 kB / 0.5296 GB, free: 5.312 MB / 462.1 MB Notification: Performance of SimCode: time 1.754e-06/0.4662, allocations: 0 / 0.5296 GB, free: 5.312 MB / 462.1 MB Notification: Performance of Templates: time 0.01337/0.4795, allocations: 8.397 MB / 0.5378 GB, free: 12.91 MB / 478.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & ./Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1)