Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.009979/0.009979, allocations: 170.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7764/0.7764, allocations: 132.3 MB / 148.1 MB, free: 268 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.689/1.689, allocations: 223.2 MB / 403.2 MB, free: 6.633 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.0009311/0.0009307, allocations: 90.81 kB / 485.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003831/0.0003833, allocations: 11.98 kB / 0.5641 GB, free: 2.141 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.515/0.5154, allocations: 81.58 MB / 0.6437 GB, free: 39.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8867/1.402, allocations: 387.3 MB / 1.022 GB, free: 9.902 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/1.403, allocations: 98.41 kB / 1.022 GB, free: 9.848 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.971/5.373, allocations: 0.9923 GB / 2.014 GB, free: 83.23 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.345e-06/5.373, allocations: 0 / 2.014 GB, free: 83.23 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003691/5.374, allocations: 79.92 kB / 2.014 GB, free: 83.15 MB / 0.6823 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.009541/5.383, allocations: 3.193 MB / 2.018 GB, free: 79.89 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/5.383, allocations: 8.031 kB / 2.018 GB, free: 79.89 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002089/5.385, allocations: 364 kB / 2.018 GB, free: 79.53 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007461/5.393, allocations: 3.128 MB / 2.021 GB, free: 76.36 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/5.393, allocations: 180.6 kB / 2.021 GB, free: 76.18 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005774/5.394, allocations: 239.9 kB / 2.021 GB, free: 75.95 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004942/5.399, allocations: 3.027 MB / 2.024 GB, free: 72.78 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.473e-05/5.399, allocations: 4 kB / 2.024 GB, free: 72.77 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002395/5.399, allocations: 96 kB / 2.024 GB, free: 72.68 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.409e-05/5.399, allocations: 67.92 kB / 2.025 GB, free: 72.61 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00358/5.403, allocations: 2.387 MB / 2.027 GB, free: 70.21 MB / 0.6823 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.01673/5.419, allocations: 12.99 MB / 2.04 GB, free: 56.36 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002156/5.422, allocations: 1.66 MB / 2.041 GB, free: 54.68 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006371/5.422, allocations: 0.7088 MB / 2.042 GB, free: 53.82 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/5.422, allocations: 51.56 kB / 2.042 GB, free: 53.76 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001874/5.424, allocations: 230.7 kB / 2.042 GB, free: 53.54 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=126): time 4.578e-06/5.424, allocations: 4 kB / 2.042 GB, free: 53.53 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126): time 0.009042/5.433, allocations: 3.439 MB / 2.045 GB, free: 50.04 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/5.433, allocations: 149.5 kB / 2.046 GB, free: 49.87 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00285/5.436, allocations: 1.911 MB / 2.047 GB, free: 47.92 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002528/5.437, allocations: 57.7 kB / 2.048 GB, free: 47.86 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0011/5.438, allocations: 1.262 MB / 2.049 GB, free: 46.58 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004086/5.438, allocations: 437.8 kB / 2.049 GB, free: 46.15 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-05/5.438, allocations: 36 kB / 2.049 GB, free: 46.11 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001119/5.438, allocations: 373.9 kB / 2.05 GB, free: 45.74 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009407/5.439, allocations: 0.7027 MB / 2.05 GB, free: 45.04 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/5.44, allocations: 1.241 MB / 2.051 GB, free: 43.57 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/5.442, allocations: 0.9417 MB / 2.052 GB, free: 42.63 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/5.442, allocations: 4 kB / 2.052 GB, free: 42.63 MB / 0.6823 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.0036/5.445, allocations: 2.363 MB / 2.055 GB, free: 40.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001299/5.446, allocations: 5.711 MB / 2.06 GB, free: 34.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/5.446, allocations: 16 kB / 2.06 GB, free: 34.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001868/5.448, allocations: 489 kB / 2.061 GB, free: 33.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/5.45, allocations: 347.4 kB / 2.061 GB, free: 33.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002728/5.452, allocations: 3.145 MB / 2.064 GB, free: 29.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002734/5.455, allocations: 227.5 kB / 2.064 GB, free: 29.72 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001738/5.455, allocations: 83.97 kB / 2.064 GB, free: 29.64 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/5.455, allocations: 4 kB / 2.064 GB, free: 29.64 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00302/5.458, allocations: 2.133 MB / 2.067 GB, free: 27.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/5.458, allocations: 20.03 kB / 2.067 GB, free: 27.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005509/5.459, allocations: 233.5 kB / 2.067 GB, free: 27.24 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/5.46, allocations: 371.4 kB / 2.067 GB, free: 26.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00361/5.464, allocations: 4.211 MB / 2.071 GB, free: 22.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003051/5.467, allocations: 219.5 kB / 2.071 GB, free: 22.19 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004011/5.467, allocations: 83.97 kB / 2.072 GB, free: 22.11 MB / 0.6823 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.002535/5.47, allocations: 1.012 MB / 2.073 GB, free: 21.08 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009721/5.471, allocations: 213.4 kB / 2.073 GB, free: 20.87 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00423/5.475, allocations: 2.012 MB / 2.075 GB, free: 18.84 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.112e-05/5.475, allocations: 15.95 kB / 2.075 GB, free: 18.83 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/5.475, allocations: 4 kB / 2.075 GB, free: 18.82 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002193/5.477, allocations: 1.621 MB / 2.076 GB, free: 17.19 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01034/5.488, allocations: 4.571 MB / 2.081 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/5.488, allocations: 4.094 kB / 2.081 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009378/5.489, allocations: 211.7 kB / 2.081 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001709/5.49, allocations: 438.2 kB / 2.081 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001348/5.491, allocations: 31.98 kB / 2.081 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002615/5.493, allocations: 3.051 MB / 2.084 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/5.493, allocations: 3.984 kB / 2.084 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004429/5.498, allocations: 2.974 MB / 2.087 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002046/5.5, allocations: 0.5256 MB / 2.088 GB, free: 5.059 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008283/5.501, allocations: 32 kB / 2.088 GB, free: 5.027 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002353/5.503, allocations: 191.6 kB / 2.088 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002573/5.503, allocations: 97.16 kB / 2.088 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001918/5.504, allocations: 59.95 kB / 2.088 GB, free: 4.688 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003252/5.507, allocations: 1.475 MB / 2.09 GB, free: 3.191 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.1e-07/5.507, allocations: 0 / 2.09 GB, free: 3.191 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.007117/5.514, allocations: 1.527 MB / 2.091 GB, free: 1.66 MB / 0.6823 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.00166/5.516, allocations: 0.5701 MB / 2.092 GB, free: 1.113 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006509/5.522, allocations: 3.314 MB / 2.095 GB, free: 13.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/5.522, allocations: 0 / 2.095 GB, free: 13.77 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001942/5.524, allocations: 0.9901 MB / 2.096 GB, free: 12.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006999/5.531, allocations: 1.12 MB / 2.097 GB, free: 11.68 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01828/5.55, allocations: 6.309 MB / 2.103 GB, free: 5.379 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004408/5.554, allocations: 2.215 MB / 2.105 GB, free: 3.133 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.005187/5.559, allocations: 0.9452 MB / 2.106 GB, free: 2.207 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009965/5.56, allocations: 179.4 kB / 2.106 GB, free: 2.027 MB / 0.698 GB Notification: Performance of SimCode: time 1.293e-06/5.56, allocations: 0 / 2.106 GB, free: 2.027 MB / 0.698 GB Notification: Performance of Templates: time 0.5329/6.093, allocations: 47.16 MB / 2.152 GB, free: 130.4 MB / 0.698 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)