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.001807/0.001806, allocations: 169.4 kB / 12.72 MB, free: 2.594 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.434/1.434, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001684/0.001685, allocations: 99.53 kB / 223.2 MB, free: 4.055 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.21/0.21, allocations: 37.99 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.299e-05/3.3e-05, allocations: 3.984 kB / 357 MB, free: 32.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1216, allocations: 48.7 MB / 405.7 MB, free: 15.67 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.095/2.217, allocations: 0.7461 GB / 1.142 GB, free: 128.7 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/2.217, allocations: 73.3 kB / 1.142 GB, free: 128.7 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.1166/2.333, allocations: 61.68 MB / 1.203 GB, free: 103.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.723e-06/2.333, allocations: 0 / 1.203 GB, free: 103.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.262e-05/2.334, allocations: 4 kB / 1.203 GB, free: 103.8 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.0006428/2.334, allocations: 463.2 kB / 1.203 GB, free: 103.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/2.334, allocations: 15.97 kB / 1.203 GB, free: 103.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005198/2.339, allocations: 0.7102 MB / 1.204 GB, free: 102.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/2.34, allocations: 278.7 kB / 1.204 GB, free: 102.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/2.34, allocations: 12.33 kB / 1.204 GB, free: 102.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/2.34, allocations: 19.94 kB / 1.204 GB, free: 102.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009391/2.341, allocations: 0.6606 MB / 1.205 GB, free: 101.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/2.341, allocations: 0 / 1.205 GB, free: 101.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.692e-05/2.341, allocations: 8 kB / 1.205 GB, free: 101.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/2.341, allocations: 15.98 kB / 1.205 GB, free: 101.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/2.342, allocations: 0.7067 MB / 1.205 GB, free: 100.8 MB / 442.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.002311/2.344, allocations: 1.218 MB / 1.207 GB, free: 99.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003941/2.345, allocations: 293 kB / 1.207 GB, free: 99.19 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002369/2.345, allocations: 189.7 kB / 1.207 GB, free: 99 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005177/2.346, allocations: 250.1 kB / 1.207 GB, free: 98.72 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/2.346, allocations: 34.56 kB / 1.207 GB, free: 98.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 2.194e-06/2.346, allocations: 4 kB / 1.207 GB, free: 98.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.000691/2.346, allocations: 377.7 kB / 1.208 GB, free: 98.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/2.346, allocations: 85.09 kB / 1.208 GB, free: 98.2 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.328e-05/2.347, allocations: 118.1 kB / 1.208 GB, free: 98.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/2.347, allocations: 29.7 kB / 1.208 GB, free: 98.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/2.347, allocations: 116.2 kB / 1.208 GB, free: 97.92 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.205e-05/2.347, allocations: 90.66 kB / 1.208 GB, free: 97.83 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/2.347, allocations: 12 kB / 1.208 GB, free: 97.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.797e-05/2.347, allocations: 326.8 kB / 1.208 GB, free: 97.49 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/2.347, allocations: 171.7 kB / 1.209 GB, free: 97.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/2.347, allocations: 273.9 kB / 1.209 GB, free: 97.01 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/2.348, allocations: 199.9 kB / 1.209 GB, free: 96.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/2.348, allocations: 0 / 1.209 GB, free: 96.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007/2.348, allocations: 484.4 kB / 1.209 GB, free: 96.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/2.348, allocations: 8.406 kB / 1.21 GB, free: 96.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/2.348, allocations: 4 kB / 1.21 GB, free: 96.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/2.348, allocations: 8 kB / 1.21 GB, free: 96.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005078/2.349, allocations: 83.81 kB / 1.21 GB, free: 96.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.553e-05/2.349, allocations: 8 kB / 1.21 GB, free: 96.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003965/2.349, allocations: 39.67 kB / 1.21 GB, free: 96.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.217e-05/2.349, allocations: 23.98 kB / 1.21 GB, free: 96.17 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 () * 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.0001/2.349, allocations: 120.9 kB / 1.21 GB, free: 96.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.719e-05/2.35, allocations: 15.86 kB / 1.21 GB, free: 96.03 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007819/2.35, allocations: 454 kB / 1.21 GB, free: 95.58 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/2.35, allocations: 7.938 kB / 1.21 GB, free: 95.57 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/2.35, allocations: 0 / 1.21 GB, free: 95.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/2.35, allocations: 3.984 kB / 1.21 GB, free: 95.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005961/2.351, allocations: 0.5086 MB / 1.211 GB, free: 95.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/2.351, allocations: 3.953 kB / 1.211 GB, free: 95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000467/2.352, allocations: 55.95 kB / 1.211 GB, free: 94.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/2.352, allocations: 4 kB / 1.211 GB, free: 94.95 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.204e-05/2.352, allocations: 11.98 kB / 1.211 GB, free: 94.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/2.352, allocations: 0 / 1.211 GB, free: 94.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/2.352, allocations: 4 kB / 1.211 GB, free: 94.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007803/2.352, allocations: 0.6459 MB / 1.211 GB, free: 94.25 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.89e-05/2.352, allocations: 88.95 kB / 1.212 GB, free: 94.15 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.273e-05/2.352, allocations: 11.98 kB / 1.212 GB, free: 94.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004477/2.353, allocations: 19.98 kB / 1.212 GB, free: 94.12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/2.353, allocations: 11.98 kB / 1.212 GB, free: 94.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.676e-05/2.353, allocations: 23.97 kB / 1.212 GB, free: 94.08 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.919e-05/2.353, allocations: 103.6 kB / 1.212 GB, free: 93.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/2.353, allocations: 4 kB / 1.212 GB, free: 93.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009264/2.354, allocations: 203.9 kB / 1.212 GB, free: 93.78 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 () * 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.001101/2.355, allocations: 0.7255 MB / 1.213 GB, free: 93.04 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005804/2.356, allocations: 404.5 kB / 1.213 GB, free: 92.64 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/2.356, allocations: 0 / 1.213 GB, free: 92.64 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002435/2.356, allocations: 195.9 kB / 1.213 GB, free: 92.45 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005735/2.357, allocations: 87.14 kB / 1.213 GB, free: 92.37 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009859/2.358, allocations: 0.7809 MB / 1.214 GB, free: 91.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/2.358, allocations: 0.7483 MB / 1.215 GB, free: 90.79 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007057/2.358, allocations: 109.7 kB / 1.215 GB, free: 90.69 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/2.359, allocations: 35.41 kB / 1.215 GB, free: 90.66 MB / 442.7 MB Notification: Performance of SimCode: time 5.41e-07/2.359, allocations: 0 / 1.215 GB, free: 90.66 MB / 442.7 MB Notification: Performance of Templates: time 0.01761/2.376, allocations: 16.23 MB / 1.231 GB, free: 74.41 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)