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.001328/0.001328, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001512/0.001512, allocations: 177.3 kB / 15.94 MB, free: 228 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.349/1.349, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.0004332/0.0004333, allocations: 12 kB / 278.9 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2071, allocations: 47.59 MB / 326.4 MB, free: 1.445 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.1404/0.3475, allocations: 125.9 MB / 452.4 MB, free: 5.234 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003341/0.3509, allocations: 2.518 MB / 454.9 MB, free: 2.711 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.713e-05/0.351, allocations: 4 kB / 454.9 MB, free: 2.707 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002817/0.3513, allocations: 47.72 kB / 455 MB, free: 2.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00236/0.3537, allocations: 0.701 MB / 455.7 MB, free: 1.957 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005666/0.3543, allocations: 163.7 kB / 455.8 MB, free: 1.797 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004444/0.3547, allocations: 211.6 kB / 456 MB, free: 1.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.118e-05/0.3548, allocations: 5.125 kB / 456 MB, free: 1.582 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004211/0.3552, allocations: 163.5 kB / 456.2 MB, free: 1.422 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.3555, allocations: 83.73 kB / 456.3 MB, free: 1.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.308e-05/0.3555, allocations: 12 kB / 456.3 MB, free: 1.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002765/0.3583, allocations: 1.088 MB / 457.4 MB, free: 244 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.3584, allocations: 71.84 kB / 457.4 MB, free: 172 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.561e-05/0.3585, allocations: 61.58 kB / 457.5 MB, free: 104 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2025/0.561, allocations: 0.5853 MB / 458.1 MB, free: 2.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.561, allocations: 0 / 458.1 MB, free: 2.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.561, allocations: 1.562 kB / 458.1 MB, free: 2.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.5611, allocations: 0 / 458.1 MB, free: 2.793 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.0008802/0.5619, allocations: 0.4917 MB / 458.6 MB, free: 18.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.562, allocations: 9.438 kB / 458.6 MB, free: 18.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/0.5635, allocations: 204.7 kB / 458.8 MB, free: 18.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.5638, allocations: 233.8 kB / 459 MB, free: 18.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.5639, allocations: 11.75 kB / 459 MB, free: 18.15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.058e-05/0.5639, allocations: 24 kB / 459 MB, free: 18.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006277/0.5646, allocations: 370.3 kB / 459.4 MB, free: 18.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.5646, allocations: 2.672 kB / 459.4 MB, free: 18.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.491e-05/0.5646, allocations: 6.219 kB / 459.4 MB, free: 18.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.5647, allocations: 4.781 kB / 459.4 MB, free: 18.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006502/0.5653, allocations: 410 kB / 459.8 MB, free: 18.1 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.001575/0.5669, allocations: 0.8191 MB / 460.6 MB, free: 17.72 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003534/0.5673, allocations: 221.2 kB / 460.9 MB, free: 17.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001359/0.5686, allocations: 0.6723 MB / 461.5 MB, free: 17.1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.5687, allocations: 36.62 kB / 461.6 MB, free: 17.06 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.683e-06/0.5687, allocations: 0 / 461.6 MB, free: 17.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=29): time 0.001275/0.57, allocations: 361.4 kB / 461.9 MB, free: 17.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/0.57, allocations: 87.38 kB / 462 MB, free: 16.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.5702, allocations: 122 kB / 462.1 MB, free: 16.81 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.794e-05/0.5702, allocations: 32.89 kB / 462.2 MB, free: 16.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.913e-05/0.5703, allocations: 114.4 kB / 462.3 MB, free: 16.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.962e-05/0.5704, allocations: 100.1 kB / 462.4 MB, free: 16.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/0.5704, allocations: 5.844 kB / 462.4 MB, free: 16.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5706, allocations: 326.9 kB / 462.7 MB, free: 16.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.5708, allocations: 96.12 kB / 462.8 MB, free: 16.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.571, allocations: 185.5 kB / 463 MB, free: 16.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.5713, allocations: 119 kB / 463.1 MB, free: 16.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.5713, allocations: 0.8438 kB / 463.1 MB, free: 16.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006651/0.572, allocations: 347 kB / 463.4 MB, free: 16.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.572, allocations: 6.188 kB / 463.4 MB, free: 16.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.572, allocations: 2.469 kB / 463.4 MB, free: 16.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.572, allocations: 4.906 kB / 463.4 MB, free: 16.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/0.5724, allocations: 74.23 kB / 463.5 MB, free: 16.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.5724, allocations: 4.312 kB / 463.5 MB, free: 16.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.5727, allocations: 40.92 kB / 463.6 MB, free: 16.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.084e-05/0.5727, allocations: 18.16 kB / 463.6 MB, free: 16.12 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.0001943/0.5729, allocations: 144 kB / 463.7 MB, free: 16.01 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.198e-05/0.573, allocations: 12.56 kB / 463.7 MB, free: 16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006515/0.5737, allocations: 338.1 kB / 464.1 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.5737, allocations: 3.031 kB / 464.1 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.5737, allocations: 0 / 464.1 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.5737, allocations: 2.766 kB / 464.1 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004909/0.5742, allocations: 339.6 kB / 464.4 MB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.5742, allocations: 0 / 464.4 MB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003152/0.5746, allocations: 62.31 kB / 464.4 MB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.5746, allocations: 0 / 464.4 MB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.5746, allocations: 14.95 kB / 464.5 MB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.5746, allocations: 0 / 464.5 MB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5746, allocations: 4.656 kB / 464.5 MB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006904/0.5753, allocations: 0.516 MB / 465 MB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.843e-05/0.5754, allocations: 93.55 kB / 465.1 MB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.5755, allocations: 11.59 kB / 465.1 MB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003248/0.5758, allocations: 14.17 kB / 465.1 MB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.5759, allocations: 24.94 kB / 465.1 MB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/0.5759, allocations: 18.22 kB / 465.1 MB, free: 15.37 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.688e-05/0.5759, allocations: 89.58 kB / 465.2 MB, free: 15.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.576, allocations: 0 / 465.2 MB, free: 15.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000878/0.5768, allocations: 220.8 kB / 465.4 MB, free: 15.26 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.0008317/0.5777, allocations: 361.4 kB / 465.8 MB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004179/0.5781, allocations: 246.1 kB / 466 MB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5781, allocations: 8.984 kB / 466 MB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.5783, allocations: 123.9 kB / 466.2 MB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/0.5788, allocations: 82.22 kB / 466.2 MB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.58, allocations: 0.8923 MB / 467.1 MB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.5803, allocations: 0.7333 MB / 467.9 MB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003828/0.5807, allocations: 76.94 kB / 468 MB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.909e-05/0.5808, allocations: 33.31 kB / 468 MB, free: 13.8 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5808, allocations: 0 / 468 MB, free: 13.8 MB / 398.1 MB Notification: Performance of Templates: time 0.01125/0.5921, allocations: 7.947 MB / 475.9 MB, free: 13.2 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: