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.001359/0.001359, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.002051/0.002051, allocations: 199.8 kB / 16.14 MB, free: 6.797 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.381/1.381, allocations: 205.1 MB / 222 MB, free: 4.766 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.001188/0.001188, allocations: 47.94 kB / 278 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2146, allocations: 46.63 MB / 324.7 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3412/0.5558, allocations: 148.9 MB / 473.6 MB, free: 14.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002899/0.5588, allocations: 3.127 MB / 476.7 MB, free: 14.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.5589, allocations: 1.094 kB / 476.7 MB, free: 14.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003244/0.5593, allocations: 57.8 kB / 476.8 MB, free: 14.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002083/0.5614, allocations: 0.9309 MB / 477.7 MB, free: 14.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.5618, allocations: 181.1 kB / 477.9 MB, free: 14.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004147/0.5622, allocations: 481.8 kB / 478.4 MB, free: 14.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.23e-05/0.5623, allocations: 9.875 kB / 478.4 MB, free: 14.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.5625, allocations: 140.5 kB / 478.5 MB, free: 14.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.5627, allocations: 115.6 kB / 478.6 MB, free: 14.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.5627, allocations: 6.844 kB / 478.6 MB, free: 14.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002755/0.5655, allocations: 1.725 MB / 480.4 MB, free: 14.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.634e-05/0.5656, allocations: 76.52 kB / 480.4 MB, free: 14.26 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.5657, allocations: 100.4 kB / 480.5 MB, free: 14.26 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.5673, allocations: 1.122 MB / 481.7 MB, free: 14.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5674, allocations: 2.438 kB / 481.7 MB, free: 14.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.5674, allocations: 0 / 481.7 MB, free: 14.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.5674, allocations: 0 / 481.7 MB, free: 14.18 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.0009099/0.5683, allocations: 0.5412 MB / 482.2 MB, free: 13.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.5683, allocations: 10.12 kB / 482.2 MB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003728/0.5721, allocations: 383.7 kB / 482.6 MB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.5724, allocations: 260.1 kB / 482.8 MB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.5725, allocations: 15.22 kB / 482.9 MB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.415e-05/0.5725, allocations: 20.59 kB / 482.9 MB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009143/0.5735, allocations: 0.4911 MB / 483.4 MB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.5735, allocations: 0 / 483.4 MB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.793e-05/0.5736, allocations: 7.578 kB / 483.4 MB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.5736, allocations: 4.812 kB / 483.4 MB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009469/0.5745, allocations: 0.506 MB / 483.9 MB, free: 13.46 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.002148/0.5767, allocations: 1 MB / 484.9 MB, free: 12.99 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005409/0.5772, allocations: 292 kB / 485.2 MB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.5775, allocations: 155.8 kB / 485.3 MB, free: 12.92 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001665/0.5792, allocations: 0.8924 MB / 486.2 MB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.5792, allocations: 38.5 kB / 486.3 MB, free: 12.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 2.094e-06/0.5792, allocations: 0 / 486.3 MB, free: 12.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009425/0.5802, allocations: 398.6 kB / 486.6 MB, free: 12.08 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.5802, allocations: 81.58 kB / 486.7 MB, free: 11.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.792e-05/0.5803, allocations: 117.9 kB / 486.8 MB, free: 11.88 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/0.5804, allocations: 32.95 kB / 486.9 MB, free: 11.85 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.024e-05/0.5804, allocations: 111.5 kB / 487 MB, free: 11.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.648e-05/0.5805, allocations: 111.7 kB / 487.1 MB, free: 11.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.5806, allocations: 60.55 kB / 487.1 MB, free: 11.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.5808, allocations: 321.8 kB / 487.5 MB, free: 11.35 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.581, allocations: 120.2 kB / 487.6 MB, free: 11.35 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.5813, allocations: 209 kB / 487.8 MB, free: 11.24 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004936/0.5818, allocations: 345.4 kB / 488.1 MB, free: 11.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5818, allocations: 0 / 488.1 MB, free: 11.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006706/0.5825, allocations: 385.8 kB / 488.5 MB, free: 11.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.5825, allocations: 5.125 kB / 488.5 MB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.5825, allocations: 2.875 kB / 488.5 MB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.5825, allocations: 8.75 kB / 488.5 MB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00043/0.583, allocations: 75.36 kB / 488.6 MB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.583, allocations: 5.719 kB / 488.6 MB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.5833, allocations: 37.31 kB / 488.6 MB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-05/0.5834, allocations: 20.69 kB / 488.6 MB, free: 11.03 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.0001514/0.5835, allocations: 142.6 kB / 488.8 MB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.5837, allocations: 19.28 kB / 488.8 MB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007536/0.5844, allocations: 377.8 kB / 489.2 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.5844, allocations: 2.531 kB / 489.2 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.5844, allocations: 0 / 489.2 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.5845, allocations: 2.719 kB / 489.2 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005602/0.585, allocations: 369 kB / 489.5 MB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.585, allocations: 2.969 kB / 489.5 MB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004232/0.5855, allocations: 67.8 kB / 489.6 MB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5855, allocations: 0 / 489.6 MB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/0.5855, allocations: 14.03 kB / 489.6 MB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.5855, allocations: 2.75 kB / 489.6 MB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5855, allocations: 0 / 489.6 MB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008331/0.5864, allocations: 0.5515 MB / 490.2 MB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.894e-05/0.5864, allocations: 90.64 kB / 490.3 MB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.591e-05/0.5865, allocations: 11.31 kB / 490.3 MB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004077/0.5869, allocations: 15.53 kB / 490.3 MB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.5869, allocations: 21.69 kB / 490.3 MB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/0.587, allocations: 17.86 kB / 490.3 MB, free: 10.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.45e-05/0.587, allocations: 88.48 kB / 490.4 MB, free: 10.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5871, allocations: 0 / 490.4 MB, free: 10.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001024/0.5881, allocations: 246.8 kB / 490.7 MB, free: 10.15 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.00109/0.5892, allocations: 421 kB / 491.1 MB, free: 10.01 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005639/0.5898, allocations: 296 kB / 491.4 MB, free: 9.992 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5898, allocations: 0 / 491.4 MB, free: 9.992 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002454/0.59, allocations: 150.3 kB / 491.5 MB, free: 9.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006413/0.5907, allocations: 86.5 kB / 491.6 MB, free: 9.973 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.5919, allocations: 0.804 MB / 492.4 MB, free: 9.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.5922, allocations: 0.7341 MB / 493.1 MB, free: 8.734 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005083/0.5927, allocations: 81.92 kB / 493.2 MB, free: 8.695 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.5929, allocations: 33.23 kB / 493.2 MB, free: 8.688 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5929, allocations: 2.469 kB / 493.2 MB, free: 8.688 MB / 398.1 MB Notification: Performance of Templates: time 0.01258/0.6055, allocations: 8.261 MB / 0.4898 GB, free: 4.492 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)