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.001178/0.001179, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.329/1.329, allocations: 205.1 MB / 222.4 MB, free: 4.637 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.001243/0.001243, allocations: 55.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.197, allocations: 46.63 MB / 325.3 MB, free: 1.844 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3462/0.5433, allocations: 151.2 MB / 476.5 MB, free: 14.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002802/0.5461, allocations: 3.035 MB / 479.5 MB, free: 14.33 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.072e-05/0.5462, allocations: 0 / 479.5 MB, free: 14.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.5466, allocations: 65.56 kB / 479.6 MB, free: 14.31 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002064/0.5487, allocations: 1.005 MB / 480.6 MB, free: 14.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004266/0.5491, allocations: 196.3 kB / 480.8 MB, free: 14.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003454/0.5494, allocations: 360.7 kB / 481.1 MB, free: 13.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.5495, allocations: 8.656 kB / 481.1 MB, free: 13.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.5497, allocations: 143.6 kB / 481.3 MB, free: 13.97 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.5499, allocations: 114.8 kB / 481.4 MB, free: 13.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.5499, allocations: 9.438 kB / 481.4 MB, free: 13.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002223/0.5522, allocations: 1.504 MB / 482.9 MB, free: 13.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.216e-05/0.5523, allocations: 74.56 kB / 483 MB, free: 13.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.5524, allocations: 104.5 kB / 483.1 MB, free: 13.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.5536, allocations: 0.9908 MB / 484.1 MB, free: 13.76 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5536, allocations: 0 / 484.1 MB, free: 13.76 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.5536, allocations: 0 / 484.1 MB, free: 13.76 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.5536, allocations: 6.25 kB / 484.1 MB, free: 13.75 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.0008745/0.5545, allocations: 0.5374 MB / 484.6 MB, free: 13.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.5545, allocations: 12.64 kB / 484.6 MB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003966/0.5585, allocations: 384.7 kB / 485 MB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.5589, allocations: 263.2 kB / 485.3 MB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.5589, allocations: 14.66 kB / 485.3 MB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.902e-05/0.559, allocations: 23.47 kB / 485.3 MB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008898/0.5599, allocations: 489.7 kB / 485.8 MB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.5599, allocations: 1.812 kB / 485.8 MB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.187e-05/0.56, allocations: 10.12 kB / 485.8 MB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.56, allocations: 2.75 kB / 485.8 MB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009623/0.5609, allocations: 0.5169 MB / 486.3 MB, free: 13.02 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.00214/0.5631, allocations: 0.9945 MB / 487.3 MB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000523/0.5636, allocations: 295.6 kB / 487.6 MB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.5639, allocations: 156.1 kB / 487.7 MB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001643/0.5655, allocations: 0.8866 MB / 488.6 MB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.5656, allocations: 39.12 kB / 488.7 MB, free: 11.7 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.503e-06/0.5656, allocations: 0 / 488.7 MB, free: 11.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=29): time 0.0008819/0.5665, allocations: 409.8 kB / 489.1 MB, free: 11.64 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.5665, allocations: 79.83 kB / 489.1 MB, free: 11.55 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.606e-05/0.5666, allocations: 113.5 kB / 489.3 MB, free: 11.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.5667, allocations: 29.39 kB / 489.3 MB, free: 11.42 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/0.5667, allocations: 109.9 kB / 489.4 MB, free: 11.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.872e-05/0.5668, allocations: 108.8 kB / 489.5 MB, free: 11.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.5669, allocations: 62.8 kB / 489.6 MB, free: 11.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.567, allocations: 328.9 kB / 489.9 MB, free: 10.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.5672, allocations: 117.6 kB / 490 MB, free: 10.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.5675, allocations: 202.6 kB / 490.2 MB, free: 10.81 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005012/0.568, allocations: 343.6 kB / 490.5 MB, free: 10.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.568, allocations: 0 / 490.5 MB, free: 10.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006661/0.5687, allocations: 387.8 kB / 490.9 MB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.5687, allocations: 12.17 kB / 490.9 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5688, allocations: 2.875 kB / 490.9 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.5688, allocations: 4.906 kB / 490.9 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004428/0.5692, allocations: 73.88 kB / 491 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.5692, allocations: 6.875 kB / 491 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003046/0.5696, allocations: 31.38 kB / 491 MB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/0.5696, allocations: 17.91 kB / 491.1 MB, free: 10.6 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.0001346/0.5697, allocations: 142.2 kB / 491.2 MB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.5699, allocations: 17.59 kB / 491.2 MB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007306/0.5706, allocations: 366.9 kB / 491.6 MB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.5706, allocations: 4.812 kB / 491.6 MB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.5706, allocations: 2.531 kB / 491.6 MB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.5706, allocations: 5.125 kB / 491.6 MB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005493/0.5712, allocations: 371.8 kB / 491.9 MB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.5712, allocations: 3.938 kB / 491.9 MB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004241/0.5716, allocations: 60.28 kB / 492 MB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.5716, allocations: 1.203 kB / 492 MB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-05/0.5717, allocations: 10.22 kB / 492 MB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.696e-06/0.5717, allocations: 2.625 kB / 492 MB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.5717, allocations: 4.797 kB / 492 MB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008129/0.5725, allocations: 0.5584 MB / 492.6 MB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.5726, allocations: 92.42 kB / 492.7 MB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/0.5726, allocations: 4.969 kB / 492.7 MB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004028/0.573, allocations: 16.94 kB / 492.7 MB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.5731, allocations: 16.86 kB / 492.7 MB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.632e-05/0.5731, allocations: 18.84 kB / 492.7 MB, free: 9.848 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.783e-05/0.5732, allocations: 91.75 kB / 492.8 MB, free: 9.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5732, allocations: 1.203 kB / 492.8 MB, free: 9.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008999/0.5741, allocations: 237.1 kB / 493 MB, free: 9.73 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.0009837/0.5751, allocations: 432.6 kB / 493.5 MB, free: 9.578 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005635/0.5756, allocations: 311.7 kB / 493.8 MB, free: 9.555 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5757, allocations: 2.781 kB / 493.8 MB, free: 9.555 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.5759, allocations: 145.5 kB / 493.9 MB, free: 9.547 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006815/0.5766, allocations: 86.08 kB / 494 MB, free: 9.531 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.5777, allocations: 0.7241 MB / 494.7 MB, free: 9.062 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.578, allocations: 0.7324 MB / 495.5 MB, free: 8.367 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004813/0.5785, allocations: 87.33 kB / 495.5 MB, free: 8.324 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.5787, allocations: 37.44 kB / 495.6 MB, free: 8.312 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.5787, allocations: 0 / 495.6 MB, free: 8.312 MB / 398.1 MB Notification: Performance of Templates: time 0.01262/0.5913, allocations: 8.438 MB / 0.4922 GB, free: 4.094 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)