Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.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.FlueGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas") translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 110.3 kB / 16.51 MB, free: 6.715 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.001159/0.001159, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.454/1.454, allocations: 205.1 MB / 223.3 MB, free: 12.41 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.001232/0.001232, allocations: 39.94 kB / 279.3 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08786/0.0891, allocations: 46.63 MB / 326 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3451/0.4343, allocations: 148.8 MB / 474.7 MB, free: 2.879 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.4367, allocations: 2.152 MB / 476.9 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.754e-05/0.4367, allocations: 0 / 476.9 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003372/0.4371, allocations: 47.78 kB / 476.9 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.4385, allocations: 0.5524 MB / 477.5 MB, free: 140 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.4388, allocations: 95.81 kB / 477.6 MB, free: 44 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003704/0.4391, allocations: 374.8 kB / 477.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.4392, allocations: 4 kB / 477.9 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/0.4395, allocations: 129.1 kB / 478 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.4397, allocations: 103.7 kB / 478.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.898e-05/0.4397, allocations: 4 kB / 478.2 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/0.4417, allocations: 1.193 MB / 479.3 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.4418, allocations: 79.77 kB / 479.4 MB, free: 14.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.4419, allocations: 95.58 kB / 479.5 MB, free: 14.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.4432, allocations: 0.7637 MB / 480.3 MB, free: 13.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.4432, allocations: 0 / 480.3 MB, free: 13.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4433, allocations: 0 / 480.3 MB, free: 13.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.4433, allocations: 0 / 480.3 MB, free: 13.31 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0008469/0.4441, allocations: 0.4959 MB / 480.8 MB, free: 12.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.4442, allocations: 8.031 kB / 480.8 MB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007253/0.4514, allocations: 0.7423 MB / 481.5 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000474/0.4519, allocations: 276.1 kB / 481.8 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.4519, allocations: 12.89 kB / 481.8 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.4521, allocations: 19.94 kB / 481.8 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.4536, allocations: 0.7112 MB / 482.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.4536, allocations: 0 / 482.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-05/0.4537, allocations: 4 kB / 482.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.4537, allocations: 8 kB / 482.6 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002123/0.4558, allocations: 0.9299 MB / 483.5 MB, free: 10.01 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.005122/0.461, allocations: 2.001 MB / 485.5 MB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.4622, allocations: 0.5087 MB / 486 MB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006565/0.4628, allocations: 321.5 kB / 486.3 MB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008168/0.4637, allocations: 282 kB / 486.6 MB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.4637, allocations: 46.44 kB / 486.6 MB, free: 6.617 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.364e-06/0.4637, allocations: 3.938 kB / 486.6 MB, free: 6.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.002249/0.466, allocations: 0.8882 MB / 487.5 MB, free: 5.719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.466, allocations: 81.11 kB / 487.6 MB, free: 5.621 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.4661, allocations: 133.7 kB / 487.7 MB, free: 5.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.676e-05/0.4662, allocations: 33.7 kB / 487.8 MB, free: 5.441 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.689e-05/0.4663, allocations: 108.4 kB / 487.9 MB, free: 5.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.4664, allocations: 106.4 kB / 488 MB, free: 5.227 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/0.4666, allocations: 73.67 kB / 488 MB, free: 5.148 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.4667, allocations: 330.8 kB / 488.4 MB, free: 4.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006516/0.4674, allocations: 291.8 kB / 488.6 MB, free: 4.531 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007692/0.4682, allocations: 408.3 kB / 489 MB, free: 4.086 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/0.4696, allocations: 0.6918 MB / 489.7 MB, free: 3.348 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.4696, allocations: 4 kB / 489.7 MB, free: 3.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00168/0.4713, allocations: 0.7471 MB / 490.5 MB, free: 2.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.4713, allocations: 8 kB / 490.5 MB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.4713, allocations: 0 / 490.5 MB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.4713, allocations: 8 kB / 490.5 MB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.4725, allocations: 99.84 kB / 490.6 MB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.4725, allocations: 7.938 kB / 490.6 MB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008897/0.4734, allocations: 59.8 kB / 490.7 MB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.127e-05/0.4735, allocations: 23.98 kB / 490.7 MB, free: 2.387 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 41 * 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.0002109/0.4737, allocations: 141.8 kB / 490.8 MB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.4738, allocations: 15.84 kB / 490.8 MB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/0.4759, allocations: 0.7824 MB / 491.6 MB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4759, allocations: 0 / 491.6 MB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4759, allocations: 4 kB / 491.6 MB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.4759, allocations: 3.984 kB / 491.6 MB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.477, allocations: 0.8066 MB / 492.4 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.477, allocations: 3.938 kB / 492.4 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.478, allocations: 83.86 kB / 492.5 MB, free: 444 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.478, allocations: 3.984 kB / 492.5 MB, free: 440 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.048e-05/0.4781, allocations: 15.98 kB / 492.5 MB, free: 424 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.4781, allocations: 0 / 492.5 MB, free: 424 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4781, allocations: 3.75 kB / 492.6 MB, free: 424 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/0.4802, allocations: 0.9686 MB / 493.5 MB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/0.4803, allocations: 92.86 kB / 493.6 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.463e-05/0.4804, allocations: 8 kB / 493.6 MB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009844/0.4814, allocations: 43.89 kB / 493.7 MB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.4815, allocations: 15.97 kB / 493.7 MB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-05/0.4816, allocations: 19.98 kB / 493.7 MB, free: 15.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.48e-05/0.4816, allocations: 105.4 kB / 493.8 MB, free: 15.13 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4816, allocations: 0 / 493.8 MB, free: 15.13 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007892/0.4824, allocations: 176.1 kB / 494 MB, free: 14.96 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.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 (28): * Single equations (assignments): 28 * 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.0009936/0.4834, allocations: 346.9 kB / 494.3 MB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00152/0.485, allocations: 0.6557 MB / 495 MB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.485, allocations: 0 / 495 MB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007316/0.4857, allocations: 328.9 kB / 495.3 MB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008095/0.4865, allocations: 96.55 kB / 495.4 MB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.4884, allocations: 0.9998 MB / 496.4 MB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.4887, allocations: 0.7407 MB / 497.1 MB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001367/0.4901, allocations: 177.7 kB / 497.3 MB, free: 11.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/0.4904, allocations: 35.41 kB / 497.3 MB, free: 11.54 MB / 398.1 MB Notification: Performance of SimCode: time 9.41e-07/0.4904, allocations: 3.938 kB / 497.3 MB, free: 11.54 MB / 398.1 MB Notification: Performance of Templates: time 0.01536/0.5058, allocations: 10.24 MB / 0.4957 GB, free: 1.246 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.sim & ./Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1)