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.0009953/0.0009953, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001252/0.001252, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.0004258/0.0004258, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2071, allocations: 47.6 MB / 326.5 MB, free: 1.508 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3204/0.5275, allocations: 137.1 MB / 463.6 MB, free: 1.926 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002786/0.5303, allocations: 2.827 MB / 466.4 MB, free: 1.887 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.811e-05/0.5304, allocations: 1.188 kB / 466.4 MB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002343/0.5306, allocations: 45.89 kB / 466.5 MB, free: 1.883 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001476/0.5321, allocations: 0.6866 MB / 467.1 MB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003981/0.5325, allocations: 167.6 kB / 467.3 MB, free: 1.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004087/0.533, allocations: 403.4 kB / 467.7 MB, free: 1.848 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.828e-05/0.533, allocations: 14.77 kB / 467.7 MB, free: 1.848 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.5332, allocations: 134.1 kB / 467.8 MB, free: 1.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.5334, allocations: 121.1 kB / 468 MB, free: 1.844 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.5335, allocations: 8.312 kB / 468 MB, free: 1.844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001909/0.5354, allocations: 1.046 MB / 469 MB, free: 1.836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.207e-05/0.5355, allocations: 75.33 kB / 469.1 MB, free: 1.836 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.752e-05/0.5355, allocations: 63.31 kB / 469.2 MB, free: 1.805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006145/0.5362, allocations: 0.6063 MB / 469.8 MB, free: 1.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5362, allocations: 4 kB / 469.8 MB, free: 1.766 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5362, allocations: 0 / 469.8 MB, free: 1.766 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.5362, allocations: 0 / 469.8 MB, free: 1.766 MB / 382.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.0007195/0.5369, allocations: 0.4892 MB / 470.3 MB, free: 17.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.537, allocations: 9.344 kB / 470.3 MB, free: 17.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00326/0.5402, allocations: 376.4 kB / 470.6 MB, free: 17.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.5405, allocations: 266.9 kB / 470.9 MB, free: 17.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.5405, allocations: 11.47 kB / 470.9 MB, free: 17.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.178e-05/0.5406, allocations: 23.19 kB / 470.9 MB, free: 17.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008077/0.5414, allocations: 495.3 kB / 471.4 MB, free: 17.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.5414, allocations: 0 / 471.4 MB, free: 17.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.366e-05/0.5415, allocations: 9.25 kB / 471.4 MB, free: 17.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.5415, allocations: 5.125 kB / 471.4 MB, free: 17.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008668/0.5424, allocations: 0.508 MB / 471.9 MB, free: 17.06 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.001932/0.5443, allocations: 0.9952 MB / 472.9 MB, free: 16.6 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.5448, allocations: 295.4 kB / 473.2 MB, free: 16.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.5451, allocations: 151.8 kB / 473.4 MB, free: 16.53 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001458/0.5465, allocations: 0.8948 MB / 474.3 MB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.5466, allocations: 43.47 kB / 474.3 MB, free: 15.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.633e-06/0.5466, allocations: 0 / 474.3 MB, free: 15.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=29): time 0.0008235/0.5474, allocations: 406.6 kB / 474.7 MB, free: 15.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.5475, allocations: 84.23 kB / 474.8 MB, free: 15.58 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.119e-05/0.5475, allocations: 110.9 kB / 474.9 MB, free: 15.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.5476, allocations: 28.95 kB / 474.9 MB, free: 15.45 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.635e-05/0.5476, allocations: 111.9 kB / 475 MB, free: 15.35 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.23e-05/0.5477, allocations: 112.3 kB / 475.1 MB, free: 15.28 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.5477, allocations: 10.31 kB / 475.1 MB, free: 15.28 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.969e-05/0.5478, allocations: 324.9 kB / 475.5 MB, free: 14.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.548, allocations: 113.6 kB / 475.6 MB, free: 14.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.5483, allocations: 207.1 kB / 475.8 MB, free: 14.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.5485, allocations: 140.7 kB / 475.9 MB, free: 14.86 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.5485, allocations: 0 / 475.9 MB, free: 14.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006041/0.5491, allocations: 364.7 kB / 476.3 MB, free: 14.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.5492, allocations: 13.05 kB / 476.3 MB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.5492, allocations: 3.062 kB / 476.3 MB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.5492, allocations: 5.188 kB / 476.3 MB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003859/0.5496, allocations: 79.62 kB / 476.4 MB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.5496, allocations: 2.188 kB / 476.4 MB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002672/0.5499, allocations: 37.8 kB / 476.4 MB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.222e-05/0.5499, allocations: 20.05 kB / 476.4 MB, free: 14.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.5501, allocations: 144.3 kB / 476.6 MB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.066e-05/0.5502, allocations: 15.75 kB / 476.6 MB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007007/0.5509, allocations: 379.7 kB / 477 MB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.5509, allocations: 6.406 kB / 477 MB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.5509, allocations: 0.875 kB / 477 MB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.5509, allocations: 0 / 477 MB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005091/0.5514, allocations: 369.3 kB / 477.3 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.5514, allocations: 0 / 477.3 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003848/0.5518, allocations: 61.78 kB / 477.4 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.5518, allocations: 2.469 kB / 477.4 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/0.5519, allocations: 16.5 kB / 477.4 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.5519, allocations: 0 / 477.4 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.5519, allocations: 0 / 477.4 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007497/0.5526, allocations: 0.5572 MB / 478 MB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.5527, allocations: 99.42 kB / 478.1 MB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.5527, allocations: 8.922 kB / 478.1 MB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003679/0.5531, allocations: 20.12 kB / 478.1 MB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.5531, allocations: 18 kB / 478.1 MB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.5532, allocations: 17.8 kB / 478.1 MB, free: 14.04 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.445e-05/0.5532, allocations: 96.03 kB / 478.2 MB, free: 13.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5532, allocations: 0 / 478.2 MB, free: 13.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006738/0.5539, allocations: 224 kB / 478.4 MB, free: 13.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007809/0.5547, allocations: 360.8 kB / 478.8 MB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005062/0.5552, allocations: 293.2 kB / 479.1 MB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5552, allocations: 3.344 kB / 479.1 MB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.5555, allocations: 145.8 kB / 479.2 MB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006124/0.5561, allocations: 84.56 kB / 479.3 MB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000993/0.5571, allocations: 0.9 MB / 480.2 MB, free: 13.21 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.5574, allocations: 0.7412 MB / 480.9 MB, free: 12.51 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004939/0.5579, allocations: 82.11 kB / 481 MB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.558, allocations: 35.58 kB / 481.1 MB, free: 12.45 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.558, allocations: 2.906 kB / 481.1 MB, free: 12.45 MB / 398.1 MB Notification: Performance of Templates: time 0.01127/0.5693, allocations: 8.037 MB / 489.1 MB, free: 10.78 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)