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.000952/0.0009524, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.006919/0.006919, allocations: 171.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.588/1.588, allocations: 252 MB / 0.5105 GB, free: 4.711 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.0006695/0.0006698, allocations: 16 kB / 0.6249 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5709/0.5715, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04762/0.6192, allocations: 47.99 MB / 0.7756 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0214/0.6407, allocations: 13.56 MB / 0.7888 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004216/0.6449, allocations: 55.62 kB / 0.7889 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003704/0.6487, allocations: 0.6564 MB / 0.7895 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01015/0.6589, allocations: 2.065 MB / 0.7915 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004532/0.6634, allocations: 1.151 MB / 0.7926 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.02954/0.693, allocations: 25.5 MB / 0.8176 GB, free: 32 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01148/0.7045, allocations: 7.797 MB / 0.8252 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01136/0.7159, allocations: 4.684 MB / 0.8297 GB, free: 3.422 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01091/0.7269, allocations: 5.235 MB / 0.8349 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001998/0.7289, allocations: 304 kB / 0.8351 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005843/0.7348, allocations: 0.9866 MB / 0.8361 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002778/0.7376, allocations: 1.412 MB / 0.8375 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.008923/0.7465, allocations: 3.508 MB / 0.8409 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01612/0.7627, allocations: 11.12 MB / 0.8518 GB, free: 12.78 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.7628, allocations: 0 / 0.8518 GB, free: 12.78 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.897e-06/0.7628, allocations: 0 / 0.8518 GB, free: 12.78 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004651/0.7632, allocations: 0 / 0.8518 GB, free: 12.78 MB / 0.67 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.01626/0.7795, allocations: 6.194 MB / 0.8578 GB, free: 6.508 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.7796, allocations: 12.03 kB / 0.8578 GB, free: 6.496 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004583/0.7842, allocations: 0.7698 MB / 0.8586 GB, free: 5.719 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0133/0.7975, allocations: 6.157 MB / 0.8646 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004441/0.798, allocations: 419.3 kB / 0.865 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002177/0.8002, allocations: 0.5467 MB / 0.8655 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01972/0.8199, allocations: 7.965 MB / 0.8733 GB, free: 6.359 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001547/0.8201, allocations: 23.77 kB / 0.8733 GB, free: 6.336 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007263/0.8208, allocations: 236 kB / 0.8736 GB, free: 6.105 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001754/0.821, allocations: 163.9 kB / 0.8737 GB, free: 5.945 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01417/0.8352, allocations: 6.556 MB / 0.8801 GB, free: 15.38 MB / 0.7012 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.6044/1.44, allocations: 30.55 MB / 0.9099 GB, free: 158.4 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007253/1.447, allocations: 3.768 MB / 0.9136 GB, free: 158.4 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005069/1.452, allocations: 2.845 MB / 0.9164 GB, free: 157.9 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009473/1.453, allocations: 0.8412 MB / 0.9172 GB, free: 157 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.368e-05/1.453, allocations: 71.16 kB / 0.9173 GB, free: 157 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=275): time 5.15e-06/1.453, allocations: 0 / 0.9173 GB, free: 157 MB / 0.7169 GB Notification: Performance of matching and sorting (n=275): time 0.01189/1.465, allocations: 5.86 MB / 0.923 GB, free: 155.1 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/1.465, allocations: 81.23 kB / 0.9231 GB, free: 155 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007237/1.472, allocations: 4.943 MB / 0.9279 GB, free: 153.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004552/1.473, allocations: 76.05 kB / 0.928 GB, free: 153.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002188/1.475, allocations: 2.828 MB / 0.9307 GB, free: 151.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001213/1.476, allocations: 0.963 MB / 0.9317 GB, free: 150.6 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003878/1.477, allocations: 311.5 kB / 0.932 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.051e-05/1.477, allocations: 305.4 kB / 0.9323 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002355/1.479, allocations: 1.703 MB / 0.9339 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002515/1.482, allocations: 2.919 MB / 0.9368 GB, free: 147.3 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004972/1.487, allocations: 4.963 MB / 0.9416 GB, free: 143.8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.992e-05/1.487, allocations: 12.53 kB / 0.9416 GB, free: 143.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.008025/1.495, allocations: 5.472 MB / 0.947 GB, free: 140 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.949e-05/1.495, allocations: 28.06 kB / 0.947 GB, free: 140 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.085e-05/1.495, allocations: 39.94 kB / 0.9471 GB, free: 140 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009365/1.496, allocations: 425.3 kB / 0.9475 GB, free: 139.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002754/1.499, allocations: 0.8663 MB / 0.9483 GB, free: 138.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004648/1.503, allocations: 5.27 MB / 0.9535 GB, free: 133.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005009/1.508, allocations: 0.6495 MB / 0.9541 GB, free: 132.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002838/1.508, allocations: 180 kB / 0.9543 GB, free: 132.3 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003574/1.512, allocations: 2.261 MB / 0.9565 GB, free: 130.1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001112/1.513, allocations: 474.3 kB / 0.9569 GB, free: 129.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005839/1.519, allocations: 4.246 MB / 0.9611 GB, free: 125.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/1.519, allocations: 27.98 kB / 0.9611 GB, free: 125.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/1.519, allocations: 4 kB / 0.9611 GB, free: 125.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004073/1.523, allocations: 3.68 MB / 0.9647 GB, free: 121.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01781/1.541, allocations: 10.55 MB / 0.975 GB, free: 110.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/1.541, allocations: 4 kB / 0.975 GB, free: 110.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001942/1.543, allocations: 0.5117 MB / 0.9755 GB, free: 110.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007688/1.544, allocations: 372.4 kB / 0.9758 GB, free: 109.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001937/1.544, allocations: 83.95 kB / 0.9759 GB, free: 109.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004115/1.548, allocations: 5.205 MB / 0.981 GB, free: 104.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/1.548, allocations: 11.94 kB / 0.981 GB, free: 104.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008646/1.557, allocations: 6.349 MB / 0.9872 GB, free: 97.78 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003359/1.56, allocations: 1.142 MB / 0.9883 GB, free: 96.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001289/1.561, allocations: 69.84 kB / 0.9884 GB, free: 96.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003771/1.565, allocations: 337 kB / 0.9887 GB, free: 96.22 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003131/1.566, allocations: 197.5 kB / 0.9889 GB, free: 96.03 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002131/1.566, allocations: 117.9 kB / 0.989 GB, free: 95.91 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.005434/1.571, allocations: 3.626 MB / 0.9926 GB, free: 92.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.71e-07/1.571, allocations: 0 / 0.9926 GB, free: 92.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.006946/1.578, allocations: 1.777 MB / 0.9943 GB, free: 90.54 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001543/1.58, allocations: 486.1 kB / 0.9948 GB, free: 90.11 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006355/1.586, allocations: 4.307 MB / 0.999 GB, free: 85.76 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/1.586, allocations: 4 kB / 0.999 GB, free: 85.75 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002569/1.589, allocations: 2.072 MB / 1.001 GB, free: 83.66 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01961/1.608, allocations: 3.276 MB / 1.004 GB, free: 80.45 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01959/1.628, allocations: 15.34 MB / 1.019 GB, free: 65 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003334/1.631, allocations: 4.283 MB / 1.023 GB, free: 60.68 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.005887/1.637, allocations: 1.847 MB / 1.025 GB, free: 58.85 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001407/1.639, allocations: 411.3 kB / 1.026 GB, free: 58.45 MB / 0.7169 GB Notification: Performance of SimCode: time 1.182e-06/1.639, allocations: 3.938 kB / 1.026 GB, free: 58.44 MB / 0.7169 GB Notification: Performance of Templates: time 0.1782/1.817, allocations: 109.6 MB / 1.133 GB, free: 13.84 MB / 0.7794 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: