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.0014/0.0014, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.5/1.5, allocations: 170.6 MB / 178.7 MB, free: 15.59 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.001881/0.001881, allocations: 107.5 kB / 218 MB, free: 8.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.761e-05/1.763e-05, allocations: 4 kB / 262.2 MB, free: 26.4 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08615/0.08619, allocations: 38.77 MB / 301 MB, free: 3.637 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.05/2.136, allocations: 0.7374 GB / 1.031 GB, free: 61.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/2.137, allocations: 69.59 kB / 1.031 GB, free: 61.19 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1212/2.258, allocations: 60.48 MB / 1.09 GB, free: 5.484 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.973e-06/2.258, allocations: 0 / 1.09 GB, free: 5.484 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.699e-05/2.258, allocations: 8 kB / 1.09 GB, free: 5.477 MB / 346.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.0008252/2.259, allocations: 463.2 kB / 1.091 GB, free: 4.977 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/2.259, allocations: 15.97 kB / 1.091 GB, free: 4.961 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005626/2.265, allocations: 0.7063 MB / 1.092 GB, free: 4.254 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000466/2.265, allocations: 274.8 kB / 1.092 GB, free: 3.945 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/2.265, allocations: 4 kB / 1.092 GB, free: 3.941 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/2.265, allocations: 19.98 kB / 1.092 GB, free: 3.922 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009919/2.266, allocations: 0.6445 MB / 1.093 GB, free: 3.277 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005634/2.267, allocations: 404.5 kB / 1.093 GB, free: 2.867 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/2.267, allocations: 0 / 1.093 GB, free: 2.867 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.352e-05/2.267, allocations: 4 kB / 1.093 GB, free: 2.863 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/2.267, allocations: 19.95 kB / 1.093 GB, free: 2.844 MB / 346.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.00272/2.27, allocations: 1.327 MB / 1.094 GB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003867/2.27, allocations: 321 kB / 1.095 GB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/2.27, allocations: 226 kB / 1.095 GB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005492/2.271, allocations: 246.1 kB / 1.095 GB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/2.271, allocations: 46.5 kB / 1.095 GB, free: 0.582 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 2.013e-06/2.271, allocations: 0 / 1.095 GB, free: 0.582 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.000798/2.272, allocations: 439.1 kB / 1.095 GB, free: 152 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/2.272, allocations: 77.11 kB / 1.096 GB, free: 56 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.244/2.516, allocations: 115.7 kB / 1.096 GB, free: 97.65 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001809/2.516, allocations: 27.11 kB / 1.096 GB, free: 97.62 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.906e-05/2.516, allocations: 112.8 kB / 1.096 GB, free: 97.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/2.516, allocations: 108.5 kB / 1.096 GB, free: 97.49 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/2.516, allocations: 1.156 kB / 1.096 GB, free: 97.49 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/2.516, allocations: 326.2 kB / 1.096 GB, free: 97.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000393/2.517, allocations: 199 kB / 1.096 GB, free: 97.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004096/2.517, allocations: 296.7 kB / 1.097 GB, free: 97.06 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004936/2.518, allocations: 227.6 kB / 1.097 GB, free: 97.06 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/2.518, allocations: 4 kB / 1.097 GB, free: 97.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001015/2.519, allocations: 0.5234 MB / 1.097 GB, free: 97.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/2.519, allocations: 12.7 kB / 1.097 GB, free: 97.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/2.519, allocations: 3.125 kB / 1.097 GB, free: 97.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.002e-05/2.519, allocations: 7 kB / 1.097 GB, free: 97.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007009/2.52, allocations: 87.95 kB / 1.097 GB, free: 97.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/2.52, allocations: 8.125 kB / 1.097 GB, free: 97.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004898/2.52, allocations: 39.5 kB / 1.098 GB, free: 97.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.002e-05/2.52, allocations: 21.08 kB / 1.098 GB, free: 97.01 MB / 346.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.0001606/2.52, allocations: 121.5 kB / 1.098 GB, free: 96.9 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/2.521, allocations: 17.75 kB / 1.098 GB, free: 96.89 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/2.522, allocations: 0.5115 MB / 1.098 GB, free: 96.86 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/2.522, allocations: 7.266 kB / 1.098 GB, free: 96.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/2.522, allocations: 3.188 kB / 1.098 GB, free: 96.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/2.522, allocations: 1.922 kB / 1.098 GB, free: 96.86 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008242/2.523, allocations: 0.5021 MB / 1.099 GB, free: 96.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/2.523, allocations: 4.781 kB / 1.099 GB, free: 96.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005809/2.523, allocations: 67.12 kB / 1.099 GB, free: 96.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/2.523, allocations: 3.75 kB / 1.099 GB, free: 96.6 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-05/2.523, allocations: 12.77 kB / 1.099 GB, free: 96.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/2.523, allocations: 1.156 kB / 1.099 GB, free: 96.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/2.523, allocations: 3.781 kB / 1.099 GB, free: 96.59 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/2.524, allocations: 0.7206 MB / 1.099 GB, free: 96.35 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.966e-05/2.524, allocations: 95.45 kB / 1.1 GB, free: 96.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.742e-05/2.524, allocations: 10.47 kB / 1.1 GB, free: 96.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005141/2.525, allocations: 26.02 kB / 1.1 GB, free: 96.25 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/2.525, allocations: 19.34 kB / 1.1 GB, free: 96.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.541e-05/2.525, allocations: 20.64 kB / 1.1 GB, free: 96.24 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.763e-05/2.525, allocations: 95.64 kB / 1.1 GB, free: 96.17 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/2.525, allocations: 0 / 1.1 GB, free: 96.17 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001119/2.526, allocations: 191.2 kB / 1.1 GB, free: 96.17 MB / 346.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.001772/2.528, allocations: 0.829 MB / 1.101 GB, free: 96.04 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008132/2.529, allocations: 473.9 kB / 1.101 GB, free: 96.04 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/2.529, allocations: 0 / 1.101 GB, free: 96.04 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003041/2.529, allocations: 233.5 kB / 1.101 GB, free: 96.04 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006297/2.53, allocations: 83.73 kB / 1.101 GB, free: 96.04 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/2.531, allocations: 0.7841 MB / 1.102 GB, free: 95.86 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/2.531, allocations: 0.7472 MB / 1.103 GB, free: 95.16 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008072/2.532, allocations: 129.7 kB / 1.103 GB, free: 95.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/2.532, allocations: 34.27 kB / 1.103 GB, free: 95.15 MB / 346.7 MB Notification: Performance of SimCode: time 7.91e-07/2.532, allocations: 0 / 1.103 GB, free: 95.15 MB / 346.7 MB Notification: Performance of Templates: time 0.01995/2.552, allocations: 10.68 MB / 1.114 GB, free: 94.21 MB / 346.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)