Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.73/1.73, allocations: 293 MB / 309 MB, free: 4.805 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001211/0.001211, allocations: 176.5 kB / 378.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.721/1.721, allocations: 205.4 MB / 0.6383 GB, free: 8.234 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008592/0.0008589, allocations: 93.69 kB / 0.7527 GB, free: 62.88 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003972/0.0003974, allocations: 12 kB / 0.8768 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2627, allocations: 116.4 MB / 0.9904 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.709/1.972, allocations: 428.6 MB / 1.409 GB, free: 271.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/1.972, allocations: 98.34 kB / 1.409 GB, free: 271.6 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.316/5.289, allocations: 0.967 GB / 2.376 GB, free: 75.19 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.695e-06/5.289, allocations: 0 / 2.376 GB, free: 75.19 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0006081/5.289, allocations: 81.27 kB / 2.376 GB, free: 75.11 MB / 0.948 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.01107/5.3, allocations: 3.123 MB / 2.379 GB, free: 71.95 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/5.301, allocations: 16.03 kB / 2.379 GB, free: 71.93 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00237/5.303, allocations: 353 kB / 2.38 GB, free: 71.59 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008168/5.311, allocations: 2.975 MB / 2.382 GB, free: 68.62 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002294/5.311, allocations: 188.2 kB / 2.383 GB, free: 68.43 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001138/5.313, allocations: 232.9 kB / 2.383 GB, free: 68.21 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008702/5.321, allocations: 3.049 MB / 2.386 GB, free: 65.02 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001301/5.321, allocations: 3.938 kB / 2.386 GB, free: 65.02 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007534/5.322, allocations: 96 kB / 2.386 GB, free: 64.92 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.858e-05/5.322, allocations: 64 kB / 2.386 GB, free: 64.86 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005346/5.328, allocations: 2.383 MB / 2.388 GB, free: 62.46 MB / 0.948 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.02163/5.349, allocations: 12.9 MB / 2.401 GB, free: 48.77 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00247/5.352, allocations: 1.612 MB / 2.403 GB, free: 47.13 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/5.353, allocations: 1.154 MB / 2.404 GB, free: 45.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007805/5.354, allocations: 0.7167 MB / 2.404 GB, free: 45.12 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.825e-05/5.354, allocations: 51.55 kB / 2.404 GB, free: 45.06 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002161/5.356, allocations: 218.6 kB / 2.405 GB, free: 44.85 MB / 0.948 GB Notification: Performance of pre-optimization done (n=126): time 7.905e-06/5.357, allocations: 0 / 2.405 GB, free: 44.85 MB / 0.948 GB Notification: Performance of matching and sorting (n=126): time 0.009794/5.366, allocations: 3.501 MB / 2.408 GB, free: 41.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/5.366, allocations: 145.5 kB / 2.408 GB, free: 41.12 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004068/5.371, allocations: 1.95 MB / 2.41 GB, free: 39.13 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003046/5.371, allocations: 57.7 kB / 2.41 GB, free: 39.07 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001409/5.372, allocations: 1.253 MB / 2.411 GB, free: 37.81 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005412/5.373, allocations: 449.2 kB / 2.412 GB, free: 37.38 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/5.373, allocations: 32 kB / 2.412 GB, free: 37.34 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001554/5.373, allocations: 377.8 kB / 2.412 GB, free: 36.97 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/5.374, allocations: 0.7027 MB / 2.413 GB, free: 36.27 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001783/5.376, allocations: 1.245 MB / 2.414 GB, free: 34.79 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002989/5.379, allocations: 1.99 MB / 2.416 GB, free: 32.61 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.322e-05/5.379, allocations: 4 kB / 2.416 GB, free: 32.61 MB / 0.948 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004701/5.384, allocations: 2.355 MB / 2.418 GB, free: 30.23 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003412/5.384, allocations: 0.4961 MB / 2.419 GB, free: 29.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.952e-05/5.384, allocations: 16 kB / 2.419 GB, free: 29.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002065/5.386, allocations: 0.5049 MB / 2.419 GB, free: 29.01 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/5.388, allocations: 327.4 kB / 2.42 GB, free: 28.69 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/5.39, allocations: 3.105 MB / 2.423 GB, free: 25.43 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002594/5.393, allocations: 223.4 kB / 2.423 GB, free: 25.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002676/5.393, allocations: 83.97 kB / 2.423 GB, free: 25.12 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/5.393, allocations: 11.94 kB / 2.423 GB, free: 25.11 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003522/5.397, allocations: 2.133 MB / 2.425 GB, free: 22.97 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.571e-05/5.397, allocations: 12 kB / 2.425 GB, free: 22.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005739/5.397, allocations: 237.8 kB / 2.425 GB, free: 22.72 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/5.399, allocations: 351.4 kB / 2.426 GB, free: 22.38 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003598/5.402, allocations: 4.166 MB / 2.43 GB, free: 17.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002599/5.405, allocations: 215.5 kB / 2.43 GB, free: 17.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003339/5.405, allocations: 75.98 kB / 2.43 GB, free: 17.66 MB / 0.948 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.002323/5.408, allocations: 1.016 MB / 2.431 GB, free: 16.63 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009483/5.409, allocations: 205.5 kB / 2.431 GB, free: 16.43 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004071/5.413, allocations: 2.005 MB / 2.433 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.51e-05/5.413, allocations: 19.94 kB / 2.433 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/5.413, allocations: 3.938 kB / 2.433 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002248/5.415, allocations: 1.605 MB / 2.435 GB, free: 12.77 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/5.425, allocations: 4.589 MB / 2.439 GB, free: 8.117 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/5.425, allocations: 0 / 2.439 GB, free: 8.117 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008786/5.426, allocations: 215.8 kB / 2.439 GB, free: 7.906 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001592/5.428, allocations: 436.4 kB / 2.44 GB, free: 7.477 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/5.428, allocations: 47.84 kB / 2.44 GB, free: 7.43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002469/5.43, allocations: 3.009 MB / 2.443 GB, free: 4.266 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/5.43, allocations: 8.094 kB / 2.443 GB, free: 4.258 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004291/5.435, allocations: 2.913 MB / 2.446 GB, free: 1.316 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001805/5.436, allocations: 0.5022 MB / 2.446 GB, free: 0.793 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000726/5.437, allocations: 28 kB / 2.446 GB, free: 0.7656 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002187/5.439, allocations: 187.7 kB / 2.446 GB, free: 0.582 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002547/5.44, allocations: 93.16 kB / 2.446 GB, free: 0.4922 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001902/5.44, allocations: 59.95 kB / 2.446 GB, free: 444 kB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003339/5.443, allocations: 1.33 MB / 2.448 GB, free: 15.08 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.9e-07/5.443, allocations: 0 / 2.448 GB, free: 15.08 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.007225/5.45, allocations: 1.511 MB / 2.449 GB, free: 13.57 MB / 0.9636 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.001698/5.452, allocations: 0.5595 MB / 2.45 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00671/5.459, allocations: 3.298 MB / 2.453 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/5.459, allocations: 0 / 2.453 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001782/5.461, allocations: 0.979 MB / 2.454 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00778/5.468, allocations: 1.14 MB / 2.455 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/5.482, allocations: 6.257 MB / 2.461 GB, free: 1.281 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5659/6.048, allocations: 2.147 MB / 2.463 GB, free: 164.4 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0037/6.052, allocations: 0.9196 MB / 2.464 GB, free: 164.3 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005828/6.053, allocations: 177.2 kB / 2.464 GB, free: 164.3 MB / 0.9636 GB Notification: Performance of SimCode: time 2.003e-06/6.053, allocations: 0 / 2.464 GB, free: 164.3 MB / 0.9636 GB Notification: Performance of Templates: time 0.08946/6.142, allocations: 47.51 MB / 2.511 GB, free: 163.5 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)