Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.549/2.549, allocations: 284.8 MB / 297.3 MB, free: 6.359 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005494/0.005494, allocations: 188.8 kB / 365.7 MB, free: 2.582 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.935/1.935, allocations: 205.1 MB / 0.6241 GB, free: 8.199 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001141/0.00114, allocations: 92.88 kB / 0.7372 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.794e-05/3.813e-05, allocations: 4 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8261/0.8262, allocations: 115.2 MB / 0.97 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.335/2.161, allocations: 427.2 MB / 1.387 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/2.162, allocations: 91.12 kB / 1.387 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.359/7.521, allocations: 0.9703 GB / 2.358 GB, free: 211.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.555e-06/7.521, allocations: 0 / 2.358 GB, free: 211.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005788/7.521, allocations: 85.84 kB / 2.358 GB, free: 211.2 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.01215/7.534, allocations: 2.683 MB / 2.36 GB, free: 210.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.008e-05/7.534, allocations: 11.09 kB / 2.36 GB, free: 210.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002808/7.536, allocations: 353.7 kB / 2.361 GB, free: 210.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01227/7.549, allocations: 3.023 MB / 2.364 GB, free: 209.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003232/7.549, allocations: 181.1 kB / 2.364 GB, free: 209.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001169/7.55, allocations: 242.1 kB / 2.364 GB, free: 209.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01107/7.561, allocations: 2.995 MB / 2.367 GB, free: 209.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001152/7.562, allocations: 7.266 kB / 2.367 GB, free: 209.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005538/7.562, allocations: 96.34 kB / 2.367 GB, free: 209.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001242/7.562, allocations: 66.94 kB / 2.367 GB, free: 209.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008747/7.571, allocations: 2.338 MB / 2.369 GB, free: 209.3 MB / 0.948 GB 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.03326/7.604, allocations: 12.98 MB / 2.382 GB, free: 203.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004787/7.609, allocations: 1.633 MB / 2.384 GB, free: 202.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003026/7.612, allocations: 1.116 MB / 2.385 GB, free: 202.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/7.614, allocations: 0.7084 MB / 2.385 GB, free: 202.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.794e-05/7.614, allocations: 50.25 kB / 2.385 GB, free: 202.1 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003114/7.617, allocations: 227.4 kB / 2.386 GB, free: 202.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=126): time 1.146e-05/7.617, allocations: 1.094 kB / 2.386 GB, free: 202.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=126): time 0.006078/7.623, allocations: 1.694 MB / 2.387 GB, free: 201.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.401e-05/7.623, allocations: 149.4 kB / 2.387 GB, free: 201.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005803/7.629, allocations: 1.856 MB / 2.389 GB, free: 201.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005761/7.63, allocations: 56.14 kB / 2.389 GB, free: 201.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002065/7.632, allocations: 1.249 MB / 2.391 GB, free: 200.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009689/7.633, allocations: 452.4 kB / 2.391 GB, free: 200.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002343/7.633, allocations: 33.56 kB / 2.391 GB, free: 200.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002/7.633, allocations: 374.8 kB / 2.391 GB, free: 200.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002207/7.635, allocations: 0.6895 MB / 2.392 GB, free: 200.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002823/7.638, allocations: 1.218 MB / 2.393 GB, free: 199.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00279/7.641, allocations: 0.9186 MB / 2.394 GB, free: 199.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.028e-05/7.641, allocations: 4.406 kB / 2.394 GB, free: 199.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.007554/7.649, allocations: 2.331 MB / 2.396 GB, free: 199.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001435/7.65, allocations: 5.708 MB / 2.402 GB, free: 193.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.318e-05/7.65, allocations: 15.53 kB / 2.402 GB, free: 193.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003269/7.654, allocations: 476.8 kB / 2.402 GB, free: 193.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002872/7.657, allocations: 353.2 kB / 2.403 GB, free: 193.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00459/7.661, allocations: 3.09 MB / 2.406 GB, free: 191.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004338/7.666, allocations: 222.6 kB / 2.406 GB, free: 191.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005591/7.666, allocations: 86.94 kB / 2.406 GB, free: 191.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/7.666, allocations: 4.25 kB / 2.406 GB, free: 191.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005939/7.672, allocations: 2.102 MB / 2.408 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.517e-05/7.672, allocations: 14.5 kB / 2.408 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009554/7.673, allocations: 245.4 kB / 2.408 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002998/7.676, allocations: 369.7 kB / 2.409 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005896/7.682, allocations: 4.153 MB / 2.413 GB, free: 188.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004175/7.686, allocations: 219.1 kB / 2.413 GB, free: 188.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000574/7.687, allocations: 80.33 kB / 2.413 GB, free: 188.9 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 () * 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.000799/7.688, allocations: 217 kB / 2.413 GB, free: 188.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000985/7.689, allocations: 206.4 kB / 2.413 GB, free: 188.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00577/7.695, allocations: 1.979 MB / 2.415 GB, free: 188.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.208e-05/7.695, allocations: 21.06 kB / 2.415 GB, free: 188.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/7.695, allocations: 4.969 kB / 2.415 GB, free: 188.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004132/7.699, allocations: 1.583 MB / 2.417 GB, free: 188.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01471/7.714, allocations: 4.587 MB / 2.421 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/7.714, allocations: 3.469 kB / 2.421 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001983/7.716, allocations: 213.8 kB / 2.422 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002859/7.719, allocations: 437.6 kB / 2.422 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003278/7.719, allocations: 41.33 kB / 2.422 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003931/7.723, allocations: 2.997 MB / 2.425 GB, free: 186.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/7.723, allocations: 0 / 2.425 GB, free: 186.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00711/7.73, allocations: 2.943 MB / 2.428 GB, free: 185.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002412/7.733, allocations: 0.5232 MB / 2.428 GB, free: 185.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009306/7.734, allocations: 28.03 kB / 2.428 GB, free: 185.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003568/7.737, allocations: 195.9 kB / 2.429 GB, free: 185.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005266/7.738, allocations: 102.8 kB / 2.429 GB, free: 185.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002374/7.738, allocations: 55.94 kB / 2.429 GB, free: 185.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003516/7.742, allocations: 1.431 MB / 2.43 GB, free: 185.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.012e-06/7.742, allocations: 0 / 2.43 GB, free: 185.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00815/7.75, allocations: 1.512 MB / 2.432 GB, free: 185.1 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) * 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.001864/7.752, allocations: 0.5663 MB / 2.432 GB, free: 184.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00898/7.761, allocations: 3.308 MB / 2.435 GB, free: 184.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/7.761, allocations: 5.719 kB / 2.435 GB, free: 184.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0025/7.763, allocations: 0.9647 MB / 2.436 GB, free: 184.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01035/7.774, allocations: 1.14 MB / 2.438 GB, free: 184.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01358/7.787, allocations: 4.28 MB / 2.442 GB, free: 183.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003392/7.791, allocations: 2.214 MB / 2.444 GB, free: 182.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.008035/7.799, allocations: 1.374 MB / 2.445 GB, free: 182.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008694/7.8, allocations: 142.7 kB / 2.445 GB, free: 182.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.202e-06/7.8, allocations: 2.969 kB / 2.445 GB, free: 182.7 MB / 0.948 GB Notification: Performance of Templates: time 0.1263/7.926, allocations: 51.31 MB / 2.495 GB, free: 179.9 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)