Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.652/2.652, allocations: 287.5 MB / 303.2 MB, free: 8.211 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.001332/0.001332, allocations: 173.1 kB / 371.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.114/2.114, allocations: 205.4 MB / 0.6305 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000955/0.0009546, allocations: 96.02 kB / 0.7438 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007469/0.0007471, allocations: 16.42 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2224, allocations: 115.3 MB / 0.9793 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.307/1.529, allocations: 427.4 MB / 1.397 GB, free: 3 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004521/1.529, allocations: 103.2 kB / 1.397 GB, free: 2.945 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.069/6.598, allocations: 0.967 GB / 2.364 GB, free: 145 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.114e-06/6.598, allocations: 0 / 2.364 GB, free: 145 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005028/6.599, allocations: 71.59 kB / 2.364 GB, free: 144.9 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.01226/6.611, allocations: 3.129 MB / 2.367 GB, free: 141.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/6.611, allocations: 8.031 kB / 2.367 GB, free: 141.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002404/6.613, allocations: 353 kB / 2.367 GB, free: 141.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009585/6.623, allocations: 2.983 MB / 2.37 GB, free: 138.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002321/6.623, allocations: 177 kB / 2.37 GB, free: 138.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009446/6.624, allocations: 240.7 kB / 2.371 GB, free: 138 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008798/6.633, allocations: 3.048 MB / 2.374 GB, free: 134.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.916e-05/6.633, allocations: 11.88 kB / 2.374 GB, free: 134.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004129/6.634, allocations: 96 kB / 2.374 GB, free: 134.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.534e-05/6.634, allocations: 67.98 kB / 2.374 GB, free: 134.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007246/6.641, allocations: 2.385 MB / 2.376 GB, free: 132.3 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.02622/6.667, allocations: 12.89 MB / 2.389 GB, free: 118.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003843/6.671, allocations: 1.626 MB / 2.39 GB, free: 117.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002486/6.674, allocations: 1.167 MB / 2.391 GB, free: 115.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009415/6.675, allocations: 0.7119 MB / 2.392 GB, free: 115 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/6.675, allocations: 51.56 kB / 2.392 GB, free: 115 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002526/6.677, allocations: 214.1 kB / 2.392 GB, free: 114.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=126): time 7.263e-06/6.677, allocations: 0 / 2.392 GB, free: 114.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=126): time 0.01704/6.694, allocations: 3.509 MB / 2.396 GB, free: 111.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/6.694, allocations: 145.5 kB / 2.396 GB, free: 111.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0044/6.699, allocations: 1.939 MB / 2.398 GB, free: 109.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004818/6.699, allocations: 57.7 kB / 2.398 GB, free: 109.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001611/6.701, allocations: 1.258 MB / 2.399 GB, free: 107.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007509/6.702, allocations: 447.9 kB / 2.399 GB, free: 107.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/6.702, allocations: 32 kB / 2.399 GB, free: 107.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000146/6.702, allocations: 381.8 kB / 2.4 GB, free: 107 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001737/6.704, allocations: 0.7027 MB / 2.401 GB, free: 106.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002278/6.706, allocations: 1.239 MB / 2.402 GB, free: 104.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004295/6.71, allocations: 1.989 MB / 2.404 GB, free: 102.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.882e-05/6.711, allocations: 6.688 kB / 2.404 GB, free: 102.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.006803/6.717, allocations: 2.355 MB / 2.406 GB, free: 100.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002818/6.718, allocations: 0.5013 MB / 2.406 GB, free: 99.63 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/6.718, allocations: 18.94 kB / 2.407 GB, free: 99.62 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003436/6.721, allocations: 0.4977 MB / 2.407 GB, free: 99.13 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002511/6.724, allocations: 333.7 kB / 2.407 GB, free: 98.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00439/6.728, allocations: 3.095 MB / 2.41 GB, free: 95.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0038/6.732, allocations: 227.4 kB / 2.411 GB, free: 95.33 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000491/6.732, allocations: 83.97 kB / 2.411 GB, free: 95.25 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/6.733, allocations: 4 kB / 2.411 GB, free: 95.25 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005808/6.738, allocations: 2.132 MB / 2.413 GB, free: 93.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.653e-05/6.738, allocations: 16.91 kB / 2.413 GB, free: 93.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008997/6.739, allocations: 237.5 kB / 2.413 GB, free: 92.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002698/6.742, allocations: 355.4 kB / 2.413 GB, free: 92.51 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005493/6.748, allocations: 4.165 MB / 2.417 GB, free: 88.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00363/6.751, allocations: 219.5 kB / 2.418 GB, free: 87.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004458/6.752, allocations: 79.97 kB / 2.418 GB, free: 87.78 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.002716/6.754, allocations: 1.004 MB / 2.419 GB, free: 86.77 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007395/6.755, allocations: 205.5 kB / 2.419 GB, free: 86.56 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005553/6.761, allocations: 2.01 MB / 2.421 GB, free: 84.55 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.369e-05/6.761, allocations: 16 kB / 2.421 GB, free: 84.53 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/6.761, allocations: 3.938 kB / 2.421 GB, free: 84.53 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003921/6.765, allocations: 1.613 MB / 2.422 GB, free: 82.89 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0127/6.778, allocations: 4.584 MB / 2.427 GB, free: 78.22 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/6.778, allocations: 3.891 kB / 2.427 GB, free: 78.22 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001831/6.779, allocations: 207.7 kB / 2.427 GB, free: 78.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002874/6.782, allocations: 433.5 kB / 2.427 GB, free: 77.59 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003142/6.783, allocations: 43.78 kB / 2.428 GB, free: 77.55 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00385/6.787, allocations: 3.012 MB / 2.43 GB, free: 74.38 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/6.787, allocations: 0 / 2.43 GB, free: 74.38 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006804/6.793, allocations: 2.917 MB / 2.433 GB, free: 71.42 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002039/6.795, allocations: 0.4984 MB / 2.434 GB, free: 70.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007357/6.796, allocations: 32 kB / 2.434 GB, free: 70.87 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003259/6.8, allocations: 187.5 kB / 2.434 GB, free: 70.69 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004523/6.8, allocations: 105.1 kB / 2.434 GB, free: 70.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002322/6.8, allocations: 59.95 kB / 2.434 GB, free: 70.53 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003119/6.803, allocations: 1.334 MB / 2.435 GB, free: 69.17 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.81e-07/6.803, allocations: 0 / 2.435 GB, free: 69.17 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007149/6.811, allocations: 1.496 MB / 2.437 GB, free: 67.67 MB / 0.948 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.001668/6.812, allocations: 0.5641 MB / 2.437 GB, free: 67.13 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00836/6.821, allocations: 3.291 MB / 2.441 GB, free: 63.81 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/6.821, allocations: 4.312 kB / 2.441 GB, free: 63.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00233/6.823, allocations: 0.9887 MB / 2.442 GB, free: 62.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01071/6.834, allocations: 1.15 MB / 2.443 GB, free: 61.69 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/6.848, allocations: 6.236 MB / 2.449 GB, free: 55.46 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004522/6.853, allocations: 2.148 MB / 2.451 GB, free: 53.27 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.007249/6.86, allocations: 0.9228 MB / 2.452 GB, free: 52.37 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/6.861, allocations: 179.4 kB / 2.452 GB, free: 52.2 MB / 0.948 GB Notification: Performance of SimCode: time 8.61e-07/6.861, allocations: 0 / 2.452 GB, free: 52.2 MB / 0.948 GB Notification: Performance of Templates: time 0.1606/7.022, allocations: 46.96 MB / 2.498 GB, free: 5.867 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)