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.001054/0.001054, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.007966/0.007966, allocations: 171.8 kB / 16.26 MB, free: 6.613 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.373/1.373, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.000464/0.0004639, allocations: 8 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2117, allocations: 47.59 MB / 327 MB, free: 1.371 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3293/0.541, allocations: 147 MB / 474.1 MB, free: 15.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002966/0.5441, allocations: 3.087 MB / 477.1 MB, free: 15.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.123e-05/0.5441, allocations: 3.312 kB / 477.1 MB, free: 15.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.5444, allocations: 56.73 kB / 477.2 MB, free: 15.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.5462, allocations: 0.9297 MB / 478.1 MB, free: 15.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.5466, allocations: 186.4 kB / 478.3 MB, free: 15.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003832/0.547, allocations: 476.9 kB / 478.8 MB, free: 14.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.268e-05/0.547, allocations: 16.55 kB / 478.8 MB, free: 14.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.5472, allocations: 134.3 kB / 478.9 MB, free: 14.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.5474, allocations: 119.5 kB / 479 MB, free: 14.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.5474, allocations: 8.594 kB / 479 MB, free: 14.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002308/0.5498, allocations: 1.726 MB / 480.8 MB, free: 14.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.855e-05/0.5498, allocations: 73.5 kB / 480.8 MB, free: 14.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.55, allocations: 122 kB / 481 MB, free: 14.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.5512, allocations: 1.117 MB / 482.1 MB, free: 14.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5512, allocations: 3.5 kB / 482.1 MB, free: 14.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5512, allocations: 3.938 kB / 482.1 MB, free: 14.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.5512, allocations: 0 / 482.1 MB, free: 14.66 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.0007585/0.552, allocations: 0.4901 MB / 482.6 MB, free: 14.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.552, allocations: 9.438 kB / 482.6 MB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003799/0.5558, allocations: 377.5 kB / 483 MB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/0.5562, allocations: 269.2 kB / 483.2 MB, free: 14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.5562, allocations: 11.09 kB / 483.2 MB, free: 14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.888e-05/0.5563, allocations: 22.62 kB / 483.3 MB, free: 14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000857/0.5572, allocations: 494.4 kB / 483.7 MB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.5572, allocations: 0 / 483.7 MB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.135e-05/0.5572, allocations: 6.156 kB / 483.7 MB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.5573, allocations: 7.688 kB / 483.7 MB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009257/0.5582, allocations: 0.5137 MB / 484.3 MB, free: 13.94 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.002142/0.5603, allocations: 0.9886 MB / 485.3 MB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005242/0.5609, allocations: 292 kB / 485.5 MB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002505/0.5611, allocations: 160 kB / 485.7 MB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001611/0.5628, allocations: 0.8906 MB / 486.6 MB, free: 12.65 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.5628, allocations: 41.28 kB / 486.6 MB, free: 12.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.753e-06/0.5628, allocations: 2.734 kB / 486.6 MB, free: 12.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=29): time 0.0008598/0.5637, allocations: 393.5 kB / 487 MB, free: 12.56 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.5637, allocations: 87.98 kB / 487.1 MB, free: 12.46 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.691e-05/0.5638, allocations: 119 kB / 487.2 MB, free: 12.36 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/0.5639, allocations: 29.58 kB / 487.2 MB, free: 12.33 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.5639, allocations: 107.3 kB / 487.3 MB, free: 12.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.809e-05/0.564, allocations: 106.5 kB / 487.5 MB, free: 12.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.5641, allocations: 36.34 kB / 487.5 MB, free: 12.14 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.846e-05/0.5642, allocations: 321.8 kB / 487.8 MB, free: 11.83 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.5644, allocations: 119.8 kB / 487.9 MB, free: 11.83 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002556/0.5647, allocations: 203.4 kB / 488.1 MB, free: 11.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000497/0.5652, allocations: 345.7 kB / 488.5 MB, free: 11.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.5652, allocations: 0 / 488.5 MB, free: 11.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006631/0.5659, allocations: 386.3 kB / 488.8 MB, free: 11.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.5659, allocations: 7.906 kB / 488.8 MB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.5659, allocations: 2.938 kB / 488.8 MB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.5659, allocations: 2.906 kB / 488.8 MB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000432/0.5664, allocations: 76.95 kB / 488.9 MB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.5664, allocations: 10.12 kB / 488.9 MB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003268/0.5667, allocations: 32.61 kB / 489 MB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.485e-05/0.5668, allocations: 23.75 kB / 489 MB, free: 11.51 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.000146/0.5669, allocations: 137.4 kB / 489.1 MB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.932e-05/0.567, allocations: 25.09 kB / 489.1 MB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007681/0.5678, allocations: 375.1 kB / 489.5 MB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.5678, allocations: 2.938 kB / 489.5 MB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.5678, allocations: 0 / 489.5 MB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.5679, allocations: 9.641 kB / 489.5 MB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005522/0.5684, allocations: 362.5 kB / 489.9 MB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5684, allocations: 2.938 kB / 489.9 MB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004201/0.5689, allocations: 59.38 kB / 489.9 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.5689, allocations: 0 / 489.9 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.45e-05/0.5689, allocations: 16.86 kB / 490 MB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.5689, allocations: 0 / 490 MB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5689, allocations: 3 kB / 490 MB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008164/0.5698, allocations: 0.5573 MB / 490.5 MB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.009e-05/0.5698, allocations: 93.98 kB / 490.6 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.942e-05/0.5699, allocations: 6.531 kB / 490.6 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004166/0.5703, allocations: 19.86 kB / 490.6 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.5703, allocations: 17.34 kB / 490.6 MB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.861e-05/0.5704, allocations: 22.86 kB / 490.7 MB, free: 10.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.04e-05/0.5704, allocations: 88.3 kB / 490.8 MB, free: 10.58 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5704, allocations: 0 / 490.8 MB, free: 10.58 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008471/0.5713, allocations: 231.5 kB / 491 MB, free: 10.55 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.00104/0.5723, allocations: 444.5 kB / 491.4 MB, free: 10.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005411/0.5729, allocations: 288.2 kB / 491.7 MB, free: 10.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5729, allocations: 0 / 491.7 MB, free: 10.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002355/0.5732, allocations: 150.5 kB / 491.8 MB, free: 10.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006772/0.5738, allocations: 82.73 kB / 491.9 MB, free: 10.22 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.5751, allocations: 0.926 MB / 492.9 MB, free: 9.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.5754, allocations: 0.7315 MB / 493.6 MB, free: 8.801 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005077/0.5759, allocations: 78.44 kB / 493.7 MB, free: 8.754 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.576, allocations: 34.61 kB / 493.7 MB, free: 8.742 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.576, allocations: 0 / 493.7 MB, free: 8.742 MB / 398.1 MB Notification: Performance of Templates: time 0.01299/0.589, allocations: 8.237 MB / 0.4902 GB, free: 4.547 MB / 398.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)