Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001479/0.001479, allocations: 180.5 kB / 7.651 MB, free: 1.402 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.751/1.751, allocations: 194.3 MB / 202.4 MB, free: 8.527 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.001669/0.001669, allocations: 116.9 kB / 247.4 MB, free: 6.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.237/0.237, allocations: 39.94 MB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.572e-05/1.575e-05, allocations: 0 / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.13, allocations: 54.87 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.43/2.56, allocations: 0.7588 GB / 1.196 GB, free: 138.9 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/2.561, allocations: 76.03 kB / 1.197 GB, free: 138.9 MB / 474.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.1318/2.692, allocations: 60.91 MB / 1.256 GB, free: 113.9 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.553e-06/2.692, allocations: 0 / 1.256 GB, free: 113.9 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.469e-05/2.693, allocations: 4 kB / 1.256 GB, free: 113.9 MB / 474.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.0007631/2.693, allocations: 470.5 kB / 1.257 GB, free: 113.4 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/2.693, allocations: 12.03 kB / 1.257 GB, free: 113.4 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005248/2.699, allocations: 0.7063 MB / 1.257 GB, free: 112.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/2.699, allocations: 282.7 kB / 1.257 GB, free: 112.4 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/2.699, allocations: 4 kB / 1.257 GB, free: 112.4 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-05/2.699, allocations: 12 kB / 1.257 GB, free: 112.4 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009286/2.7, allocations: 0.6484 MB / 1.258 GB, free: 111.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005262/2.701, allocations: 420.4 kB / 1.259 GB, free: 111.3 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/2.701, allocations: 0 / 1.259 GB, free: 111.3 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.878e-05/2.701, allocations: 3.984 kB / 1.259 GB, free: 111.3 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/2.701, allocations: 8 kB / 1.259 GB, free: 111.3 MB / 474.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.002546/2.703, allocations: 1.328 MB / 1.26 GB, free: 109.9 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003779/2.704, allocations: 317.1 kB / 1.26 GB, free: 109.6 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/2.704, allocations: 221.7 kB / 1.26 GB, free: 109.4 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005057/2.704, allocations: 258 kB / 1.261 GB, free: 109.1 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/2.704, allocations: 34.91 kB / 1.261 GB, free: 109 MB / 474.7 MB Notification: Performance of pre-optimization done (n=28): time 1.783e-06/2.704, allocations: 0 / 1.261 GB, free: 109 MB / 474.7 MB Notification: Performance of matching and sorting (n=28): time 0.000708/2.705, allocations: 429.5 kB / 1.261 GB, free: 108.6 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/2.705, allocations: 88.98 kB / 1.261 GB, free: 108.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.136e-05/2.705, allocations: 120.9 kB / 1.261 GB, free: 108.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/2.705, allocations: 29.7 kB / 1.261 GB, free: 108.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.802e-05/2.705, allocations: 116.5 kB / 1.261 GB, free: 108.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.446e-05/2.705, allocations: 102.5 kB / 1.261 GB, free: 108.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/2.705, allocations: 0 / 1.261 GB, free: 108.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.064e-05/2.706, allocations: 326.8 kB / 1.262 GB, free: 107.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002486/2.706, allocations: 199.9 kB / 1.262 GB, free: 107.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/2.706, allocations: 300.8 kB / 1.262 GB, free: 107.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/2.706, allocations: 227.8 kB / 1.262 GB, free: 107 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/2.706, allocations: 0 / 1.262 GB, free: 107 MB / 474.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006924/2.707, allocations: 0.5236 MB / 1.263 GB, free: 106.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/2.707, allocations: 11.28 kB / 1.263 GB, free: 106.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/2.707, allocations: 4 kB / 1.263 GB, free: 106.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/2.707, allocations: 4 kB / 1.263 GB, free: 106.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005392/2.708, allocations: 87.88 kB / 1.263 GB, free: 106.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/2.708, allocations: 11.92 kB / 1.263 GB, free: 106.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004227/2.708, allocations: 43.94 kB / 1.263 GB, free: 106.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.299e-05/2.708, allocations: 23.98 kB / 1.263 GB, free: 106.3 MB / 474.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.0001102/2.708, allocations: 108.9 kB / 1.263 GB, free: 106.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.835e-05/2.708, allocations: 15.81 kB / 1.263 GB, free: 106.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008083/2.709, allocations: 0.5255 MB / 1.264 GB, free: 105.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/2.709, allocations: 0 / 1.264 GB, free: 105.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/2.709, allocations: 4 kB / 1.264 GB, free: 105.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/2.709, allocations: 0 / 1.264 GB, free: 105.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006374/2.71, allocations: 0.5029 MB / 1.264 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/2.71, allocations: 0 / 1.264 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005266/2.71, allocations: 63.88 kB / 1.264 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/2.711, allocations: 4 kB / 1.264 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-05/2.711, allocations: 11.98 kB / 1.264 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/2.711, allocations: 0 / 1.264 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/2.711, allocations: 4 kB / 1.264 GB, free: 105 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008188/2.711, allocations: 0.7311 MB / 1.265 GB, free: 104.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/2.711, allocations: 92.94 kB / 1.265 GB, free: 104.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.55e-05/2.712, allocations: 8 kB / 1.265 GB, free: 104.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004846/2.712, allocations: 27.81 kB / 1.265 GB, free: 104.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/2.712, allocations: 15.98 kB / 1.265 GB, free: 104.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.978e-05/2.712, allocations: 31.86 kB / 1.265 GB, free: 104.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.869e-05/2.712, allocations: 91.28 kB / 1.265 GB, free: 104 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/2.712, allocations: 0 / 1.265 GB, free: 104 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001017/2.713, allocations: 196 kB / 1.266 GB, free: 103.8 MB / 474.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.001419/2.715, allocations: 0.819 MB / 1.266 GB, free: 103 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006059/2.715, allocations: 472.2 kB / 1.267 GB, free: 102.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/2.715, allocations: 8.312 kB / 1.267 GB, free: 102.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002565/2.716, allocations: 223.9 kB / 1.267 GB, free: 102.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006341/2.716, allocations: 83.84 kB / 1.267 GB, free: 102.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009514/2.717, allocations: 0.7948 MB / 1.268 GB, free: 101.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/2.717, allocations: 0.7408 MB / 1.269 GB, free: 100.6 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0007641/2.718, allocations: 126.2 kB / 1.269 GB, free: 100.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/2.718, allocations: 31.42 kB / 1.269 GB, free: 100.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.002e-06/2.718, allocations: 0 / 1.269 GB, free: 100.5 MB / 474.7 MB Notification: Performance of Templates: time 0.01264/2.731, allocations: 10.62 MB / 1.279 GB, free: 89.87 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1)