Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006995/0.006995, allocations: 170.6 kB / 15.11 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7702/0.7702, allocations: 135.2 MB / 151.1 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.673/1.673, allocations: 223.2 MB / 406.9 MB, free: 3.227 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 91.16 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.00037, allocations: 8 kB / 0.5691 GB, free: 14.2 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5058/0.5062, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9431/1.449, allocations: 387.6 MB / 1.028 GB, free: 2.523 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/1.45, allocations: 98.8 kB / 1.028 GB, free: 2.469 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.004/5.454, allocations: 0.9923 GB / 2.02 GB, free: 93.51 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.065e-06/5.454, allocations: 0 / 2.02 GB, free: 93.51 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003374/5.454, allocations: 87.8 kB / 2.02 GB, free: 93.43 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.009339/5.464, allocations: 3.187 MB / 2.024 GB, free: 90.17 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.582e-05/5.464, allocations: 8.031 kB / 2.024 GB, free: 90.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003302/5.467, allocations: 356 kB / 2.024 GB, free: 89.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009691/5.477, allocations: 3.128 MB / 2.027 GB, free: 86.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002034/5.477, allocations: 176.6 kB / 2.027 GB, free: 86.47 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007351/5.478, allocations: 243.9 kB / 2.027 GB, free: 86.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005046/5.483, allocations: 3.023 MB / 2.03 GB, free: 83.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.103e-05/5.483, allocations: 4 kB / 2.03 GB, free: 83.06 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002316/5.483, allocations: 100 kB / 2.03 GB, free: 82.96 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.959e-05/5.483, allocations: 71.86 kB / 2.03 GB, free: 82.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00342/5.487, allocations: 2.383 MB / 2.033 GB, free: 80.5 MB / 0.698 GB 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.01542/5.502, allocations: 12.99 MB / 2.045 GB, free: 66.65 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002141/5.504, allocations: 1.648 MB / 2.047 GB, free: 64.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006329/5.505, allocations: 0.7166 MB / 2.048 GB, free: 64.11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/5.505, allocations: 55.44 kB / 2.048 GB, free: 64.05 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001805/5.507, allocations: 235 kB / 2.048 GB, free: 63.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 4.559e-06/5.507, allocations: 0 / 2.048 GB, free: 63.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=126): time 0.00902/5.516, allocations: 3.443 MB / 2.051 GB, free: 60.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.578e-05/5.516, allocations: 145.5 kB / 2.052 GB, free: 60.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002997/5.519, allocations: 1.907 MB / 2.053 GB, free: 58.21 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002588/5.519, allocations: 65.7 kB / 2.053 GB, free: 58.14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001126/5.521, allocations: 1.262 MB / 2.055 GB, free: 56.87 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004582/5.521, allocations: 441.7 kB / 2.055 GB, free: 56.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.141e-05/5.521, allocations: 36 kB / 2.055 GB, free: 56.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000131/5.521, allocations: 374 kB / 2.056 GB, free: 56.02 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009834/5.522, allocations: 0.7065 MB / 2.056 GB, free: 55.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/5.523, allocations: 1.241 MB / 2.057 GB, free: 53.85 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/5.525, allocations: 0.9302 MB / 2.058 GB, free: 52.92 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/5.525, allocations: 8 kB / 2.058 GB, free: 52.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003625/5.528, allocations: 2.359 MB / 2.061 GB, free: 50.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001417/5.53, allocations: 5.715 MB / 2.066 GB, free: 44.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.063e-05/5.53, allocations: 12 kB / 2.066 GB, free: 44.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001865/5.532, allocations: 494 kB / 2.067 GB, free: 43.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/5.533, allocations: 343.5 kB / 2.067 GB, free: 43.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00289/5.536, allocations: 3.136 MB / 2.07 GB, free: 40.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00291/5.539, allocations: 235.4 kB / 2.07 GB, free: 40 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003482/5.539, allocations: 79.97 kB / 2.07 GB, free: 39.92 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/5.539, allocations: 4 kB / 2.07 GB, free: 39.92 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003814/5.543, allocations: 2.14 MB / 2.073 GB, free: 37.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.595e-05/5.543, allocations: 15.94 kB / 2.073 GB, free: 37.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005983/5.544, allocations: 242.4 kB / 2.073 GB, free: 37.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/5.545, allocations: 367.4 kB / 2.073 GB, free: 37.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00371/5.549, allocations: 4.211 MB / 2.077 GB, free: 32.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002791/5.552, allocations: 215.6 kB / 2.077 GB, free: 32.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003664/5.552, allocations: 83.92 kB / 2.078 GB, free: 32.38 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,nor.y,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 177 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 22} Notification: Performance of prepare postOptimizeDAE: time 0.002563/5.555, allocations: 1.012 MB / 2.078 GB, free: 31.36 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009492/5.556, allocations: 209.4 kB / 2.079 GB, free: 31.15 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004173/5.56, allocations: 2.02 MB / 2.081 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.32e-05/5.56, allocations: 12 kB / 2.081 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/5.56, allocations: 7.141 kB / 2.081 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002276/5.562, allocations: 1.613 MB / 2.082 GB, free: 27.47 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/5.573, allocations: 4.575 MB / 2.087 GB, free: 22.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/5.573, allocations: 7.938 kB / 2.087 GB, free: 22.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000922/5.574, allocations: 215.8 kB / 2.087 GB, free: 22.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001661/5.576, allocations: 429.1 kB / 2.087 GB, free: 22.16 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001317/5.576, allocations: 35.98 kB / 2.087 GB, free: 22.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00263/5.579, allocations: 3.049 MB / 2.09 GB, free: 18.92 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/5.579, allocations: 4.062 kB / 2.09 GB, free: 18.92 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004426/5.583, allocations: 2.974 MB / 2.093 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00228/5.586, allocations: 0.5295 MB / 2.094 GB, free: 15.33 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009251/5.587, allocations: 28 kB / 2.094 GB, free: 15.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00275/5.589, allocations: 187.6 kB / 2.094 GB, free: 15.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003004/5.59, allocations: 97.16 kB / 2.094 GB, free: 15.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002163/5.59, allocations: 59.95 kB / 2.094 GB, free: 14.97 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004031/5.594, allocations: 1.479 MB / 2.096 GB, free: 13.47 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/5.594, allocations: 0 / 2.096 GB, free: 13.47 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.008154/5.602, allocations: 1.519 MB / 2.097 GB, free: 11.95 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U) * Number of discrete variables: 5 (onOffBot.y,onOffMid.y,and2.y,nor.y,onOffHea.y) * Number of discrete states: 3 (onOffBot.y,onOffMid.y,onOffHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001788/5.604, allocations: 0.5869 MB / 2.098 GB, free: 11.38 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006586/5.611, allocations: 3.299 MB / 2.101 GB, free: 8.047 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/5.611, allocations: 8.312 kB / 2.101 GB, free: 8.039 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001705/5.612, allocations: 0.9888 MB / 2.102 GB, free: 7.039 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006583/5.619, allocations: 1.115 MB / 2.103 GB, free: 5.961 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.481/6.1, allocations: 6.289 MB / 2.109 GB, free: 127.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003714/6.104, allocations: 2.219 MB / 2.111 GB, free: 126.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004265/6.108, allocations: 0.9452 MB / 2.112 GB, free: 126.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006865/6.109, allocations: 184.3 kB / 2.112 GB, free: 126.8 MB / 0.698 GB Notification: Performance of SimCode: time 8.61e-07/6.109, allocations: 0 / 2.112 GB, free: 126.8 MB / 0.698 GB Notification: Performance of Templates: time 0.0894/6.198, allocations: 47.16 MB / 2.158 GB, free: 125.5 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)