Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir") translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0009641/0.0009641, allocations: 89.12 kB / 16.65 MB, free: 6.598 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.001207/0.001207, allocations: 180 kB / 17.56 MB, free: 6.199 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.36/1.36, allocations: 205.4 MB / 223.7 MB, free: 12.99 MB / 190.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.0004376/0.0004377, allocations: 8 kB / 280.7 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07852/0.07897, allocations: 47.59 MB / 328.3 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3293/0.4083, allocations: 147 MB / 475.3 MB, free: 6.719 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003418/0.4118, allocations: 3.089 MB / 478.4 MB, free: 3.641 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.64e-05/0.4119, allocations: 8 kB / 478.4 MB, free: 3.633 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.4122, allocations: 55.7 kB / 478.5 MB, free: 3.578 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001939/0.4142, allocations: 0.9275 MB / 479.4 MB, free: 2.648 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004239/0.4146, allocations: 183.6 kB / 479.6 MB, free: 2.469 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004698/0.4151, allocations: 474.5 kB / 480.1 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.91e-05/0.4152, allocations: 13.08 kB / 480.1 MB, free: 1.992 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.4154, allocations: 144.1 kB / 480.2 MB, free: 1.852 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.4156, allocations: 115.6 kB / 480.3 MB, free: 1.738 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.4156, allocations: 8 kB / 480.3 MB, free: 1.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0027/0.4183, allocations: 1.726 MB / 482.1 MB, free: 0 / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.4185, allocations: 71.83 kB / 482.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.4186, allocations: 121.3 kB / 482.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.4201, allocations: 1.114 MB / 483.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4201, allocations: 7.938 kB / 483.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.4201, allocations: 0 / 483.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.4201, allocations: 0 / 483.4 MB, free: 14.68 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.0007367/0.4208, allocations: 0.4961 MB / 483.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.4209, allocations: 8.031 kB / 483.9 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003868/0.4248, allocations: 376.2 kB / 484.2 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.4251, allocations: 256 kB / 484.5 MB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.4251, allocations: 16.94 kB / 484.5 MB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.878e-05/0.4252, allocations: 19.94 kB / 484.5 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009546/0.4261, allocations: 0.4895 MB / 485 MB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.4262, allocations: 0 / 485 MB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-05/0.4262, allocations: 8 kB / 485 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.4262, allocations: 8 kB / 485 MB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.4273, allocations: 0.5075 MB / 485.5 MB, free: 12.41 MB / 382.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.002213/0.4295, allocations: 1.001 MB / 486.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005752/0.4301, allocations: 297.3 kB / 486.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/0.4304, allocations: 153.6 kB / 487 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001654/0.432, allocations: 0.8892 MB / 487.9 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.4321, allocations: 38.5 kB / 487.9 MB, free: 9.816 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.933e-06/0.4321, allocations: 8 kB / 487.9 MB, free: 9.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009461/0.433, allocations: 398.6 kB / 488.3 MB, free: 9.414 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.4331, allocations: 81.05 kB / 488.4 MB, free: 9.316 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.457e-05/0.4332, allocations: 113.8 kB / 488.5 MB, free: 9.195 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.223e-05/0.4332, allocations: 33.7 kB / 488.5 MB, free: 9.156 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.242e-05/0.4333, allocations: 108.4 kB / 488.6 MB, free: 9.043 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.746e-05/0.4334, allocations: 110.4 kB / 488.7 MB, free: 8.934 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-05/0.4335, allocations: 33.7 kB / 488.8 MB, free: 8.895 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.4336, allocations: 326.8 kB / 489.1 MB, free: 8.566 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/0.4338, allocations: 120.6 kB / 489.2 MB, free: 8.449 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.4341, allocations: 203.7 kB / 489.4 MB, free: 8.215 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005521/0.4347, allocations: 343 kB / 489.8 MB, free: 7.844 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.4347, allocations: 0 / 489.8 MB, free: 7.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007133/0.4354, allocations: 386.1 kB / 490.1 MB, free: 7.461 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.4354, allocations: 4 kB / 490.1 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.4354, allocations: 4 kB / 490.1 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.4355, allocations: 4 kB / 490.1 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.4359, allocations: 75.89 kB / 490.2 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.4359, allocations: 7.938 kB / 490.2 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003269/0.4363, allocations: 32.09 kB / 490.3 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.77e-05/0.4363, allocations: 23.98 kB / 490.3 MB, free: 7.312 MB / 382.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.4365, allocations: 133.8 kB / 490.4 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.862e-05/0.4366, allocations: 31.62 kB / 490.4 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007961/0.4374, allocations: 374.8 kB / 490.8 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.4374, allocations: 4 kB / 490.8 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.4374, allocations: 4 kB / 490.8 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.4374, allocations: 0 / 490.8 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005587/0.438, allocations: 360.6 kB / 491.2 MB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.438, allocations: 4 kB / 491.2 MB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004399/0.4384, allocations: 55.91 kB / 491.2 MB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.4384, allocations: 4 kB / 491.2 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.269e-05/0.4385, allocations: 11.98 kB / 491.2 MB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4385, allocations: 0 / 491.2 MB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.4385, allocations: 8 kB / 491.2 MB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008606/0.4394, allocations: 0.5529 MB / 491.8 MB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.4394, allocations: 92.86 kB / 491.9 MB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.24e-05/0.4395, allocations: 8.062 kB / 491.9 MB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004336/0.4399, allocations: 20.86 kB / 491.9 MB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.44, allocations: 19.97 kB / 491.9 MB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.112e-05/0.44, allocations: 19.98 kB / 492 MB, free: 5.535 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.533e-05/0.4401, allocations: 91.27 kB / 492 MB, free: 5.445 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4401, allocations: 0 / 492 MB, free: 5.445 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008023/0.4409, allocations: 231.8 kB / 492.3 MB, free: 5.219 MB / 382.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.001051/0.4419, allocations: 434.6 kB / 492.7 MB, free: 4.781 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005939/0.4425, allocations: 286.1 kB / 493 MB, free: 4.504 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4426, allocations: 0.625 kB / 493 MB, free: 4.504 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002642/0.4428, allocations: 155.8 kB / 493.1 MB, free: 4.352 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006929/0.4435, allocations: 80.55 kB / 493.2 MB, free: 4.273 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.4448, allocations: 0.9298 MB / 494.1 MB, free: 3.316 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.445, allocations: 0.7287 MB / 494.9 MB, free: 2.562 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005313/0.4456, allocations: 84.45 kB / 494.9 MB, free: 2.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.4457, allocations: 35.42 kB / 495 MB, free: 2.445 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4457, allocations: 0 / 495 MB, free: 2.445 MB / 382.1 MB Notification: Performance of Templates: time 0.01333/0.4591, allocations: 8.241 MB / 0.4914 GB, free: 10.2 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1)