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.8215/0.8215, allocations: 110.9 MB / 125.9 MB, free: 6.191 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.002316/0.002316, allocations: 146.6 kB / 151.9 MB, free: 4.977 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002793/0.0002794, allocations: 4 kB / 184.9 MB, free: 3.91 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1574, allocations: 25.15 MB / 210 MB, free: 29.75 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.298/1.455, allocations: 0.665 GB / 0.8702 GB, free: 49.18 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001805/1.455, allocations: 63.97 kB / 0.8702 GB, free: 49.12 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2227/1.678, allocations: 57.94 MB / 0.9268 GB, free: 54.23 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.986e-06/1.678, allocations: 0 / 0.9268 GB, free: 54.23 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.046e-05/1.678, allocations: 3.969 kB / 0.9268 GB, free: 54.23 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.0008455/1.679, allocations: 481.7 kB / 0.9273 GB, free: 53.84 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/1.679, allocations: 9.375 kB / 0.9273 GB, free: 53.84 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.938e-05/1.679, allocations: 21.81 kB / 0.9273 GB, free: 53.83 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/1.679, allocations: 216.4 kB / 0.9275 GB, free: 53.63 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/1.679, allocations: 10.61 kB / 0.9275 GB, free: 53.63 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.831e-05/1.679, allocations: 24.69 kB / 0.9275 GB, free: 53.63 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004933/1.68, allocations: 350.1 kB / 0.9279 GB, free: 53.58 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/1.68, allocations: 0 / 0.9279 GB, free: 53.58 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/1.68, allocations: 10.78 kB / 0.9279 GB, free: 53.58 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.632e-05/1.68, allocations: 10.53 kB / 0.9279 GB, free: 53.57 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004689/1.68, allocations: 449 kB / 0.9283 GB, free: 53.57 MB / 234.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.001761/1.682, allocations: 1.182 MB / 0.9295 GB, free: 52.83 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/1.683, allocations: 203.7 kB / 0.9297 GB, free: 52.78 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001388/1.684, allocations: 1.063 MB / 0.9307 GB, free: 51.75 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/1.684, allocations: 44.03 kB / 0.9307 GB, free: 51.71 MB / 234.7 MB Notification: Performance of pre-optimization done (n=28): time 2.395e-06/1.684, allocations: 0 / 0.9307 GB, free: 51.71 MB / 234.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007235/1.685, allocations: 478 kB / 0.9312 GB, free: 51.57 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/1.685, allocations: 84.98 kB / 0.9313 GB, free: 51.48 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/1.685, allocations: 128.3 kB / 0.9314 GB, free: 51.39 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 7.212e-05/1.685, allocations: 32.33 kB / 0.9314 GB, free: 51.36 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.842e-05/1.685, allocations: 111.6 kB / 0.9315 GB, free: 51.26 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.499e-05/1.685, allocations: 106.5 kB / 0.9316 GB, free: 51.21 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.246e-05/1.685, allocations: 5.875 kB / 0.9316 GB, free: 51.21 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.196e-05/1.685, allocations: 333.5 kB / 0.932 GB, free: 50.89 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/1.685, allocations: 107.6 kB / 0.9321 GB, free: 50.89 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/1.686, allocations: 208.7 kB / 0.9323 GB, free: 50.77 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/1.686, allocations: 144 kB / 0.9324 GB, free: 50.77 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/1.686, allocations: 1.344 kB / 0.9324 GB, free: 50.77 MB / 234.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006916/1.687, allocations: 411.7 kB / 0.9328 GB, free: 50.72 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/1.687, allocations: 8.5 kB / 0.9328 GB, free: 50.72 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/1.687, allocations: 4.359 kB / 0.9328 GB, free: 50.72 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/1.687, allocations: 5.891 kB / 0.9328 GB, free: 50.72 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/1.687, allocations: 71.16 kB / 0.9329 GB, free: 50.72 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.957e-05/1.687, allocations: 6.453 kB / 0.9329 GB, free: 50.72 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/1.687, allocations: 36.69 kB / 0.9329 GB, free: 50.71 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.126e-05/1.687, allocations: 25.31 kB / 0.9329 GB, free: 50.71 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" fixed = true nominal = 500.0 ) "Temperature of medium" type: Real state.p:VARIABLE(min = 0.0 max = 100000000.0 start = 100000.0 unit = "Pa" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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 () * Number of clocked 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.0003831/1.688, allocations: 228.9 kB / 0.9332 GB, free: 50.58 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.765e-05/1.688, allocations: 21.58 kB / 0.9332 GB, free: 50.57 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007285/1.688, allocations: 387 kB / 0.9336 GB, free: 50.53 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/1.688, allocations: 6.016 kB / 0.9336 GB, free: 50.53 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/1.688, allocations: 0.6094 kB / 0.9336 GB, free: 50.53 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/1.688, allocations: 2.359 kB / 0.9336 GB, free: 50.53 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006221/1.689, allocations: 336.3 kB / 0.9339 GB, free: 50.33 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.689, allocations: 0 / 0.9339 GB, free: 50.33 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/1.689, allocations: 46.95 kB / 0.9339 GB, free: 50.33 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/1.689, allocations: 2.344 kB / 0.9339 GB, free: 50.33 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.242e-05/1.689, allocations: 18.83 kB / 0.9339 GB, free: 50.33 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/1.689, allocations: 1.609 kB / 0.9339 GB, free: 50.33 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.689, allocations: 3.25 kB / 0.934 GB, free: 50.33 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006444/1.69, allocations: 0.5689 MB / 0.9345 GB, free: 50.08 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/1.69, allocations: 136.1 kB / 0.9346 GB, free: 49.98 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/1.69, allocations: 15.27 kB / 0.9347 GB, free: 49.98 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/1.69, allocations: 13.81 kB / 0.9347 GB, free: 49.98 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/1.691, allocations: 21.16 kB / 0.9347 GB, free: 49.98 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.523e-05/1.691, allocations: 23.44 kB / 0.9347 GB, free: 49.98 MB / 234.7 MB Notification: Performance of sorting global known variables: time 6.001e-05/1.691, allocations: 109.2 kB / 0.9348 GB, free: 49.9 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.691, allocations: 0 / 0.9348 GB, free: 49.9 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001081/1.692, allocations: 212 kB / 0.935 GB, free: 49.88 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 () * Number of clocked 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.001513/1.693, allocations: 0.8003 MB / 0.9358 GB, free: 49.73 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0005173/1.694, allocations: 332.1 kB / 0.9361 GB, free: 49.73 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.694, allocations: 1.125 kB / 0.9361 GB, free: 49.73 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000188/1.694, allocations: 161.9 kB / 0.9363 GB, free: 49.73 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005565/1.695, allocations: 86.16 kB / 0.9363 GB, free: 49.73 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/1.696, allocations: 1.029 MB / 0.9374 GB, free: 49.18 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/1.696, allocations: 0.7379 MB / 0.9381 GB, free: 48.48 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0002975/1.696, allocations: 89.77 kB / 0.9382 GB, free: 48.46 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.588e-05/1.696, allocations: 36.39 kB / 0.9382 GB, free: 48.45 MB / 234.7 MB Notification: Performance of SimCode: time 3.1e-07/1.696, allocations: 0 / 0.9382 GB, free: 48.45 MB / 234.7 MB Notification: Performance of Templates: time 0.01798/1.714, allocations: 14.32 MB / 0.9522 GB, free: 47.24 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)