Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.625/1.625, allocations: 289.7 MB / 302.2 MB, free: 2.176 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.001075/0.001075, allocations: 182.1 kB / 371.6 MB, free: 3.422 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.531/1.531, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.0007965/0.0007965, allocations: 94.09 kB / 0.745 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.197e-05/3.2e-05, allocations: 4 kB / 0.8662 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2387, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.055/1.293, allocations: 405.6 MB / 1.376 GB, free: 7.52 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003393/1.294, allocations: 86.66 kB / 1.376 GB, free: 7.477 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.824/10.12, allocations: 2.068 GB / 3.444 GB, free: 125 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.766e-06/10.12, allocations: 3.938 kB / 3.444 GB, free: 125 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001027/10.12, allocations: 169 kB / 3.445 GB, free: 125 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: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.01951/10.14, allocations: 5.485 MB / 3.45 GB, free: 121.6 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/10.14, allocations: 7.375 kB / 3.45 GB, free: 121.6 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005549/10.14, allocations: 0.776 MB / 3.451 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01782/10.16, allocations: 7.269 MB / 3.458 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004378/10.16, allocations: 411.4 kB / 3.458 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002502/10.17, allocations: 0.5472 MB / 3.459 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01938/10.18, allocations: 7.395 MB / 3.466 GB, free: 112.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00019/10.18, allocations: 26.77 kB / 3.466 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001046/10.19, allocations: 232 kB / 3.466 GB, free: 112 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001737/10.19, allocations: 159.7 kB / 3.466 GB, free: 112 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01489/10.2, allocations: 5.859 MB / 3.472 GB, free: 106.8 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.05603/10.26, allocations: 29.67 MB / 3.501 GB, free: 76.16 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006386/10.26, allocations: 3.544 MB / 3.504 GB, free: 72.64 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004524/10.27, allocations: 2.98 MB / 3.507 GB, free: 69.66 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/10.27, allocations: 0.8313 MB / 3.508 GB, free: 68.68 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.892e-05/10.27, allocations: 72.66 kB / 3.508 GB, free: 68.59 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=267): time 7.234e-06/10.27, allocations: 0 / 3.508 GB, free: 68.59 MB / 0.9636 GB Notification: Performance of matching and sorting (n=267): time 0.008066/10.28, allocations: 3.65 MB / 3.512 GB, free: 64.88 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/10.28, allocations: 81.5 kB / 3.512 GB, free: 64.79 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008578/10.29, allocations: 4.759 MB / 3.517 GB, free: 60.04 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001007/10.29, allocations: 85.7 kB / 3.517 GB, free: 59.95 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.002051/10.29, allocations: 2.826 MB / 3.519 GB, free: 57.1 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001573/10.29, allocations: 0.938 MB / 3.52 GB, free: 56.17 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/10.29, allocations: 76 kB / 3.52 GB, free: 56.1 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002125/10.29, allocations: 457.9 kB / 3.521 GB, free: 55.64 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00213/10.29, allocations: 1.608 MB / 3.522 GB, free: 54.04 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002568/10.3, allocations: 2.864 MB / 3.525 GB, free: 50.61 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002599/10.3, allocations: 2.231 MB / 3.527 GB, free: 48.35 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.079e-05/10.3, allocations: 14.52 kB / 3.527 GB, free: 48.34 MB / 0.9636 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008281/10.31, allocations: 5.293 MB / 3.533 GB, free: 42.99 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.355e-05/10.31, allocations: 25.62 kB / 3.533 GB, free: 42.97 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.657e-05/10.31, allocations: 40 kB / 3.533 GB, free: 42.93 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008607/10.31, allocations: 423.9 kB / 3.533 GB, free: 42.51 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002825/10.31, allocations: 0.8618 MB / 3.534 GB, free: 41.65 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00453/10.32, allocations: 5.302 MB / 3.539 GB, free: 36.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007128/10.32, allocations: 0.6664 MB / 3.54 GB, free: 35.42 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008907/10.32, allocations: 184 kB / 3.54 GB, free: 35.24 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (447): * Single equations (assignments): 445 * 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: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009473/10.32, allocations: 351.8 kB / 3.54 GB, free: 34.89 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001797/10.33, allocations: 478.3 kB / 3.541 GB, free: 34.42 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006657/10.33, allocations: 4.071 MB / 3.545 GB, free: 30.29 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.487e-05/10.33, allocations: 24 kB / 3.545 GB, free: 30.26 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/10.33, allocations: 4 kB / 3.545 GB, free: 30.26 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004111/10.34, allocations: 3.526 MB / 3.548 GB, free: 26.62 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02406/10.36, allocations: 10.18 MB / 3.558 GB, free: 16.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.897e-05/10.36, allocations: 4 kB / 3.558 GB, free: 16.32 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002041/10.36, allocations: 0.5027 MB / 3.559 GB, free: 15.82 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008017/10.36, allocations: 373.5 kB / 3.559 GB, free: 15.45 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002142/10.36, allocations: 75.97 kB / 3.559 GB, free: 15.38 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004611/10.37, allocations: 5.244 MB / 3.564 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/10.37, allocations: 4 kB / 3.564 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008952/10.38, allocations: 6.743 MB / 3.571 GB, free: 2.828 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004988/10.38, allocations: 1.205 MB / 3.572 GB, free: 1.598 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002125/10.38, allocations: 67.92 kB / 3.572 GB, free: 1.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005302/10.39, allocations: 295.2 kB / 3.572 GB, free: 1.246 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003981/10.39, allocations: 177.7 kB / 3.572 GB, free: 1.074 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000465/10.39, allocations: 127.9 kB / 3.573 GB, free: 0.9492 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.8985/11.29, allocations: 3.874 MB / 3.576 GB, free: 138.7 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.162e-06/11.29, allocations: 0 / 3.576 GB, free: 138.7 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01518/11.3, allocations: 1.85 MB / 3.578 GB, free: 138.7 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003527/11.31, allocations: 0.7235 MB / 3.579 GB, free: 138.6 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01079/11.32, allocations: 4.147 MB / 3.583 GB, free: 138.3 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.199e-05/11.32, allocations: 5.953 kB / 3.583 GB, free: 138.3 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.004535/11.32, allocations: 1.989 MB / 3.585 GB, free: 138.1 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02299/11.35, allocations: 3.246 MB / 3.588 GB, free: 138 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02982/11.38, allocations: 10.58 MB / 3.598 GB, free: 136 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007028/11.38, allocations: 4.389 MB / 3.603 GB, free: 135.2 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.009692/11.39, allocations: 1.845 MB / 3.604 GB, free: 135.1 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002342/11.4, allocations: 424.5 kB / 3.605 GB, free: 135.1 MB / 0.9636 GB Notification: Performance of SimCode: time 1.373e-06/11.4, allocations: 0 / 3.605 GB, free: 135.1 MB / 0.9636 GB Notification: Performance of Templates: time 0.2386/11.63, allocations: 113.5 MB / 3.716 GB, free: 129.5 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)