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.008552/0.008552, allocations: 165.6 kB / 15.11 MB, free: 5.984 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.506/1.506, allocations: 170.8 MB / 186.6 MB, free: 1.039 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.001751/0.00175, allocations: 115.3 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003536, allocations: 8 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2941, allocations: 38.76 MB / 312.9 MB, free: 38.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.817/2.111, allocations: 0.7381 GB / 1.044 GB, free: 80.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/2.112, allocations: 76.95 kB / 1.044 GB, free: 80.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1192/2.231, allocations: 61.53 MB / 1.104 GB, free: 18.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.004e-06/2.231, allocations: 0 / 1.104 GB, free: 18.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.395e-05/2.231, allocations: 4 kB / 1.104 GB, free: 18.15 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.0007715/2.232, allocations: 483.3 kB / 1.104 GB, free: 17.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/2.232, allocations: 16.02 kB / 1.104 GB, free: 17.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005376/2.237, allocations: 0.7057 MB / 1.105 GB, free: 16.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005179/2.238, allocations: 274.8 kB / 1.105 GB, free: 16.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/2.238, allocations: 16.33 kB / 1.105 GB, free: 16.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/2.238, allocations: 19.91 kB / 1.105 GB, free: 16.56 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/2.239, allocations: 0.6956 MB / 1.106 GB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/2.239, allocations: 0 / 1.106 GB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.449e-05/2.239, allocations: 8 kB / 1.106 GB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.509e-05/2.239, allocations: 15.98 kB / 1.106 GB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/2.241, allocations: 0.765 MB / 1.107 GB, free: 15.06 MB / 362.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.002616/2.243, allocations: 1.229 MB / 1.108 GB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005971/2.244, allocations: 324.9 kB / 1.108 GB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005324/2.244, allocations: 254.2 kB / 1.109 GB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/2.244, allocations: 34.56 kB / 1.109 GB, free: 13.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.345e-06/2.244, allocations: 0 / 1.109 GB, free: 13.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001265/2.246, allocations: 0.5464 MB / 1.109 GB, free: 12.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/2.246, allocations: 85.11 kB / 1.109 GB, free: 12.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/2.246, allocations: 121 kB / 1.109 GB, free: 12.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.435e-05/2.246, allocations: 25.7 kB / 1.109 GB, free: 12.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.51e-05/2.246, allocations: 128.2 kB / 1.109 GB, free: 12.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.613e-05/2.246, allocations: 90.64 kB / 1.109 GB, free: 12.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/2.246, allocations: 8 kB / 1.11 GB, free: 12.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.299e-05/2.246, allocations: 326.8 kB / 1.11 GB, free: 11.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003467/2.247, allocations: 175.9 kB / 1.11 GB, free: 11.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/2.247, allocations: 296.8 kB / 1.11 GB, free: 11.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/2.247, allocations: 207.9 kB / 1.11 GB, free: 11.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/2.247, allocations: 0 / 1.11 GB, free: 11.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008862/2.248, allocations: 0.5104 MB / 1.111 GB, free: 10.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/2.248, allocations: 8 kB / 1.111 GB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/2.248, allocations: 4 kB / 1.111 GB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/2.248, allocations: 4 kB / 1.111 GB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005091/2.249, allocations: 83.83 kB / 1.111 GB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/2.249, allocations: 4 kB / 1.111 GB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004471/2.249, allocations: 39.98 kB / 1.111 GB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.564e-05/2.249, allocations: 23.98 kB / 1.111 GB, free: 10.36 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 () * Number of clocked 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.0001513/2.25, allocations: 149.7 kB / 1.111 GB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/2.25, allocations: 15.81 kB / 1.111 GB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009831/2.251, allocations: 484.8 kB / 1.112 GB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/2.251, allocations: 8 kB / 1.112 GB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/2.251, allocations: 3.953 kB / 1.112 GB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/2.251, allocations: 0 / 1.112 GB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006415/2.251, allocations: 0.4969 MB / 1.112 GB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/2.251, allocations: 0 / 1.112 GB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004882/2.252, allocations: 59.89 kB / 1.112 GB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/2.252, allocations: 4 kB / 1.112 GB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/2.252, allocations: 11.98 kB / 1.112 GB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/2.252, allocations: 3.953 kB / 1.112 GB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/2.252, allocations: 8 kB / 1.112 GB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/2.253, allocations: 0.6772 MB / 1.113 GB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.544e-05/2.253, allocations: 96.84 kB / 1.113 GB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.399e-05/2.253, allocations: 11.95 kB / 1.113 GB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004758/2.254, allocations: 23.97 kB / 1.113 GB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/2.254, allocations: 23.86 kB / 1.113 GB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-05/2.254, allocations: 19.98 kB / 1.113 GB, free: 8.172 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.384e-05/2.254, allocations: 99.25 kB / 1.113 GB, free: 8.074 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/2.254, allocations: 0 / 1.113 GB, free: 8.074 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009565/2.255, allocations: 204.1 kB / 1.113 GB, free: 7.875 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 () * Number of clocked 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.001344/2.256, allocations: 0.7362 MB / 1.114 GB, free: 7.137 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008381/2.257, allocations: 436.8 kB / 1.115 GB, free: 6.711 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/2.257, allocations: 4 kB / 1.115 GB, free: 6.707 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003687/2.257, allocations: 203.8 kB / 1.115 GB, free: 6.508 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005749/2.258, allocations: 88.66 kB / 1.115 GB, free: 6.422 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/2.259, allocations: 1.047 MB / 1.116 GB, free: 5.344 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/2.26, allocations: 0.7484 MB / 1.117 GB, free: 4.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007199/2.261, allocations: 110.2 kB / 1.117 GB, free: 4.461 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/2.261, allocations: 27.42 kB / 1.117 GB, free: 4.434 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/2.261, allocations: 0 / 1.117 GB, free: 4.434 MB / 362.7 MB Notification: Performance of Templates: time 0.218/2.479, allocations: 14.54 MB / 1.131 GB, free: 108.6 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)