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.0009325/0.0009322, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009348/0.0009348, allocations: 177.3 kB / 15.94 MB, free: 228 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.65/1.65, allocations: 205.4 MB / 222.1 MB, free: 5.539 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.599/1.599, allocations: 251.9 MB / 0.51 GB, free: 4.887 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.0006037/0.0006042, allocations: 16 kB / 0.6241 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7006/0.7012, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05199/0.7532, allocations: 41.22 MB / 0.7682 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02082/0.7741, allocations: 11.87 MB / 0.7798 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00305/0.7772, allocations: 51.69 kB / 0.7799 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002869/0.7801, allocations: 0.7539 MB / 0.7806 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007585/0.7877, allocations: 1.955 MB / 0.7825 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004727/0.7925, allocations: 1.337 MB / 0.7838 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01846/0.811, allocations: 10.46 MB / 0.794 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01326/0.8243, allocations: 6.516 MB / 0.8004 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01028/0.8346, allocations: 3.979 MB / 0.8043 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008385/0.843, allocations: 3.446 MB / 0.8076 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002488/0.8455, allocations: 304 kB / 0.8079 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00622/0.8518, allocations: 0.7961 MB / 0.8087 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003301/0.8551, allocations: 1.292 MB / 0.81 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.004453/0.8596, allocations: 1.467 MB / 0.8114 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01346/0.873, allocations: 9.286 MB / 0.8205 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8731, allocations: 4 kB / 0.8205 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.545e-06/0.8731, allocations: 0 / 0.8205 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0004772/0.8736, allocations: 0 / 0.8205 GB, free: 12.42 MB / 0.6387 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.01668/0.8903, allocations: 6.263 MB / 0.8266 GB, free: 6.082 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.8903, allocations: 12.03 kB / 0.8266 GB, free: 6.07 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004534/0.8949, allocations: 0.7689 MB / 0.8274 GB, free: 5.293 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01418/0.9091, allocations: 5.59 MB / 0.8328 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004511/0.9096, allocations: 423 kB / 0.8332 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002058/0.9116, allocations: 0.5467 MB / 0.8337 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02079/0.9324, allocations: 7.875 MB / 0.8414 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001631/0.9327, allocations: 15.88 kB / 0.8415 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007132/0.9334, allocations: 232 kB / 0.8417 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001957/0.9336, allocations: 160 kB / 0.8418 GB, free: 6.195 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01682/0.9504, allocations: 6.528 MB / 0.8482 GB, free: 15.66 MB / 0.67 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.05177/1.002, allocations: 30.8 MB / 0.8783 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006447/1.009, allocations: 3.75 MB / 0.8819 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001072/1.01, allocations: 0.84 MB / 0.8828 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.849e-05/1.01, allocations: 68.97 kB / 0.8828 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=275): time 4.709e-06/1.01, allocations: 0 / 0.8828 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of matching and sorting (n=275): time 0.01154/1.021, allocations: 5.852 MB / 0.8885 GB, free: 4.285 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.335e-05/1.022, allocations: 85.52 kB / 0.8886 GB, free: 4.188 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009182/1.031, allocations: 5.32 MB / 0.8938 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0008362/1.032, allocations: 77.7 kB / 0.8939 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002855/1.035, allocations: 2.825 MB / 0.8967 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001866/1.036, allocations: 0.9628 MB / 0.8976 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/1.037, allocations: 80 kB / 0.8977 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0003027/1.037, allocations: 466 kB / 0.8981 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002775/1.04, allocations: 1.705 MB / 0.8998 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003654/1.043, allocations: 2.914 MB / 0.9026 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003424/1.047, allocations: 2.314 MB / 0.9049 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.147e-05/1.047, allocations: 19.88 kB / 0.9049 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.5287/1.576, allocations: 5.481 MB / 0.9103 GB, free: 158.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.745e-05/1.576, allocations: 21.31 kB / 0.9103 GB, free: 158.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-05/1.576, allocations: 39.3 kB / 0.9103 GB, free: 158.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/1.577, allocations: 424.3 kB / 0.9107 GB, free: 158.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00463/1.582, allocations: 0.8655 MB / 0.9116 GB, free: 158.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007458/1.589, allocations: 5.319 MB / 0.9168 GB, free: 155.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006825/1.596, allocations: 0.682 MB / 0.9174 GB, free: 155.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001078/1.597, allocations: 180.9 kB / 0.9176 GB, free: 155.5 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.00723/1.604, allocations: 2.265 MB / 0.9198 GB, free: 154.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002094/1.607, allocations: 480.2 kB / 0.9203 GB, free: 154.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007779/1.614, allocations: 4.264 MB / 0.9244 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-05/1.614, allocations: 26.91 kB / 0.9245 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/1.614, allocations: 7.906 kB / 0.9245 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004858/1.619, allocations: 3.703 MB / 0.9281 GB, free: 151.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02026/1.64, allocations: 10.47 MB / 0.9383 GB, free: 146.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-05/1.64, allocations: 3.594 kB / 0.9383 GB, free: 146.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002049/1.642, allocations: 0.5163 MB / 0.9388 GB, free: 145.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007867/1.643, allocations: 374.8 kB / 0.9392 GB, free: 145.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002461/1.643, allocations: 81.8 kB / 0.9392 GB, free: 145.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004438/1.647, allocations: 5.272 MB / 0.9444 GB, free: 140.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.647, allocations: 8 kB / 0.9444 GB, free: 140.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009779/1.657, allocations: 7.148 MB / 0.9514 GB, free: 133.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004462/1.662, allocations: 1.228 MB / 0.9526 GB, free: 132 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001857/1.663, allocations: 72.11 kB / 0.9526 GB, free: 132 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00485/1.668, allocations: 335.2 kB / 0.953 GB, free: 131.7 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003898/1.669, allocations: 193.5 kB / 0.9532 GB, free: 131.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003211/1.669, allocations: 115.9 kB / 0.9533 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.006542/1.676, allocations: 3.914 MB / 0.9571 GB, free: 127.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.3e-07/1.676, allocations: 9.703 kB / 0.9571 GB, free: 127.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.008279/1.684, allocations: 1.805 MB / 0.9589 GB, free: 125.7 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.001566/1.686, allocations: 479.6 kB / 0.9593 GB, free: 125.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006851/1.692, allocations: 4.332 MB / 0.9635 GB, free: 120.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/1.692, allocations: 4 kB / 0.9636 GB, free: 120.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002904/1.695, allocations: 2.084 MB / 0.9656 GB, free: 118.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01545/1.711, allocations: 3.23 MB / 0.9687 GB, free: 115.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02216/1.733, allocations: 14.87 MB / 0.9833 GB, free: 100.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003196/1.736, allocations: 4.402 MB / 0.9876 GB, free: 96.23 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.006125/1.742, allocations: 1.898 MB / 0.9894 GB, free: 94.35 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00137/1.744, allocations: 415.2 kB / 0.9898 GB, free: 93.95 MB / 0.7169 GB Notification: Performance of SimCode: time 1.523e-06/1.744, allocations: 0 / 0.9898 GB, free: 93.95 MB / 0.7169 GB Notification: Performance of Templates: time 0.1523/1.896, allocations: 108.2 MB / 1.096 GB, free: 2.738 MB / 0.7325 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: