Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01128/0.01128, allocations: 165.5 kB / 15.11 MB, free: 5.969 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.702/1.702, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001832/0.001832, allocations: 114.6 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4566/0.4566, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004937/0.0004937, allocations: 12 kB / 362.9 MB, free: 5.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1469, allocations: 48.7 MB / 411.6 MB, free: 4.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.511/2.658, allocations: 0.7462 GB / 1.148 GB, free: 139.7 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/2.659, allocations: 77.33 kB / 1.148 GB, free: 139.6 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Media.mo:725:35-725:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.1141/2.773, allocations: 61.7 MB / 1.208 GB, free: 77.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.379e-06/2.773, allocations: 3.984 kB / 1.208 GB, free: 77.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.346e-05/2.773, allocations: 4 kB / 1.208 GB, free: 77.83 MB / 442.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.0008898/2.774, allocations: 485.4 kB / 1.209 GB, free: 77.31 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/2.774, allocations: 8.031 kB / 1.209 GB, free: 77.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005284/2.779, allocations: 0.7065 MB / 1.21 GB, free: 76.6 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004587/2.78, allocations: 286.6 kB / 1.21 GB, free: 76.28 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/2.78, allocations: 12.33 kB / 1.21 GB, free: 76.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.973e-05/2.78, allocations: 20 kB / 1.21 GB, free: 76.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/2.781, allocations: 0.7033 MB / 1.211 GB, free: 75.53 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/2.781, allocations: 0 / 1.211 GB, free: 75.53 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.926e-05/2.781, allocations: 8 kB / 1.211 GB, free: 75.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/2.781, allocations: 8 kB / 1.211 GB, free: 75.51 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/2.783, allocations: 0.7573 MB / 1.211 GB, free: 74.75 MB / 442.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.002405/2.785, allocations: 1.226 MB / 1.213 GB, free: 73.48 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005993/2.786, allocations: 317 kB / 1.213 GB, free: 73.15 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005108/2.786, allocations: 250.6 kB / 1.213 GB, free: 72.87 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/2.786, allocations: 50.48 kB / 1.213 GB, free: 72.81 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 1.573e-06/2.786, allocations: 0 / 1.213 GB, free: 72.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.001165/2.787, allocations: 0.544 MB / 1.214 GB, free: 72.26 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/2.787, allocations: 77.11 kB / 1.214 GB, free: 72.17 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.655e-05/2.787, allocations: 123.8 kB / 1.214 GB, free: 72.04 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/2.787, allocations: 29.7 kB / 1.214 GB, free: 72.01 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/2.788, allocations: 120.2 kB / 1.214 GB, free: 71.89 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.826e-05/2.788, allocations: 98.64 kB / 1.214 GB, free: 71.79 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/2.788, allocations: 4 kB / 1.214 GB, free: 71.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.534e-05/2.788, allocations: 326.8 kB / 1.214 GB, free: 71.46 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003317/2.788, allocations: 187.6 kB / 1.215 GB, free: 71.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/2.788, allocations: 284.5 kB / 1.215 GB, free: 70.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003572/2.789, allocations: 209.3 kB / 1.215 GB, free: 70.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/2.789, allocations: 0 / 1.215 GB, free: 70.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009033/2.79, allocations: 0.5075 MB / 1.216 GB, free: 70.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/2.79, allocations: 4 kB / 1.216 GB, free: 70.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/2.79, allocations: 4.406 kB / 1.216 GB, free: 70.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/2.79, allocations: 15.94 kB / 1.216 GB, free: 70.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005039/2.79, allocations: 83.81 kB / 1.216 GB, free: 70.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/2.79, allocations: 8 kB / 1.216 GB, free: 70.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004189/2.791, allocations: 39.67 kB / 1.216 GB, free: 70.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.286e-05/2.791, allocations: 19.98 kB / 1.216 GB, free: 70.06 MB / 442.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.0001443/2.791, allocations: 146.8 kB / 1.216 GB, free: 69.91 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/2.791, allocations: 15.86 kB / 1.216 GB, free: 69.89 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009651/2.792, allocations: 482.4 kB / 1.216 GB, free: 69.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/2.792, allocations: 3.938 kB / 1.216 GB, free: 69.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/2.792, allocations: 8 kB / 1.216 GB, free: 69.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/2.792, allocations: 3.984 kB / 1.216 GB, free: 69.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006839/2.793, allocations: 0.4996 MB / 1.217 GB, free: 68.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/2.793, allocations: 3.938 kB / 1.217 GB, free: 68.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004895/2.793, allocations: 59.91 kB / 1.217 GB, free: 68.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/2.793, allocations: 0 / 1.217 GB, free: 68.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.523e-05/2.793, allocations: 15.97 kB / 1.217 GB, free: 68.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/2.793, allocations: 4 kB / 1.217 GB, free: 68.78 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/2.793, allocations: 0 / 1.217 GB, free: 68.78 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/2.794, allocations: 0.6829 MB / 1.218 GB, free: 68.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.515e-05/2.795, allocations: 96.84 kB / 1.218 GB, free: 67.95 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.729e-05/2.795, allocations: 8 kB / 1.218 GB, free: 67.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004544/2.795, allocations: 19.98 kB / 1.218 GB, free: 67.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/2.795, allocations: 19.97 kB / 1.218 GB, free: 67.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.807e-05/2.795, allocations: 15.98 kB / 1.218 GB, free: 67.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.487e-05/2.795, allocations: 103.2 kB / 1.218 GB, free: 67.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/2.795, allocations: 4 kB / 1.218 GB, free: 67.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00116/2.796, allocations: 211.9 kB / 1.218 GB, free: 67.58 MB / 442.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.001619/2.798, allocations: 0.726 MB / 1.219 GB, free: 66.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000926/2.799, allocations: 423.6 kB / 1.219 GB, free: 66.43 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/2.799, allocations: 0.8125 kB / 1.219 GB, free: 66.43 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003399/2.799, allocations: 206.7 kB / 1.219 GB, free: 66.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005594/2.8, allocations: 94.42 kB / 1.219 GB, free: 66.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/2.801, allocations: 1.059 MB / 1.22 GB, free: 65.05 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/2.802, allocations: 0.7367 MB / 1.221 GB, free: 64.29 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007154/2.802, allocations: 113.7 kB / 1.221 GB, free: 64.18 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/2.802, allocations: 27.42 kB / 1.221 GB, free: 64.15 MB / 442.7 MB Notification: Performance of SimCode: time 3.2e-07/2.802, allocations: 4 kB / 1.221 GB, free: 64.14 MB / 442.7 MB Notification: Performance of Templates: time 0.01819/2.821, allocations: 14.49 MB / 1.235 GB, free: 49.66 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1)