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.0008579/0.0008579, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005109/0.005109, allocations: 170.5 kB / 16.27 MB, free: 6.652 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.306/1.306, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.0004357/0.0004358, allocations: 16 kB / 279.4 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1947, allocations: 47.58 MB / 327 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.339/0.5337, allocations: 147 MB / 474 MB, free: 15.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002778/0.5365, allocations: 3.082 MB / 477.1 MB, free: 15.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.355e-05/0.5366, allocations: 6.359 kB / 477.1 MB, free: 15.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000294/0.5369, allocations: 54.48 kB / 477.2 MB, free: 15.26 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001988/0.5389, allocations: 0.9303 MB / 478.1 MB, free: 15.06 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.5393, allocations: 183.7 kB / 478.3 MB, free: 15.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000407/0.5397, allocations: 478 kB / 478.8 MB, free: 14.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.822e-05/0.5398, allocations: 9.359 kB / 478.8 MB, free: 14.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.54, allocations: 140.6 kB / 478.9 MB, free: 14.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.5402, allocations: 118.5 kB / 479 MB, free: 14.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.5402, allocations: 8.625 kB / 479 MB, free: 14.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002284/0.5425, allocations: 1.722 MB / 480.8 MB, free: 14.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.622e-05/0.5426, allocations: 74.97 kB / 480.8 MB, free: 14.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.5427, allocations: 130 kB / 481 MB, free: 14.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.5439, allocations: 1.121 MB / 482.1 MB, free: 14.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.544, allocations: 0 / 482.1 MB, free: 14.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.544, allocations: 0 / 482.1 MB, free: 14.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.544, allocations: 0 / 482.1 MB, free: 14.7 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.0006903/0.5447, allocations: 495.5 kB / 482.6 MB, free: 14.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.5447, allocations: 11.59 kB / 482.6 MB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003782/0.5485, allocations: 380.8 kB / 482.9 MB, free: 14.26 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.5488, allocations: 261.7 kB / 483.2 MB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.5488, allocations: 14.22 kB / 483.2 MB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.973e-05/0.5489, allocations: 26.84 kB / 483.2 MB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008628/0.5498, allocations: 494.2 kB / 483.7 MB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.5498, allocations: 0 / 483.7 MB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.176e-05/0.5499, allocations: 10.34 kB / 483.7 MB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.5499, allocations: 3.125 kB / 483.7 MB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009572/0.5509, allocations: 0.5143 MB / 484.3 MB, free: 13.98 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.002125/0.553, allocations: 0.9919 MB / 485.2 MB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000529/0.5535, allocations: 297.5 kB / 485.5 MB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.5538, allocations: 154 kB / 485.7 MB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001598/0.5554, allocations: 0.8958 MB / 486.6 MB, free: 12.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.5554, allocations: 41.06 kB / 486.6 MB, free: 12.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.573e-06/0.5554, allocations: 0 / 486.6 MB, free: 12.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=29): time 0.0008508/0.5563, allocations: 396.9 kB / 487 MB, free: 12.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.5564, allocations: 83.95 kB / 487.1 MB, free: 12.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.96e-05/0.5564, allocations: 121.7 kB / 487.2 MB, free: 12.39 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.5565, allocations: 32.48 kB / 487.2 MB, free: 12.36 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.271e-05/0.5566, allocations: 108.2 kB / 487.3 MB, free: 12.26 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.994e-05/0.5566, allocations: 109.4 kB / 487.5 MB, free: 12.19 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/0.5567, allocations: 37.14 kB / 487.5 MB, free: 12.17 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.848e-05/0.5568, allocations: 326.2 kB / 487.8 MB, free: 11.86 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.557, allocations: 114.3 kB / 487.9 MB, free: 11.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/0.5573, allocations: 207.6 kB / 488.1 MB, free: 11.76 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005081/0.5578, allocations: 345.3 kB / 488.5 MB, free: 11.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5578, allocations: 0 / 488.5 MB, free: 11.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006466/0.5585, allocations: 377.1 kB / 488.8 MB, free: 11.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.5585, allocations: 6.062 kB / 488.8 MB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.5585, allocations: 9.125 kB / 488.8 MB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.5585, allocations: 2.844 kB / 488.8 MB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/0.559, allocations: 76.56 kB / 488.9 MB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.559, allocations: 9.672 kB / 488.9 MB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/0.5593, allocations: 35.7 kB / 489 MB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/0.5594, allocations: 17.88 kB / 489 MB, free: 11.55 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.0001328/0.5595, allocations: 138.8 kB / 489.1 MB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.827e-05/0.5596, allocations: 25.31 kB / 489.1 MB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007335/0.5604, allocations: 369.5 kB / 489.5 MB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/0.5604, allocations: 2.594 kB / 489.5 MB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.5604, allocations: 0 / 489.5 MB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.5604, allocations: 2.484 kB / 489.5 MB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005465/0.5609, allocations: 364.3 kB / 489.9 MB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.561, allocations: 4 kB / 489.9 MB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004265/0.5614, allocations: 58.62 kB / 489.9 MB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.5614, allocations: 2.719 kB / 489.9 MB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/0.5614, allocations: 13.86 kB / 489.9 MB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.5615, allocations: 0 / 489.9 MB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5615, allocations: 0 / 489.9 MB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008036/0.5623, allocations: 0.5589 MB / 490.5 MB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.922e-05/0.5623, allocations: 95.33 kB / 490.6 MB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.923e-05/0.5624, allocations: 7.25 kB / 490.6 MB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004215/0.5628, allocations: 19.62 kB / 490.6 MB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.5629, allocations: 15.52 kB / 490.6 MB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/0.5629, allocations: 19.17 kB / 490.7 MB, free: 10.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.308e-05/0.5629, allocations: 89.14 kB / 490.7 MB, free: 10.63 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.563, allocations: 4 kB / 490.7 MB, free: 10.63 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007903/0.5638, allocations: 237.7 kB / 491 MB, free: 10.59 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.001044/0.5648, allocations: 434.2 kB / 491.4 MB, free: 10.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005419/0.5654, allocations: 295.5 kB / 491.7 MB, free: 10.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5654, allocations: 2.781 kB / 491.7 MB, free: 10.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002355/0.5656, allocations: 147.5 kB / 491.8 MB, free: 10.29 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006795/0.5663, allocations: 90.78 kB / 491.9 MB, free: 10.26 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.5675, allocations: 0.9176 MB / 492.8 MB, free: 9.566 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.5679, allocations: 0.7351 MB / 493.6 MB, free: 8.848 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000492/0.5684, allocations: 79.06 kB / 493.7 MB, free: 8.801 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.5685, allocations: 33.89 kB / 493.7 MB, free: 8.785 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.5685, allocations: 3.938 kB / 493.7 MB, free: 8.781 MB / 398.1 MB Notification: Performance of Templates: time 0.0125/0.581, allocations: 8.243 MB / 0.4902 GB, free: 4.582 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)