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.001409/0.001409, allocations: 182.1 kB / 13.64 MB, free: 1.676 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.544/1.544, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001976/0.001977, allocations: 108.8 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.896e-05/2.898e-05, allocations: 0 / 304.9 MB, free: 29.79 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09556/0.0956, allocations: 44.51 MB / 349.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.929/2.024, allocations: 0.7504 GB / 1.092 GB, free: 85.75 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/2.025, allocations: 68.28 kB / 1.092 GB, free: 85.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.116/2.141, allocations: 61.79 MB / 1.152 GB, free: 29.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.774e-06/2.141, allocations: 0 / 1.152 GB, free: 29.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.365e-05/2.141, allocations: 11.94 kB / 1.152 GB, free: 29.64 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.0006852/2.141, allocations: 467.2 kB / 1.152 GB, free: 29.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/2.142, allocations: 12.03 kB / 1.152 GB, free: 29.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005139/2.147, allocations: 0.6985 MB / 1.153 GB, free: 28.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000442/2.147, allocations: 282.7 kB / 1.153 GB, free: 28.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/2.147, allocations: 12.27 kB / 1.153 GB, free: 28.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/2.147, allocations: 27.89 kB / 1.153 GB, free: 28.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009409/2.148, allocations: 0.6489 MB / 1.154 GB, free: 27.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/2.148, allocations: 3.938 kB / 1.154 GB, free: 27.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-05/2.148, allocations: 8 kB / 1.154 GB, free: 27.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.396e-05/2.148, allocations: 11.98 kB / 1.154 GB, free: 27.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/2.149, allocations: 0.7145 MB / 1.155 GB, free: 26.67 MB / 410.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.002303/2.152, allocations: 1.218 MB / 1.156 GB, free: 25.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003977/2.152, allocations: 289.1 kB / 1.156 GB, free: 25.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/2.152, allocations: 189.7 kB / 1.156 GB, free: 24.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004969/2.153, allocations: 246.1 kB / 1.157 GB, free: 24.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/2.153, allocations: 38.72 kB / 1.157 GB, free: 24.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.154e-06/2.153, allocations: 0 / 1.157 GB, free: 24.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.000686/2.154, allocations: 377.6 kB / 1.157 GB, free: 24.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/2.154, allocations: 85.11 kB / 1.157 GB, free: 24.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.355e-05/2.154, allocations: 118 kB / 1.157 GB, free: 23.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/2.154, allocations: 33.7 kB / 1.157 GB, free: 23.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.318e-05/2.154, allocations: 112.3 kB / 1.157 GB, free: 23.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.421e-05/2.154, allocations: 98.55 kB / 1.158 GB, free: 23.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/2.154, allocations: 8 kB / 1.158 GB, free: 23.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.61e-05/2.154, allocations: 326.8 kB / 1.158 GB, free: 23.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/2.154, allocations: 164 kB / 1.158 GB, free: 23.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/2.155, allocations: 277.7 kB / 1.158 GB, free: 22.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/2.155, allocations: 183.9 kB / 1.158 GB, free: 22.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/2.155, allocations: 8 kB / 1.158 GB, free: 22.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006995/2.155, allocations: 484.4 kB / 1.159 GB, free: 22.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/2.156, allocations: 4 kB / 1.159 GB, free: 22.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/2.156, allocations: 7.938 kB / 1.159 GB, free: 22.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/2.156, allocations: 12.39 kB / 1.159 GB, free: 22.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000477/2.156, allocations: 79.89 kB / 1.159 GB, free: 22.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/2.156, allocations: 4 kB / 1.159 GB, free: 22.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000391/2.156, allocations: 47.66 kB / 1.159 GB, free: 22.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-05/2.157, allocations: 19.94 kB / 1.159 GB, free: 22.09 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 () * 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.0001002/2.157, allocations: 132.8 kB / 1.159 GB, free: 21.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.483e-05/2.157, allocations: 23.77 kB / 1.159 GB, free: 21.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007597/2.157, allocations: 454.1 kB / 1.16 GB, free: 21.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/2.158, allocations: 4 kB / 1.16 GB, free: 21.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/2.158, allocations: 0 / 1.16 GB, free: 21.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/2.158, allocations: 0 / 1.16 GB, free: 21.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006059/2.158, allocations: 0.4975 MB / 1.16 GB, free: 20.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/2.158, allocations: 0 / 1.16 GB, free: 20.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004668/2.159, allocations: 59.95 kB / 1.16 GB, free: 20.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/2.159, allocations: 3.938 kB / 1.16 GB, free: 20.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.035e-05/2.159, allocations: 15.98 kB / 1.16 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/2.159, allocations: 0 / 1.16 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/2.159, allocations: 3.938 kB / 1.16 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007911/2.159, allocations: 0.6415 MB / 1.161 GB, free: 20.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.2e-05/2.16, allocations: 96.94 kB / 1.161 GB, free: 20.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.028e-05/2.16, allocations: 8 kB / 1.161 GB, free: 20.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004441/2.16, allocations: 23.89 kB / 1.161 GB, free: 20.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/2.16, allocations: 15.97 kB / 1.161 GB, free: 20.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.546e-05/2.16, allocations: 19.98 kB / 1.161 GB, free: 19.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.558e-05/2.16, allocations: 99.64 kB / 1.161 GB, free: 19.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/2.16, allocations: 0 / 1.161 GB, free: 19.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008609/2.161, allocations: 208 kB / 1.161 GB, free: 19.69 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 () * 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.001094/2.162, allocations: 0.738 MB / 1.162 GB, free: 18.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005617/2.163, allocations: 408.3 kB / 1.162 GB, free: 18.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/2.163, allocations: 128 / 1.162 GB, free: 18.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002381/2.163, allocations: 197.5 kB / 1.163 GB, free: 18.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005613/2.164, allocations: 91.8 kB / 1.163 GB, free: 18.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009865/2.165, allocations: 0.7771 MB / 1.163 GB, free: 17.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/2.165, allocations: 0.7405 MB / 1.164 GB, free: 16.69 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006714/2.165, allocations: 109.4 kB / 1.164 GB, free: 16.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/2.166, allocations: 35.42 kB / 1.164 GB, free: 16.55 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/2.166, allocations: 0 / 1.164 GB, free: 16.55 MB / 410.7 MB Notification: Performance of Templates: time 0.01895/2.185, allocations: 16.33 MB / 1.18 GB, free: 188 kB / 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)