Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.TestOnly.FlueGas") translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 1.049/1.049, allocations: 110.8 MB / 118.3 MB, free: 10.52 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001749/0.001749, allocations: 151.4 kB / 144 MB, free: 9.797 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.013e-05/2.015e-05, allocations: 8 kB / 173.9 MB, free: 11.87 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06211/0.06214, allocations: 25.16 MB / 199 MB, free: 2.656 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.944/2.006, allocations: 0.6643 GB / 0.8586 GB, free: 82.71 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/2.006, allocations: 66.86 kB / 0.8587 GB, free: 82.71 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1141/2.12, allocations: 56.8 MB / 0.9142 GB, free: 30.41 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.753e-06/2.12, allocations: 0 / 0.9142 GB, free: 30.41 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.05e-05/2.12, allocations: 8 kB / 0.9142 GB, free: 30.4 MB / 234.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.0009076/2.121, allocations: 478.3 kB / 0.9146 GB, free: 29.89 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/2.121, allocations: 8.031 kB / 0.9146 GB, free: 29.88 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.773e-05/2.121, allocations: 23.77 kB / 0.9147 GB, free: 29.86 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/2.121, allocations: 214.9 kB / 0.9149 GB, free: 29.61 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/2.122, allocations: 4 kB / 0.9149 GB, free: 29.61 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/2.122, allocations: 12 kB / 0.9149 GB, free: 29.59 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004446/2.122, allocations: 436 kB / 0.9153 GB, free: 29.17 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003841/2.122, allocations: 329.6 kB / 0.9156 GB, free: 28.83 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/2.122, allocations: 0 / 0.9156 GB, free: 28.83 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/2.122, allocations: 4 kB / 0.9156 GB, free: 28.83 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.886e-05/2.123, allocations: 7.984 kB / 0.9156 GB, free: 28.82 MB / 234.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.001643/2.124, allocations: 1.138 MB / 0.9167 GB, free: 27.57 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/2.124, allocations: 197.1 kB / 0.9169 GB, free: 27.36 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/2.125, allocations: 133.7 kB / 0.9171 GB, free: 27.22 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/2.126, allocations: 1.063 MB / 0.9181 GB, free: 25.95 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/2.126, allocations: 46.5 kB / 0.9181 GB, free: 25.9 MB / 234.7 MB Notification: Performance of pre-optimization done (n=28): time 1.783e-06/2.126, allocations: 0 / 0.9181 GB, free: 25.9 MB / 234.7 MB Notification: Performance of matching and sorting (n=28): time 0.002904/2.129, allocations: 0.963 MB / 0.9191 GB, free: 24.93 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/2.129, allocations: 81.11 kB / 0.9192 GB, free: 24.84 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.644e-05/2.129, allocations: 127.3 kB / 0.9193 GB, free: 24.71 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/2.129, allocations: 25.7 kB / 0.9193 GB, free: 24.68 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.768e-05/2.129, allocations: 116.4 kB / 0.9194 GB, free: 24.56 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.336e-05/2.129, allocations: 98.5 kB / 0.9195 GB, free: 24.46 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.266e-05/2.129, allocations: 4 kB / 0.9195 GB, free: 24.46 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 4.944e-05/2.129, allocations: 326.8 kB / 0.9198 GB, free: 24.13 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/2.129, allocations: 102.4 kB / 0.9199 GB, free: 24.03 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/2.129, allocations: 201 kB / 0.9201 GB, free: 23.79 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002484/2.132, allocations: 0.8349 MB / 0.9209 GB, free: 22.95 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/2.132, allocations: 0 / 0.9209 GB, free: 22.95 MB / 234.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002776/2.135, allocations: 1.071 MB / 0.922 GB, free: 21.88 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/2.135, allocations: 8.031 kB / 0.922 GB, free: 21.87 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/2.135, allocations: 4 kB / 0.922 GB, free: 21.86 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/2.135, allocations: 8 kB / 0.922 GB, free: 21.86 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/2.135, allocations: 67.89 kB / 0.9221 GB, free: 21.79 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/2.135, allocations: 11.94 kB / 0.9221 GB, free: 21.78 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/2.135, allocations: 23.77 kB / 0.9221 GB, free: 21.75 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.325e-05/2.135, allocations: 24 kB / 0.9221 GB, free: 21.73 MB / 234.7 MB Warning: Assuming fixed start value for the following 8 variables: state.T:VARIABLE(min = 1.0 max = 10000.0 start = 200.0 unit = "K" nominal = 500.0 ) "Temperature of medium" type: Real state.p:VARIABLE(min = 0.0 max = 100000000.0 start = 100000.0 unit = "Pa" nominal = 1000000.0 ) "Absolute pressure of medium" type: Real medium2.X[4]:VARIABLE(min = max(0.0, max(0.0, 0.0)) max = min(1.0, min(1.0, 1.0)) start = 0.4 unit = "kg/kg" nominal = 0.1 ) "Mass fractions (= (component mass)/total mass m_i/m)" type: Real [4] medium2.X[3]:VARIABLE(min = max(0.0, max(0.0, 0.0)) max = min(1.0, min(1.0, 1.0)) start = 0.3 unit = "kg/kg" nominal = 0.1 ) "Mass fractions (= (component mass)/total mass m_i/m)" type: Real [4] medium2.X[2]:VARIABLE(min = max(0.0, max(0.0, 0.0)) max = min(1.0, min(1.0, 1.0)) start = 0.1 unit = "kg/kg" nominal = 0.1 ) "Mass fractions (= (component mass)/total mass m_i/m)" type: Real [4] medium2.X[1]:VARIABLE(min = max(0.0, max(0.0, 0.0)) max = min(1.0, min(1.0, 1.0)) start = 0.2 unit = "kg/kg" nominal = 0.1 ) "Mass fractions (= (component mass)/total mass m_i/m)" type: Real [4] medium2.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = 300.0 unit = "K" nominal = 500.0 ) "Temperature of medium" type: Real medium2.p:VARIABLE(min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 200000.0 unit = "Pa" nominal = 100000.0 ) "Absolute pressure of medium" type: Real 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): 37 * Array equations: 1 * 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.0002657/2.135, allocations: 181.6 kB / 0.9223 GB, free: 21.55 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.742e-05/2.135, allocations: 23.8 kB / 0.9223 GB, free: 21.53 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002896/2.138, allocations: 1.071 MB / 0.9234 GB, free: 20.45 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/2.138, allocations: 4 kB / 0.9234 GB, free: 20.45 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/2.138, allocations: 4 kB / 0.9234 GB, free: 20.45 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/2.138, allocations: 3.984 kB / 0.9234 GB, free: 20.44 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005369/2.139, allocations: 285.9 kB / 0.9236 GB, free: 20.12 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/2.139, allocations: 4 kB / 0.9236 GB, free: 20.12 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/2.139, allocations: 51.91 kB / 0.9237 GB, free: 20.07 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/2.139, allocations: 0 / 0.9237 GB, free: 20.07 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/2.139, allocations: 11.98 kB / 0.9237 GB, free: 20.06 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/2.139, allocations: 0 / 0.9237 GB, free: 20.06 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/2.139, allocations: 3.953 kB / 0.9237 GB, free: 20.05 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002805/2.142, allocations: 1.25 MB / 0.9249 GB, free: 18.78 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/2.142, allocations: 132.9 kB / 0.9251 GB, free: 18.63 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/2.142, allocations: 4 kB / 0.9251 GB, free: 18.63 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/2.142, allocations: 19.88 kB / 0.9251 GB, free: 18.61 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/2.143, allocations: 11.98 kB / 0.9251 GB, free: 18.6 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.072e-05/2.143, allocations: 31.97 kB / 0.9251 GB, free: 18.57 MB / 234.7 MB Notification: Performance of sorting global known variables: time 4.653e-05/2.143, allocations: 91.28 kB / 0.9252 GB, free: 18.48 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.61e-07/2.143, allocations: 4 kB / 0.9252 GB, free: 18.47 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.000873/2.144, allocations: 195.9 kB / 0.9254 GB, free: 18.28 MB / 234.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): 24 * Array equations: 1 * 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.002242/2.146, allocations: 0.8923 MB / 0.9263 GB, free: 17.38 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0004274/2.146, allocations: 316.4 kB / 0.9266 GB, free: 17.07 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/2.146, allocations: 8.125 kB / 0.9266 GB, free: 17.07 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000142/2.146, allocations: 147.9 kB / 0.9267 GB, free: 16.92 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000624/2.147, allocations: 84.12 kB / 0.9268 GB, free: 16.84 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009564/2.148, allocations: 0.752 MB / 0.9275 GB, free: 16.07 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/2.148, allocations: 0.7369 MB / 0.9283 GB, free: 15.31 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0003326/2.149, allocations: 85.58 kB / 0.9283 GB, free: 15.22 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.144e-05/2.149, allocations: 31.42 kB / 0.9284 GB, free: 15.19 MB / 234.7 MB Notification: Performance of SimCode: time 2.61e-07/2.149, allocations: 3.938 kB / 0.9284 GB, free: 15.19 MB / 234.7 MB Notification: Performance of Templates: time 0.01383/2.162, allocations: 9.855 MB / 0.938 GB, free: 5.348 MB / 234.7 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.TestOnly.FlueGas.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.TestOnly.FlueGas.sim & ./Modelica_3.1_Modelica.Media.Examples.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1)