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.00108/0.00108, allocations: 183.8 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.674/1.674, allocations: 194.3 MB / 203.1 MB, free: 13.02 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.00177/0.00177, allocations: 125.5 kB / 248.1 MB, free: 24 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.116e-05/2.118e-05, allocations: 0 / 298.1 MB, free: 35.51 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1122, allocations: 44.5 MB / 342.6 MB, free: 6.996 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.997/2.109, allocations: 0.7497 GB / 1.084 GB, free: 43.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/2.109, allocations: 73.27 kB / 1.084 GB, free: 43.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3547/2.464, allocations: 60.76 MB / 1.144 GB, free: 121.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.353e-06/2.464, allocations: 0 / 1.144 GB, free: 121.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.793e-05/2.464, allocations: 3.938 kB / 1.144 GB, free: 121.8 MB / 394.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.0008119/2.465, allocations: 472.3 kB / 1.144 GB, free: 121.4 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/2.465, allocations: 7.844 kB / 1.144 GB, free: 121.4 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005528/2.47, allocations: 0.7041 MB / 1.145 GB, free: 121.4 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004709/2.471, allocations: 272.4 kB / 1.145 GB, free: 121.2 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/2.471, allocations: 7.781 kB / 1.145 GB, free: 121.2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/2.471, allocations: 14.67 kB / 1.145 GB, free: 121.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00105/2.472, allocations: 0.6413 MB / 1.146 GB, free: 121.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000582/2.473, allocations: 423.8 kB / 1.146 GB, free: 121.1 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/2.473, allocations: 0 / 1.146 GB, free: 121.1 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.902e-05/2.473, allocations: 7.391 kB / 1.146 GB, free: 121.1 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/2.473, allocations: 7.906 kB / 1.146 GB, free: 121.1 MB / 394.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.002756/2.476, allocations: 1.319 MB / 1.147 GB, free: 120.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004081/2.476, allocations: 325.5 kB / 1.148 GB, free: 120.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002643/2.476, allocations: 221.5 kB / 1.148 GB, free: 120.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005274/2.477, allocations: 257.4 kB / 1.148 GB, free: 120.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/2.477, allocations: 38.38 kB / 1.148 GB, free: 120.1 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 2.285e-06/2.477, allocations: 0 / 1.148 GB, free: 120.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007867/2.478, allocations: 433.5 kB / 1.149 GB, free: 120 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/2.478, allocations: 96.39 kB / 1.149 GB, free: 119.8 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.375e-05/2.478, allocations: 127 kB / 1.149 GB, free: 119.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/2.478, allocations: 25.7 kB / 1.149 GB, free: 119.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.811e-05/2.478, allocations: 110.4 kB / 1.149 GB, free: 119.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.243e-05/2.478, allocations: 107.7 kB / 1.149 GB, free: 119.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/2.478, allocations: 0 / 1.149 GB, free: 119.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.389e-05/2.478, allocations: 325.4 kB / 1.149 GB, free: 119.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/2.478, allocations: 195.9 kB / 1.15 GB, free: 119.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/2.479, allocations: 300.5 kB / 1.15 GB, free: 118.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/2.479, allocations: 233.2 kB / 1.15 GB, free: 118.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/2.479, allocations: 3.125 kB / 1.15 GB, free: 118.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007821/2.48, allocations: 0.5209 MB / 1.151 GB, free: 118.6 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/2.48, allocations: 3.656 kB / 1.151 GB, free: 118.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/2.48, allocations: 6.531 kB / 1.151 GB, free: 118.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/2.48, allocations: 3.938 kB / 1.151 GB, free: 118.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005617/2.481, allocations: 89.31 kB / 1.151 GB, free: 118.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/2.481, allocations: 7.219 kB / 1.151 GB, free: 118.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004606/2.481, allocations: 41.39 kB / 1.151 GB, free: 118.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.743e-05/2.481, allocations: 20.72 kB / 1.151 GB, free: 118.6 MB / 394.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 (41): * Single equations (assignments): 41 * 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.0001327/2.481, allocations: 116.2 kB / 1.151 GB, free: 118.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/2.481, allocations: 18.92 kB / 1.151 GB, free: 118.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008704/2.482, allocations: 0.5194 MB / 1.151 GB, free: 118.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/2.482, allocations: 3.25 kB / 1.151 GB, free: 118.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/2.482, allocations: 0 / 1.151 GB, free: 118.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/2.482, allocations: 7.75 kB / 1.151 GB, free: 118.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006996/2.483, allocations: 0.5069 MB / 1.152 GB, free: 117.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/2.483, allocations: 6.344 kB / 1.152 GB, free: 117.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005634/2.484, allocations: 66.88 kB / 1.152 GB, free: 117.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.942e-06/2.484, allocations: 3.656 kB / 1.152 GB, free: 117.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.093e-05/2.484, allocations: 6.891 kB / 1.152 GB, free: 117.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-06/2.484, allocations: 4 kB / 1.152 GB, free: 117.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/2.484, allocations: 3.844 kB / 1.152 GB, free: 117.9 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008987/2.485, allocations: 0.7284 MB / 1.153 GB, free: 117.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.95e-05/2.485, allocations: 92.67 kB / 1.153 GB, free: 117.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.306e-05/2.485, allocations: 3.406 kB / 1.153 GB, free: 117.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000495/2.485, allocations: 31.28 kB / 1.153 GB, free: 117.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/2.485, allocations: 11.77 kB / 1.153 GB, free: 117.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.724e-05/2.485, allocations: 22.73 kB / 1.153 GB, free: 117.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.399e-05/2.485, allocations: 99.55 kB / 1.153 GB, free: 117.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/2.485, allocations: 0 / 1.153 GB, free: 117.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009066/2.486, allocations: 189.4 kB / 1.153 GB, free: 117.2 MB / 394.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 (28): * Single equations (assignments): 28 * 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.001704/2.488, allocations: 0.8417 MB / 1.154 GB, free: 116.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007215/2.489, allocations: 469.5 kB / 1.154 GB, free: 116.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/2.489, allocations: 0 / 1.154 GB, free: 116.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003096/2.489, allocations: 229.8 kB / 1.155 GB, free: 116.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006574/2.49, allocations: 80.69 kB / 1.155 GB, free: 116.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/2.491, allocations: 0.7945 MB / 1.155 GB, free: 116.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/2.491, allocations: 0.739 MB / 1.156 GB, free: 115.4 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008301/2.492, allocations: 136.3 kB / 1.156 GB, free: 115.4 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/2.492, allocations: 38.62 kB / 1.156 GB, free: 115.3 MB / 394.7 MB Notification: Performance of SimCode: time 8.01e-07/2.492, allocations: 0 / 1.156 GB, free: 115.3 MB / 394.7 MB Notification: Performance of Templates: time 0.017/2.509, allocations: 10.69 MB / 1.167 GB, free: 113.2 MB / 394.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)