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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001117/0.001117, allocations: 183.9 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.456/1.456, allocations: 194.5 MB / 211.6 MB, free: 3.055 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001891/0.001891, allocations: 108.4 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003394, allocations: 8 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09077/0.09112, allocations: 44.49 MB / 355 MB, free: 2.352 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.66/1.751, allocations: 0.7504 GB / 1.097 GB, free: 53.77 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/1.751, allocations: 76.83 kB / 1.097 GB, free: 53.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3072/2.058, allocations: 61.82 MB / 1.158 GB, free: 125.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.785e-06/2.058, allocations: 3.344 kB / 1.158 GB, free: 125.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.205e-05/2.058, allocations: 0 / 1.158 GB, free: 125.4 MB / 410.7 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.000756/2.059, allocations: 478 kB / 1.158 GB, free: 125 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/2.059, allocations: 9.594 kB / 1.158 GB, free: 125 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005266/2.065, allocations: 0.7026 MB / 1.159 GB, free: 125 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004989/2.065, allocations: 284.7 kB / 1.159 GB, free: 124.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/2.065, allocations: 15.97 kB / 1.159 GB, free: 124.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-05/2.065, allocations: 13.66 kB / 1.159 GB, free: 124.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/2.067, allocations: 0.695 MB / 1.16 GB, free: 124.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/2.067, allocations: 0 / 1.16 GB, free: 124.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.253e-05/2.067, allocations: 9.312 kB / 1.16 GB, free: 124.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/2.067, allocations: 7.984 kB / 1.16 GB, free: 124.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/2.068, allocations: 0.766 MB / 1.161 GB, free: 124.8 MB / 410.7 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.002522/2.071, allocations: 1.23 MB / 1.162 GB, free: 124.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006397/2.072, allocations: 324.1 kB / 1.162 GB, free: 124.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005332/2.072, allocations: 247.5 kB / 1.162 GB, free: 124 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/2.072, allocations: 41.66 kB / 1.162 GB, free: 123.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/2.072, allocations: 0 / 1.162 GB, free: 123.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001297/2.074, allocations: 0.5459 MB / 1.163 GB, free: 123.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/2.074, allocations: 79.45 kB / 1.163 GB, free: 123.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.401e-05/2.074, allocations: 125.8 kB / 1.163 GB, free: 123.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/2.074, allocations: 31.86 kB / 1.163 GB, free: 123.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/2.074, allocations: 116.9 kB / 1.163 GB, free: 123.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.489e-05/2.074, allocations: 93.11 kB / 1.163 GB, free: 123.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/2.074, allocations: 7.156 kB / 1.163 GB, free: 123.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.505e-05/2.074, allocations: 332.7 kB / 1.164 GB, free: 123.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/2.074, allocations: 177 kB / 1.164 GB, free: 123.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004033/2.075, allocations: 286.7 kB / 1.164 GB, free: 123.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003912/2.075, allocations: 206.3 kB / 1.164 GB, free: 123.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/2.075, allocations: 2.938 kB / 1.164 GB, free: 123.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009847/2.076, allocations: 0.5108 MB / 1.165 GB, free: 123 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/2.076, allocations: 6.281 kB / 1.165 GB, free: 123 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/2.076, allocations: 3.719 kB / 1.165 GB, free: 123 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/2.076, allocations: 6.297 kB / 1.165 GB, free: 123 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005327/2.077, allocations: 84.09 kB / 1.165 GB, free: 123 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/2.077, allocations: 7.5 kB / 1.165 GB, free: 123 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004007/2.077, allocations: 44.03 kB / 1.165 GB, free: 123 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.677e-05/2.077, allocations: 22.12 kB / 1.165 GB, free: 123 MB / 410.7 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 (38): * Single equations (assignments): 38 * 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.0001392/2.077, allocations: 150 kB / 1.165 GB, free: 122.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.676e-05/2.077, allocations: 13.66 kB / 1.165 GB, free: 122.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/2.079, allocations: 484.3 kB / 1.165 GB, free: 122.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/2.079, allocations: 6.594 kB / 1.166 GB, free: 122.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/2.079, allocations: 0.7031 kB / 1.166 GB, free: 122.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/2.079, allocations: 5.828 kB / 1.166 GB, free: 122.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006928/2.079, allocations: 0.4999 MB / 1.166 GB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/2.079, allocations: 2.141 kB / 1.166 GB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004885/2.08, allocations: 54.56 kB / 1.166 GB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/2.08, allocations: 2.344 kB / 1.166 GB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.415e-05/2.08, allocations: 13.97 kB / 1.166 GB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/2.08, allocations: 4.484 kB / 1.166 GB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/2.08, allocations: 1.312 kB / 1.166 GB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/2.081, allocations: 0.6846 MB / 1.167 GB, free: 122.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/2.081, allocations: 92.05 kB / 1.167 GB, free: 122.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.568e-05/2.081, allocations: 7.297 kB / 1.167 GB, free: 122.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004533/2.082, allocations: 22.23 kB / 1.167 GB, free: 122.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/2.082, allocations: 25.25 kB / 1.167 GB, free: 122.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.416e-05/2.082, allocations: 19.59 kB / 1.167 GB, free: 122.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.039e-05/2.082, allocations: 103.3 kB / 1.167 GB, free: 122.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/2.082, allocations: 0 / 1.167 GB, free: 122.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009941/2.083, allocations: 208.2 kB / 1.167 GB, free: 122.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (state.p,state.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4]) * 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 (25): * Single equations (assignments): 25 * 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.001545/2.084, allocations: 0.7292 MB / 1.168 GB, free: 122 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009781/2.085, allocations: 434.3 kB / 1.168 GB, free: 122 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/2.085, allocations: 0 / 1.168 GB, free: 122 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004051/2.086, allocations: 206.2 kB / 1.169 GB, free: 122 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005864/2.086, allocations: 88.55 kB / 1.169 GB, free: 122 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/2.088, allocations: 1.053 MB / 1.17 GB, free: 121.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/2.088, allocations: 0.7422 MB / 1.17 GB, free: 120.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000727/2.089, allocations: 107.8 kB / 1.17 GB, free: 120.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/2.089, allocations: 33.14 kB / 1.17 GB, free: 120.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.372e-06/2.089, allocations: 0 / 1.17 GB, free: 120.8 MB / 410.7 MB Notification: Performance of Templates: time 0.02253/2.112, allocations: 14.57 MB / 1.185 GB, free: 119.7 MB / 410.7 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)