Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.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.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified") translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.769/2.769, allocations: 284.8 MB / 297.3 MB, free: 6.297 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.001454/0.001454, allocations: 184.8 kB / 365.7 MB, free: 2.59 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.94/1.94, allocations: 205.1 MB / 0.6241 GB, free: 8.176 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.001122/0.001122, allocations: 95.59 kB / 0.7372 GB, free: 40.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.311e-05/4.332e-05, allocations: 4 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8294/0.8294, allocations: 115.2 MB / 0.97 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.302/2.132, allocations: 411.3 MB / 1.372 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/2.132, allocations: 92.45 kB / 1.372 GB, free: 149.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 15.87/18, allocations: 2.917 GB / 4.289 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.354e-06/18, allocations: 0 / 4.289 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001827/18.01, allocations: 259.8 kB / 4.289 GB, free: 126.9 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2145 * Number of variables: 2145 Notification: Performance of Generate backend data structure: time 0.03498/18.04, allocations: 8.289 MB / 4.297 GB, free: 123.9 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/18.04, allocations: 10.75 kB / 4.297 GB, free: 123.9 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/18.05, allocations: 1.164 MB / 4.298 GB, free: 123.3 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03805/18.09, allocations: 10.76 MB / 4.309 GB, free: 122.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009648/18.09, allocations: 0.6142 MB / 4.309 GB, free: 122.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00419/18.1, allocations: 0.8144 MB / 4.31 GB, free: 122.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04281/18.14, allocations: 11.55 MB / 4.321 GB, free: 121 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005487/18.14, allocations: 27.78 kB / 4.321 GB, free: 121 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003498/18.14, allocations: 356.2 kB / 4.322 GB, free: 121 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003085/18.14, allocations: 244.6 kB / 4.322 GB, free: 121 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03131/18.17, allocations: 9.438 MB / 4.331 GB, free: 118.7 MB / 0.9636 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.1058/18.28, allocations: 46.6 MB / 4.377 GB, free: 89.14 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01576/18.3, allocations: 6.235 MB / 4.383 GB, free: 86.72 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0127/18.31, allocations: 5.409 MB / 4.388 GB, free: 85.01 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001969/18.31, allocations: 0.8153 MB / 4.389 GB, free: 84.24 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01005/18.32, allocations: 3.332 MB / 4.392 GB, free: 83.05 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006795/18.33, allocations: 0.5511 MB / 4.393 GB, free: 82.68 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=449): time 1.996e-05/18.33, allocations: 0 / 4.393 GB, free: 82.68 MB / 0.9636 GB Notification: Performance of matching and sorting (n=449): time 0.01966/18.35, allocations: 6.195 MB / 4.399 GB, free: 77.24 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.958e-05/18.35, allocations: 154.3 kB / 4.399 GB, free: 77.07 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02018/18.37, allocations: 7.02 MB / 4.406 GB, free: 70.98 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001756/18.37, allocations: 113.7 kB / 4.406 GB, free: 70.86 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.007943/18.38, allocations: 4.281 MB / 4.41 GB, free: 66.99 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.003606/18.38, allocations: 1.561 MB / 4.412 GB, free: 65.59 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009705/18.38, allocations: 116 kB / 4.412 GB, free: 65.47 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0005737/18.38, allocations: 0.5456 MB / 4.412 GB, free: 64.99 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00826/18.39, allocations: 2.897 MB / 4.415 GB, free: 62.47 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01016/18.4, allocations: 4.766 MB / 4.42 GB, free: 57.32 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01069/18.41, allocations: 3.958 MB / 4.424 GB, free: 53.7 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.829e-05/18.41, allocations: 20 kB / 4.424 GB, free: 53.68 MB / 0.9636 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02689/18.44, allocations: 8.675 MB / 4.432 GB, free: 44.98 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.006467/18.45, allocations: 29.09 MB / 4.46 GB, free: 13.92 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001736/18.45, allocations: 56 kB / 4.46 GB, free: 13.87 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001541/18.45, allocations: 100 kB / 4.461 GB, free: 13.77 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01183/18.46, allocations: 1.443 MB / 4.462 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001883/18.46, allocations: 127.6 kB / 4.462 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01319/18.47, allocations: 0.6194 MB / 4.463 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001871/18.47, allocations: 287 kB / 4.463 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/18.47, allocations: 4 kB / 4.463 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02432/18.5, allocations: 8.08 MB / 4.471 GB, free: 3.203 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001711/18.5, allocations: 64.06 kB / 4.471 GB, free: 3.141 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001264/18.5, allocations: 98.16 kB / 4.471 GB, free: 3.047 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01166/18.51, allocations: 1.439 MB / 4.472 GB, free: 1.605 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001736/18.51, allocations: 135.5 kB / 4.473 GB, free: 1.473 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01269/18.52, allocations: 0.5961 MB / 4.473 GB, free: 0.875 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002037/18.52, allocations: 280 kB / 4.473 GB, free: 0.6016 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 264 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,$PRE.TWat.nextEvent,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,$PRE.P.nextEvent,P.nextEvent,P.nextEventScaled,dH.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (744): * Single equations (assignments): 742 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002839/18.53, allocations: 0.5403 MB / 4.474 GB, free: 44 kB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003726/18.53, allocations: 0.7065 MB / 4.475 GB, free: 15.32 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0263/18.56, allocations: 6.954 MB / 4.481 GB, free: 8.352 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.57e-05/18.56, allocations: 44 kB / 4.481 GB, free: 8.309 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/18.56, allocations: 0 / 4.481 GB, free: 8.309 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01927/18.58, allocations: 5.678 MB / 4.487 GB, free: 2.602 MB / 0.9792 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 postOpt removeSimpleEquations (simulation): time 0.879/19.46, allocations: 16.45 MB / 4.503 GB, free: 147 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.159e-05/19.46, allocations: 2.438 kB / 4.503 GB, free: 147 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009225/19.47, allocations: 0.9104 MB / 4.504 GB, free: 147 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-05/19.47, allocations: 14.5 kB / 4.504 GB, free: 147 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001256/19.47, allocations: 118.6 kB / 4.504 GB, free: 147 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.209e-05/19.47, allocations: 22.17 kB / 4.504 GB, free: 147 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/19.47, allocations: 2.031 kB / 4.504 GB, free: 147 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02911/19.5, allocations: 10.53 MB / 4.514 GB, free: 146.4 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008619/19.5, allocations: 1.747 MB / 4.516 GB, free: 146.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003739/19.51, allocations: 99.66 kB / 4.516 GB, free: 146.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01216/19.52, allocations: 0.5654 MB / 4.517 GB, free: 146.1 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001539/19.52, allocations: 252.3 kB / 4.517 GB, free: 146.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001277/19.52, allocations: 204 kB / 4.517 GB, free: 146.1 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.01569/19.54, allocations: 5.471 MB / 4.523 GB, free: 145.9 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9.12e-07/19.54, allocations: 3.844 kB / 4.523 GB, free: 145.9 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.02503/19.56, allocations: 4.918 MB / 4.527 GB, free: 145.5 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 21 (tanSim.vol[1].dynBal.U,tanSim.vol[2].dynBal.U,tanSim.vol[3].dynBal.U,tanSim.vol[4].dynBal.U,tanSim.vol[5].dynBal.U,tanSim.vol[6].dynBal.U,tanSim.vol[7].dynBal.U,tanSim.vol[8].dynBal.U,tanSim.vol[9].dynBal.U,tanSim.vol[10].dynBal.U,tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tanEnh.vol[8].dynBal.U,tanEnh.vol[9].dynBal.U,tanEnh.vol[10].dynBal.U,dH.y) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,P.nextEvent,P.nextEventScaled) * Number of discrete states: 12 (P.nextEvent,P.last,P.nextEventScaled,P.b,P.a,$whenCondition2,TWat.nextEvent,TWat.last,TWat.nextEventScaled,TWat.b,TWat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (445): * Single equations (assignments): 441 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003933/19.57, allocations: 0.9207 MB / 4.528 GB, free: 145.4 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.03154/19.6, allocations: 11.42 MB / 4.539 GB, free: 145 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.662e-05/19.6, allocations: 3.562 kB / 4.539 GB, free: 145 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.008853/19.61, allocations: 3.121 MB / 4.542 GB, free: 144.9 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0374/19.65, allocations: 4.388 MB / 4.547 GB, free: 144.8 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05194/19.7, allocations: 16.61 MB / 4.563 GB, free: 142 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01294/19.71, allocations: 6.263 MB / 4.569 GB, free: 141.1 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.03654/19.75, allocations: 6.588 MB / 4.575 GB, free: 141.1 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003644/19.75, allocations: 0.4929 MB / 4.576 GB, free: 141.1 MB / 0.9792 GB Notification: Performance of SimCode: time 1.463e-06/19.75, allocations: 0 / 4.576 GB, free: 141.1 MB / 0.9792 GB Notification: Performance of Templates: time 0.4007/20.15, allocations: 164.2 MB / 4.736 GB, free: 86.63 MB / 0.9792 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.sim & ./Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe 2>&1)