Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 91.69 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.655/1.655, allocations: 252 MB / 0.5102 GB, free: 4.762 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00063/0.0006302, allocations: 16 kB / 0.6243 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.681/0.6816, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.0465/0.7282, allocations: 45.36 MB / 0.7724 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02081/0.7491, allocations: 12.85 MB / 0.7849 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003348/0.7525, allocations: 55.62 kB / 0.785 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002483/0.755, allocations: 0.5743 MB / 0.7856 GB, free: 412 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006889/0.7619, allocations: 1.768 MB / 0.7873 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003559/0.7655, allocations: 0.9071 MB / 0.7882 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.02333/0.7888, allocations: 21.61 MB / 0.8093 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01145/0.8003, allocations: 6.515 MB / 0.8156 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01392/0.8143, allocations: 4.774 MB / 0.8203 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01415/0.8285, allocations: 4.944 MB / 0.8251 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002842/0.8314, allocations: 304 kB / 0.8254 GB, free: 7.402 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007037/0.8384, allocations: 0.7372 MB / 0.8261 GB, free: 6.664 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003677/0.8422, allocations: 1.342 MB / 0.8275 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.004934/0.8471, allocations: 1.463 MB / 0.8289 GB, free: 3.844 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01434/0.8615, allocations: 9.345 MB / 0.838 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.268e-06/0.8615, allocations: 0 / 0.838 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.444e-06/0.8615, allocations: 0 / 0.838 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004773/0.862, allocations: 0 / 0.838 GB, free: 10.48 MB / 0.6544 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.01714/0.8792, allocations: 6.268 MB / 0.8441 GB, free: 4.133 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.8792, allocations: 8.031 kB / 0.8441 GB, free: 4.125 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004515/0.8838, allocations: 0.7728 MB / 0.8449 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0167/0.9005, allocations: 6.022 MB / 0.8508 GB, free: 13.26 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005932/0.9011, allocations: 415 kB / 0.8512 GB, free: 12.85 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00263/0.9038, allocations: 0.5468 MB / 0.8517 GB, free: 12.3 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02549/0.9293, allocations: 7.926 MB / 0.8594 GB, free: 4.168 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004003/0.9298, allocations: 15.83 kB / 0.8595 GB, free: 4.152 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002163/0.9319, allocations: 232 kB / 0.8597 GB, free: 3.926 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002358/0.9322, allocations: 159.9 kB / 0.8598 GB, free: 3.77 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01839/0.9506, allocations: 6.524 MB / 0.8662 GB, free: 13.23 MB / 0.6856 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.06016/1.011, allocations: 30.53 MB / 0.896 GB, free: 12.92 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007416/1.018, allocations: 3.75 MB / 0.8997 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004946/1.023, allocations: 2.901 MB / 0.9025 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001079/1.024, allocations: 0.8437 MB / 0.9033 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.279e-05/1.024, allocations: 68.97 kB / 0.9034 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=275): time 5.56e-06/1.025, allocations: 4 kB / 0.9034 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=275): time 0.4794/1.504, allocations: 5.802 MB / 0.9091 GB, free: 162.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/1.504, allocations: 85.12 kB / 0.9092 GB, free: 162.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008917/1.513, allocations: 4.903 MB / 0.9139 GB, free: 161.7 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0006778/1.514, allocations: 79.27 kB / 0.914 GB, free: 161.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002408/1.516, allocations: 2.824 MB / 0.9168 GB, free: 160 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001389/1.517, allocations: 0.9664 MB / 0.9177 GB, free: 159.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/1.518, allocations: 75.88 kB / 0.9178 GB, free: 159.2 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000241/1.518, allocations: 468.8 kB / 0.9182 GB, free: 158.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003366/1.521, allocations: 1.689 MB / 0.9199 GB, free: 158.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003637/1.525, allocations: 2.912 MB / 0.9227 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003352/1.528, allocations: 2.285 MB / 0.925 GB, free: 155.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.058e-05/1.528, allocations: 10.78 kB / 0.925 GB, free: 155.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.008106/1.536, allocations: 5.445 MB / 0.9303 GB, free: 153.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.29e-05/1.537, allocations: 18.34 kB / 0.9303 GB, free: 153.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.635e-05/1.537, allocations: 43.95 kB / 0.9304 GB, free: 153.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008392/1.537, allocations: 424.7 kB / 0.9308 GB, free: 153.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002823/1.54, allocations: 0.8715 MB / 0.9316 GB, free: 153 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004472/1.545, allocations: 5.254 MB / 0.9367 GB, free: 149.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004486/1.549, allocations: 0.647 MB / 0.9374 GB, free: 148.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004943/1.55, allocations: 176.1 kB / 0.9375 GB, free: 148.7 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 173 * Number of states: 0 () * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (455): * Single equations (assignments): 453 * 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.003558/1.553, allocations: 2.258 MB / 0.9397 GB, free: 147.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001143/1.554, allocations: 483.9 kB / 0.9402 GB, free: 147.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005976/1.56, allocations: 4.219 MB / 0.9443 GB, free: 144 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.333e-05/1.561, allocations: 37.02 kB / 0.9444 GB, free: 143.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/1.561, allocations: 7.75 kB / 0.9444 GB, free: 143.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004116/1.565, allocations: 3.662 MB / 0.9479 GB, free: 140.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01608/1.581, allocations: 10.53 MB / 0.9582 GB, free: 129.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/1.581, allocations: 4.688 kB / 0.9582 GB, free: 129.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002/1.583, allocations: 0.5149 MB / 0.9587 GB, free: 128.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007181/1.584, allocations: 376.8 kB / 0.9591 GB, free: 128.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001964/1.584, allocations: 79.97 kB / 0.9592 GB, free: 128.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004021/1.588, allocations: 5.191 MB / 0.9642 GB, free: 123 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.588, allocations: 9.422 kB / 0.9642 GB, free: 123 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00813/1.596, allocations: 6.322 MB / 0.9704 GB, free: 116.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002685/1.599, allocations: 1.15 MB / 0.9715 GB, free: 115.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001048/1.6, allocations: 72.11 kB / 0.9716 GB, free: 115.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002933/1.603, allocations: 331.7 kB / 0.9719 GB, free: 115 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002594/1.603, allocations: 189.6 kB / 0.9721 GB, free: 114.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002157/1.603, allocations: 126.4 kB / 0.9722 GB, free: 114.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.004756/1.608, allocations: 3.579 MB / 0.9757 GB, free: 111.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.91e-07/1.608, allocations: 0 / 0.9757 GB, free: 111.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004913/1.613, allocations: 1.783 MB / 0.9775 GB, free: 109.3 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 20 (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,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (250): * Single equations (assignments): 245 * 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.0008934/1.614, allocations: 459.5 kB / 0.9779 GB, free: 108.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005593/1.619, allocations: 4.283 MB / 0.9821 GB, free: 104.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/1.619, allocations: 0 / 0.9821 GB, free: 104.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002398/1.622, allocations: 2.065 MB / 0.9841 GB, free: 102.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01285/1.635, allocations: 3.29 MB / 0.9873 GB, free: 99.29 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01703/1.652, allocations: 14.85 MB / 1.002 GB, free: 84.32 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003105/1.655, allocations: 4.282 MB / 1.006 GB, free: 80.01 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.005499/1.66, allocations: 1.851 MB / 1.008 GB, free: 78.17 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001217/1.662, allocations: 407.2 kB / 1.008 GB, free: 77.77 MB / 0.7169 GB Notification: Performance of SimCode: time 8.62e-07/1.662, allocations: 4 kB / 1.008 GB, free: 77.77 MB / 0.7169 GB Notification: Performance of Templates: time 0.1462/1.808, allocations: 106.8 MB / 1.113 GB, free: 3.977 MB / 0.7481 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) Environment - environmentSimulation: