Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas") translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001452/0.001452, allocations: 170.4 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.591/1.591, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001672/0.001672, allocations: 110.8 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.693e-05/2.695e-05, allocations: 0 / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07934/0.07939, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.48/2.56, allocations: 0.738 GB / 1.038 GB, free: 109.4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/2.56, allocations: 71.77 kB / 1.039 GB, free: 109.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1209/2.681, allocations: 61.49 MB / 1.099 GB, free: 76.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.033e-06/2.681, allocations: 0 / 1.099 GB, free: 76.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.524e-05/2.681, allocations: 4 kB / 1.099 GB, free: 76.38 MB / 362.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.0007529/2.682, allocations: 471.1 kB / 1.099 GB, free: 75.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/2.682, allocations: 15.97 kB / 1.099 GB, free: 75.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005244/2.687, allocations: 0.7063 MB / 1.1 GB, free: 75.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004657/2.687, allocations: 278.8 kB / 1.1 GB, free: 74.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/2.687, allocations: 8.328 kB / 1.1 GB, free: 74.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/2.688, allocations: 23.98 kB / 1.1 GB, free: 74.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009955/2.689, allocations: 0.6566 MB / 1.101 GB, free: 74.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/2.689, allocations: 3.938 kB / 1.101 GB, free: 74.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.234e-05/2.689, allocations: 12 kB / 1.101 GB, free: 74.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/2.689, allocations: 12 kB / 1.101 GB, free: 74.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/2.69, allocations: 0.7144 MB / 1.101 GB, free: 73.39 MB / 362.7 MB Warning: The model contains alias variables with conflicting start and/or 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.002378/2.692, allocations: 1.218 MB / 1.103 GB, free: 72.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004018/2.693, allocations: 293.1 kB / 1.103 GB, free: 71.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/2.693, allocations: 193.7 kB / 1.103 GB, free: 71.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005227/2.693, allocations: 246.2 kB / 1.103 GB, free: 71.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/2.693, allocations: 50.5 kB / 1.103 GB, free: 71.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.745e-06/2.693, allocations: 0 / 1.103 GB, free: 71.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.000735/2.694, allocations: 374.3 kB / 1.104 GB, free: 70.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/2.694, allocations: 81.11 kB / 1.104 GB, free: 70.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.461e-05/2.694, allocations: 118.9 kB / 1.104 GB, free: 70.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/2.694, allocations: 33.7 kB / 1.104 GB, free: 70.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.47e-05/2.694, allocations: 120.1 kB / 1.104 GB, free: 70.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.927e-05/2.694, allocations: 94.64 kB / 1.104 GB, free: 70.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/2.695, allocations: 8 kB / 1.104 GB, free: 70.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.181e-05/2.695, allocations: 330.8 kB / 1.104 GB, free: 70.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/2.695, allocations: 164 kB / 1.105 GB, free: 69.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/2.695, allocations: 277 kB / 1.105 GB, free: 69.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/2.695, allocations: 199.2 kB / 1.105 GB, free: 69.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/2.695, allocations: 0 / 1.105 GB, free: 69.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007075/2.696, allocations: 477.4 kB / 1.105 GB, free: 68.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/2.696, allocations: 11.98 kB / 1.106 GB, free: 68.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/2.696, allocations: 4 kB / 1.106 GB, free: 68.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.958e-05/2.696, allocations: 11.95 kB / 1.106 GB, free: 68.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004825/2.697, allocations: 75.89 kB / 1.106 GB, free: 68.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/2.697, allocations: 7.938 kB / 1.106 GB, free: 68.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003914/2.697, allocations: 47.66 kB / 1.106 GB, free: 68.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.044e-05/2.697, allocations: 16 kB / 1.106 GB, free: 68.78 MB / 362.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 () * 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.0001069/2.697, allocations: 128.9 kB / 1.106 GB, free: 68.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.383e-05/2.697, allocations: 11.91 kB / 1.106 GB, free: 68.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007873/2.698, allocations: 449.9 kB / 1.106 GB, free: 68.19 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/2.698, allocations: 7.953 kB / 1.106 GB, free: 68.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/2.698, allocations: 0 / 1.106 GB, free: 68.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/2.698, allocations: 4 kB / 1.106 GB, free: 68.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006169/2.699, allocations: 0.4974 MB / 1.107 GB, free: 67.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/2.699, allocations: 0 / 1.107 GB, free: 67.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004645/2.699, allocations: 59.89 kB / 1.107 GB, free: 67.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/2.699, allocations: 7.984 kB / 1.107 GB, free: 67.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.879e-05/2.699, allocations: 11.98 kB / 1.107 GB, free: 67.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/2.699, allocations: 3.953 kB / 1.107 GB, free: 67.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/2.699, allocations: 7.922 kB / 1.107 GB, free: 67.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007932/2.7, allocations: 0.6405 MB / 1.107 GB, free: 66.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.073e-05/2.7, allocations: 96.89 kB / 1.108 GB, free: 66.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.27e-05/2.7, allocations: 8 kB / 1.108 GB, free: 66.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000446/2.701, allocations: 23.92 kB / 1.108 GB, free: 66.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/2.701, allocations: 15.97 kB / 1.108 GB, free: 66.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.292e-05/2.701, allocations: 19.98 kB / 1.108 GB, free: 66.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.227e-05/2.701, allocations: 100.4 kB / 1.108 GB, free: 66.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/2.701, allocations: 0 / 1.108 GB, free: 66.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009811/2.702, allocations: 211.9 kB / 1.108 GB, free: 66.39 MB / 362.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 () * 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.001264/2.703, allocations: 0.731 MB / 1.109 GB, free: 65.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000577/2.704, allocations: 407.8 kB / 1.109 GB, free: 65.24 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/2.704, allocations: 0 / 1.109 GB, free: 65.24 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002371/2.704, allocations: 191.8 kB / 1.109 GB, free: 65.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005695/2.705, allocations: 89.3 kB / 1.109 GB, free: 64.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/2.706, allocations: 0.7696 MB / 1.11 GB, free: 64.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/2.706, allocations: 0.7405 MB / 1.111 GB, free: 63.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006931/2.706, allocations: 117.4 kB / 1.111 GB, free: 63.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/2.707, allocations: 35.36 kB / 1.111 GB, free: 63.27 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/2.707, allocations: 0 / 1.111 GB, free: 63.27 MB / 362.7 MB Notification: Performance of Templates: time 0.01847/2.725, allocations: 16.32 MB / 1.127 GB, free: 46.91 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.sim & ./Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1)