Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir") translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001093/0.001093, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001176/0.001176, allocations: 195.5 kB / 16.25 MB, free: 6.621 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.327/1.327, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.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.001239/0.001239, allocations: 47.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1997, allocations: 46.62 MB / 324.8 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3431/0.5428, allocations: 149.1 MB / 473.9 MB, free: 14.63 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002687/0.5455, allocations: 3.04 MB / 476.9 MB, free: 14.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.797e-05/0.5456, allocations: 0 / 476.9 MB, free: 14.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000315/0.546, allocations: 45.17 kB / 477 MB, free: 14.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002053/0.548, allocations: 0.9503 MB / 477.9 MB, free: 14.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004261/0.5485, allocations: 186.3 kB / 478.1 MB, free: 14.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003438/0.5488, allocations: 351 kB / 478.5 MB, free: 14.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.908e-05/0.5489, allocations: 11.97 kB / 478.5 MB, free: 14.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.5491, allocations: 159.6 kB / 478.6 MB, free: 14.13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.5493, allocations: 113.9 kB / 478.7 MB, free: 14.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.5493, allocations: 12.88 kB / 478.7 MB, free: 14.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002378/0.5517, allocations: 1.589 MB / 480.3 MB, free: 13.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.678e-05/0.5518, allocations: 77.34 kB / 480.4 MB, free: 13.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.5519, allocations: 101.4 kB / 480.5 MB, free: 13.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.5533, allocations: 1.07 MB / 481.6 MB, free: 13.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.5533, allocations: 6.906 kB / 481.6 MB, free: 13.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5533, allocations: 0 / 481.6 MB, free: 13.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.5533, allocations: 0 / 481.6 MB, free: 13.91 MB / 398.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.0008725/0.5542, allocations: 0.5424 MB / 482.1 MB, free: 13.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.5543, allocations: 7.438 kB / 482.1 MB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003641/0.5579, allocations: 390.8 kB / 482.5 MB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.5583, allocations: 265.1 kB / 482.8 MB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.5583, allocations: 14.12 kB / 482.8 MB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.996e-05/0.5584, allocations: 23.59 kB / 482.8 MB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009221/0.5593, allocations: 488.3 kB / 483.3 MB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.5593, allocations: 0.875 kB / 483.3 MB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.601e-05/0.5594, allocations: 13.47 kB / 483.3 MB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.5594, allocations: 5.312 kB / 483.3 MB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.5604, allocations: 0.5136 MB / 483.8 MB, free: 13.18 MB / 398.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.002254/0.5627, allocations: 0.9911 MB / 484.8 MB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005599/0.5633, allocations: 290.5 kB / 485.1 MB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002487/0.5635, allocations: 157.8 kB / 485.3 MB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001668/0.5652, allocations: 0.8929 MB / 486.1 MB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.5652, allocations: 33.34 kB / 486.2 MB, free: 11.85 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.683e-06/0.5652, allocations: 0 / 486.2 MB, free: 11.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=29): time 0.00082/0.5661, allocations: 410.7 kB / 486.6 MB, free: 11.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.5661, allocations: 82.7 kB / 486.7 MB, free: 11.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.778e-05/0.5662, allocations: 108.7 kB / 486.8 MB, free: 11.6 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.039e-05/0.5663, allocations: 32.92 kB / 486.8 MB, free: 11.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.515e-05/0.5663, allocations: 110.4 kB / 486.9 MB, free: 11.47 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.629e-05/0.5664, allocations: 108.5 kB / 487 MB, free: 11.4 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.5666, allocations: 63.48 kB / 487.1 MB, free: 11.38 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.5667, allocations: 329.4 kB / 487.4 MB, free: 11.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.5669, allocations: 113 kB / 487.5 MB, free: 11.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002644/0.5672, allocations: 209.6 kB / 487.7 MB, free: 10.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004702/0.5677, allocations: 338.3 kB / 488 MB, free: 10.85 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.5677, allocations: 3.938 kB / 488 MB, free: 10.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006117/0.5683, allocations: 386 kB / 488.4 MB, free: 10.78 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.5683, allocations: 5.25 kB / 488.4 MB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.5684, allocations: 6.5 kB / 488.4 MB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.5684, allocations: 4.312 kB / 488.4 MB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004191/0.5688, allocations: 75.05 kB / 488.5 MB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/0.5688, allocations: 6.141 kB / 488.5 MB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003134/0.5691, allocations: 45.75 kB / 488.6 MB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-05/0.5692, allocations: 18.8 kB / 488.6 MB, free: 10.75 MB / 398.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.0001301/0.5693, allocations: 140 kB / 488.7 MB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.764e-05/0.5694, allocations: 17.5 kB / 488.7 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007266/0.5702, allocations: 380.8 kB / 489.1 MB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.5702, allocations: 2.688 kB / 489.1 MB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.5702, allocations: 0 / 489.1 MB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.5702, allocations: 3.938 kB / 489.1 MB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005408/0.5707, allocations: 374.9 kB / 489.5 MB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.5708, allocations: 0 / 489.5 MB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004095/0.5712, allocations: 59.58 kB / 489.5 MB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.5712, allocations: 0 / 489.5 MB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.956e-05/0.5712, allocations: 10.86 kB / 489.5 MB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.5712, allocations: 2.875 kB / 489.6 MB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.5712, allocations: 3.938 kB / 489.6 MB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007782/0.572, allocations: 0.5512 MB / 490.1 MB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.535e-05/0.5721, allocations: 89.73 kB / 490.2 MB, free: 9.996 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.334e-05/0.5721, allocations: 8.391 kB / 490.2 MB, free: 9.996 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004315/0.5726, allocations: 17.78 kB / 490.2 MB, free: 9.992 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.5726, allocations: 21.09 kB / 490.2 MB, free: 9.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.224e-05/0.5727, allocations: 18.38 kB / 490.3 MB, free: 9.992 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.647e-05/0.5727, allocations: 93.78 kB / 490.3 MB, free: 9.914 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5727, allocations: 0 / 490.3 MB, free: 9.914 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008361/0.5736, allocations: 228 kB / 490.6 MB, free: 9.879 MB / 398.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.001041/0.5746, allocations: 438.6 kB / 491 MB, free: 9.723 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005469/0.5752, allocations: 303.2 kB / 491.3 MB, free: 9.707 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5752, allocations: 0 / 491.3 MB, free: 9.707 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002351/0.5754, allocations: 150.4 kB / 491.4 MB, free: 9.699 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006061/0.5761, allocations: 88.58 kB / 491.5 MB, free: 9.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.5772, allocations: 0.8032 MB / 492.3 MB, free: 9.137 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.5775, allocations: 0.7366 MB / 493.1 MB, free: 8.434 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004901/0.578, allocations: 77.86 kB / 493.1 MB, free: 8.398 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.5782, allocations: 32.17 kB / 493.2 MB, free: 8.391 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5782, allocations: 0 / 493.2 MB, free: 8.391 MB / 398.1 MB Notification: Performance of Templates: time 0.01274/0.5909, allocations: 8.43 MB / 0.4899 GB, free: 4.816 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & ./Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1)