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.001015/0.001015, allocations: 164.5 kB / 7.636 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.555/1.555, allocations: 170.7 MB / 178.7 MB, free: 15.63 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.001745/0.001745, allocations: 119.4 kB / 218 MB, free: 8.398 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.2577/0.2577, allocations: 37.99 MB / 295.1 MB, free: 9.492 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.935e-05/1.866e-05, allocations: 6.094 kB / 350 MB, free: 37.08 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1476, allocations: 48.72 MB / 398.7 MB, free: 5.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.3/2.447, allocations: 0.7455 GB / 1.135 GB, free: 107.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/2.448, allocations: 74.34 kB / 1.135 GB, free: 107.5 MB / 426.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.1267/2.574, allocations: 60.66 MB / 1.194 GB, free: 63.78 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.946e-06/2.574, allocations: 0 / 1.194 GB, free: 63.78 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.437e-05/2.574, allocations: 0.9844 kB / 1.194 GB, free: 63.78 MB / 426.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.0008403/2.575, allocations: 479.1 kB / 1.195 GB, free: 63.26 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/2.575, allocations: 8.031 kB / 1.195 GB, free: 63.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005354/2.581, allocations: 0.7024 MB / 1.195 GB, free: 62.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/2.581, allocations: 278.7 kB / 1.196 GB, free: 62.24 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/2.581, allocations: 8 kB / 1.196 GB, free: 62.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/2.581, allocations: 16 kB / 1.196 GB, free: 62.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009363/2.582, allocations: 0.6445 MB / 1.196 GB, free: 61.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005218/2.583, allocations: 412.4 kB / 1.197 GB, free: 61.15 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/2.583, allocations: 0 / 1.197 GB, free: 61.15 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.964e-05/2.583, allocations: 0 / 1.197 GB, free: 61.15 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/2.583, allocations: 12 kB / 1.197 GB, free: 61.14 MB / 426.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.002561/2.585, allocations: 1.324 MB / 1.198 GB, free: 59.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003794/2.586, allocations: 321.2 kB / 1.198 GB, free: 59.44 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/2.586, allocations: 225.6 kB / 1.198 GB, free: 59.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004965/2.587, allocations: 250.1 kB / 1.199 GB, free: 58.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/2.587, allocations: 38.56 kB / 1.199 GB, free: 58.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 1.904e-06/2.587, allocations: 0 / 1.199 GB, free: 58.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007317/2.587, allocations: 441.3 kB / 1.199 GB, free: 58.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/2.587, allocations: 85.05 kB / 1.199 GB, free: 58.35 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.811e-05/2.588, allocations: 116.9 kB / 1.199 GB, free: 58.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.217e-05/2.588, allocations: 25.7 kB / 1.199 GB, free: 58.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.413e-05/2.588, allocations: 116.5 kB / 1.199 GB, free: 58.08 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.134e-05/2.588, allocations: 110.4 kB / 1.2 GB, free: 57.97 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/2.588, allocations: 0 / 1.2 GB, free: 57.97 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.847e-05/2.588, allocations: 322.8 kB / 1.2 GB, free: 57.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/2.588, allocations: 203.7 kB / 1.2 GB, free: 57.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/2.588, allocations: 292.8 kB / 1.2 GB, free: 57.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/2.589, allocations: 227.9 kB / 1.201 GB, free: 56.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/2.589, allocations: 0 / 1.201 GB, free: 56.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007239/2.589, allocations: 0.5284 MB / 1.201 GB, free: 56.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/2.589, allocations: 4 kB / 1.201 GB, free: 56.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/2.589, allocations: 4 kB / 1.201 GB, free: 56.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/2.589, allocations: 8 kB / 1.201 GB, free: 56.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005611/2.59, allocations: 80.28 kB / 1.201 GB, free: 56.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/2.59, allocations: 19.92 kB / 1.201 GB, free: 56.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004445/2.59, allocations: 35.67 kB / 1.201 GB, free: 56.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/2.59, allocations: 23.98 kB / 1.201 GB, free: 56.18 MB / 426.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.0001086/2.591, allocations: 105.6 kB / 1.201 GB, free: 56.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/2.591, allocations: 23.77 kB / 1.201 GB, free: 56.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008155/2.592, allocations: 0.5251 MB / 1.202 GB, free: 55.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/2.592, allocations: 4 kB / 1.202 GB, free: 55.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/2.592, allocations: 0 / 1.202 GB, free: 55.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/2.592, allocations: 0 / 1.202 GB, free: 55.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006265/2.592, allocations: 0.5107 MB / 1.202 GB, free: 54.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/2.592, allocations: 0 / 1.202 GB, free: 54.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000533/2.593, allocations: 71.88 kB / 1.202 GB, free: 54.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/2.593, allocations: 11.89 kB / 1.202 GB, free: 54.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/2.593, allocations: 7.984 kB / 1.202 GB, free: 54.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/2.593, allocations: 4 kB / 1.202 GB, free: 54.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/2.593, allocations: 0 / 1.202 GB, free: 54.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007859/2.594, allocations: 0.7225 MB / 1.203 GB, free: 54.13 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/2.594, allocations: 96.91 kB / 1.203 GB, free: 54.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.068e-05/2.594, allocations: 0 / 1.203 GB, free: 54.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005152/2.594, allocations: 31.81 kB / 1.203 GB, free: 53.99 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/2.594, allocations: 19.97 kB / 1.203 GB, free: 53.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-05/2.594, allocations: 19.97 kB / 1.203 GB, free: 53.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.911e-05/2.594, allocations: 95.28 kB / 1.203 GB, free: 53.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.4e-07/2.594, allocations: 0 / 1.203 GB, free: 53.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008197/2.595, allocations: 195.8 kB / 1.204 GB, free: 53.66 MB / 426.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.00133/2.597, allocations: 0.8217 MB / 1.204 GB, free: 52.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005624/2.597, allocations: 471.6 kB / 1.205 GB, free: 52.37 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/2.597, allocations: 0 / 1.205 GB, free: 52.37 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002473/2.597, allocations: 227.9 kB / 1.205 GB, free: 52.15 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005878/2.598, allocations: 81.42 kB / 1.205 GB, free: 52.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009803/2.599, allocations: 0.7951 MB / 1.206 GB, free: 51.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001664/2.599, allocations: 0.7446 MB / 1.207 GB, free: 50.48 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007682/2.6, allocations: 126.2 kB / 1.207 GB, free: 50.36 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/2.6, allocations: 31.42 kB / 1.207 GB, free: 50.33 MB / 426.7 MB Notification: Performance of SimCode: time 7.11e-07/2.6, allocations: 0 / 1.207 GB, free: 50.33 MB / 426.7 MB Notification: Performance of Templates: time 0.01366/2.614, allocations: 10.61 MB / 1.217 GB, free: 39.7 MB / 426.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)