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 0.8807/0.8807, allocations: 110.8 MB / 123.3 MB, free: 10.74 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.002007/0.002007, allocations: 151.5 kB / 149.1 MB, free: 0.957 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 3.367e-05/3.368e-05, allocations: 4 kB / 180.2 MB, free: 17.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06363/0.06368, allocations: 25.18 MB / 205.4 MB, free: 8.434 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.139/2.203, allocations: 0.6649 GB / 0.8655 GB, free: 62.08 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/2.203, allocations: 64.92 kB / 0.8656 GB, free: 62.08 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2052/2.408, allocations: 57.8 MB / 0.922 GB, free: 28 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.567e-06/2.408, allocations: 4 kB / 0.922 GB, free: 28 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.04e-05/2.408, allocations: 0 / 0.922 GB, free: 28 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.0009205/2.409, allocations: 479.2 kB / 0.9225 GB, free: 27.48 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/2.409, allocations: 8.031 kB / 0.9225 GB, free: 27.48 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.209e-05/2.41, allocations: 19.77 kB / 0.9225 GB, free: 27.46 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/2.41, allocations: 214.9 kB / 0.9227 GB, free: 27.21 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/2.41, allocations: 12.33 kB / 0.9227 GB, free: 27.2 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.478e-05/2.41, allocations: 20 kB / 0.9227 GB, free: 27.18 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006452/2.411, allocations: 344.9 kB / 0.9231 GB, free: 26.82 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/2.411, allocations: 4 kB / 0.9231 GB, free: 26.82 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.941e-05/2.411, allocations: 7.984 kB / 0.9231 GB, free: 26.81 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/2.411, allocations: 8 kB / 0.9231 GB, free: 26.8 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006492/2.411, allocations: 448.1 kB / 0.9235 GB, free: 26.37 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.002381/2.414, allocations: 1.185 MB / 0.9247 GB, free: 25.05 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004191/2.414, allocations: 209 kB / 0.9249 GB, free: 24.83 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000246/2.415, allocations: 141.7 kB / 0.925 GB, free: 24.69 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001752/2.416, allocations: 1.059 MB / 0.926 GB, free: 23.43 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/2.416, allocations: 38.56 kB / 0.9261 GB, free: 23.38 MB / 234.7 MB Notification: Performance of pre-optimization done (n=28): time 3.266e-06/2.416, allocations: 3.938 kB / 0.9261 GB, free: 23.38 MB / 234.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007631/2.417, allocations: 293.6 kB / 0.9264 GB, free: 23.08 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/2.417, allocations: 81.11 kB / 0.9264 GB, free: 22.98 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/2.417, allocations: 128.9 kB / 0.9266 GB, free: 22.85 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/2.417, allocations: 33.7 kB / 0.9266 GB, free: 22.81 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/2.417, allocations: 120.3 kB / 0.9267 GB, free: 22.69 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.838e-05/2.418, allocations: 98.55 kB / 0.9268 GB, free: 22.59 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.957e-05/2.418, allocations: 4 kB / 0.9268 GB, free: 22.59 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.706e-05/2.418, allocations: 330.8 kB / 0.9271 GB, free: 22.25 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/2.418, allocations: 110.4 kB / 0.9272 GB, free: 22.15 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/2.418, allocations: 204.6 kB / 0.9274 GB, free: 21.9 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003032/2.419, allocations: 135.9 kB / 0.9275 GB, free: 21.77 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/2.419, allocations: 0 / 0.9275 GB, free: 21.77 MB / 234.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008354/2.419, allocations: 397.3 kB / 0.9279 GB, free: 21.38 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/2.419, allocations: 12 kB / 0.9279 GB, free: 21.36 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/2.419, allocations: 4 kB / 0.9279 GB, free: 21.36 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/2.42, allocations: 7.984 kB / 0.9279 GB, free: 21.35 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003397/2.42, allocations: 71.91 kB / 0.928 GB, free: 21.28 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/2.42, allocations: 7.938 kB / 0.928 GB, free: 21.27 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/2.42, allocations: 31.73 kB / 0.9281 GB, free: 21.24 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.549e-05/2.42, allocations: 27.98 kB / 0.9281 GB, free: 21.21 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.0003282/2.421, allocations: 194.6 kB / 0.9283 GB, free: 21.02 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/2.421, allocations: 19.81 kB / 0.9283 GB, free: 21 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/2.422, allocations: 390 kB / 0.9287 GB, free: 20.61 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.477e-05/2.422, allocations: 7.984 kB / 0.9287 GB, free: 20.61 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/2.422, allocations: 4 kB / 0.9287 GB, free: 20.6 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/2.422, allocations: 0 / 0.9287 GB, free: 20.6 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009715/2.423, allocations: 341.3 kB / 0.929 GB, free: 20.22 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/2.423, allocations: 4 kB / 0.929 GB, free: 20.21 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/2.423, allocations: 43.97 kB / 0.929 GB, free: 20.17 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.407e-06/2.423, allocations: 3.953 kB / 0.929 GB, free: 20.17 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.399e-05/2.423, allocations: 15.98 kB / 0.9291 GB, free: 20.15 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/2.423, allocations: 4 kB / 0.9291 GB, free: 20.15 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/2.423, allocations: 0 / 0.9291 GB, free: 20.15 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008914/2.424, allocations: 0.5627 MB / 0.9296 GB, free: 19.56 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001956/2.425, allocations: 140.8 kB / 0.9297 GB, free: 19.41 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.88e-05/2.425, allocations: 8 kB / 0.9298 GB, free: 19.4 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003901/2.425, allocations: 15.92 kB / 0.9298 GB, free: 19.38 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/2.425, allocations: 19.97 kB / 0.9298 GB, free: 19.36 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.166e-05/2.425, allocations: 23.98 kB / 0.9298 GB, free: 19.34 MB / 234.7 MB Notification: Performance of sorting global known variables: time 7.634e-05/2.425, allocations: 103.3 kB / 0.9299 GB, free: 19.24 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.1e-07/2.425, allocations: 0 / 0.9299 GB, free: 19.24 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001495/2.427, allocations: 211.8 kB / 0.9301 GB, free: 19.03 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.002479/2.429, allocations: 0.7865 MB / 0.9309 GB, free: 18.24 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0007279/2.43, allocations: 335.3 kB / 0.9312 GB, free: 17.91 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/2.43, allocations: 3.938 kB / 0.9312 GB, free: 17.91 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002641/2.43, allocations: 167.8 kB / 0.9314 GB, free: 17.75 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009404/2.431, allocations: 85.3 kB / 0.9314 GB, free: 17.66 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/2.433, allocations: 0.7541 MB / 0.9322 GB, free: 16.88 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/2.433, allocations: 0.7368 MB / 0.9329 GB, free: 16.12 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0005966/2.434, allocations: 89.25 kB / 0.933 GB, free: 16.04 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/2.434, allocations: 31.42 kB / 0.933 GB, free: 16 MB / 234.7 MB Notification: Performance of SimCode: time 9.12e-07/2.434, allocations: 4 kB / 0.933 GB, free: 16 MB / 234.7 MB Notification: Performance of Templates: time 0.2081/2.642, allocations: 16.18 MB / 0.9488 GB, free: 50.28 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)