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.001492/0.001491, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002315/0.002315, allocations: 195.1 kB / 16.25 MB, free: 6.621 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.598/1.598, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.563/1.563, allocations: 251.6 MB / 0.5089 GB, free: 3.301 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.001396/0.001396, allocations: 67.91 kB / 0.6217 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6181/0.6195, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04641/0.666, allocations: 48.9 MB / 0.7717 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01828/0.6843, allocations: 13.59 MB / 0.785 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003629/0.688, allocations: 59.62 kB / 0.7851 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003078/0.6912, allocations: 0.6916 MB / 0.7857 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008042/0.6993, allocations: 2.068 MB / 0.7878 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004336/0.7036, allocations: 1.155 MB / 0.7889 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.019/0.7226, allocations: 19.53 MB / 0.808 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01252/0.7352, allocations: 9.793 MB / 0.8175 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01551/0.7507, allocations: 6.572 MB / 0.8239 GB, free: 6.355 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01043/0.7612, allocations: 5.934 MB / 0.8297 GB, free: 408 kB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.003073/0.7643, allocations: 0.8282 MB / 0.8305 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006835/0.7711, allocations: 1.604 MB / 0.8321 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004526/0.7757, allocations: 2.068 MB / 0.8341 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01011/0.7858, allocations: 4.237 MB / 0.8383 GB, free: 7.637 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01523/0.8011, allocations: 11.76 MB / 0.8497 GB, free: 11.84 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.8011, allocations: 0 / 0.8497 GB, free: 11.84 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.304e-06/0.8011, allocations: 4 kB / 0.8497 GB, free: 11.84 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0005133/0.8017, allocations: 0 / 0.8497 GB, free: 11.84 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.02157/0.8233, allocations: 7.639 MB / 0.8572 GB, free: 4.121 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.8233, allocations: 8.031 kB / 0.8572 GB, free: 4.113 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004673/0.828, allocations: 0.7698 MB / 0.858 GB, free: 3.336 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01434/0.8424, allocations: 6.167 MB / 0.864 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004309/0.8429, allocations: 419.4 kB / 0.8644 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002122/0.845, allocations: 0.5467 MB / 0.8649 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02024/0.8652, allocations: 7.969 MB / 0.8727 GB, free: 3.969 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001533/0.8654, allocations: 15.78 kB / 0.8727 GB, free: 3.953 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008323/0.8663, allocations: 240 kB / 0.873 GB, free: 3.719 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001757/0.8664, allocations: 164 kB / 0.8731 GB, free: 3.559 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01412/0.8806, allocations: 6.556 MB / 0.8795 GB, free: 12.99 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.5658/1.446, allocations: 30.47 MB / 0.9093 GB, free: 159.8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007224/1.454, allocations: 3.762 MB / 0.9129 GB, free: 159.7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004998/1.459, allocations: 2.833 MB / 0.9157 GB, free: 158.9 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007794/1.46, allocations: 0.8318 MB / 0.9165 GB, free: 158 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.64e-05/1.46, allocations: 68.42 kB / 0.9166 GB, free: 157.9 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=275): time 4.519e-06/1.46, allocations: 0 / 0.9166 GB, free: 157.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=275): time 0.01044/1.47, allocations: 5.826 MB / 0.9223 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/1.47, allocations: 81.27 kB / 0.9223 GB, free: 156 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006894/1.477, allocations: 4.946 MB / 0.9272 GB, free: 154.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0006572/1.478, allocations: 80.8 kB / 0.9273 GB, free: 154.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001955/1.48, allocations: 2.828 MB / 0.93 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001221/1.481, allocations: 0.9689 MB / 0.931 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009151/1.482, allocations: 0.7217 MB / 0.9317 GB, free: 151.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.577e-05/1.482, allocations: 304 kB / 0.932 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002109/1.484, allocations: 1.7 MB / 0.9336 GB, free: 150 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002649/1.487, allocations: 2.918 MB / 0.9365 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004944/1.492, allocations: 4.964 MB / 0.9413 GB, free: 144 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.22e-05/1.492, allocations: 18.34 kB / 0.9413 GB, free: 144 MB / 0.7169 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.007661/1.499, allocations: 5.478 MB / 0.9467 GB, free: 138.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.825e-05/1.499, allocations: 20 kB / 0.9467 GB, free: 138.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.809e-05/1.499, allocations: 40 kB / 0.9467 GB, free: 138.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008672/1.5, allocations: 429.7 kB / 0.9471 GB, free: 138.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002557/1.503, allocations: 0.8697 MB / 0.948 GB, free: 137.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004221/1.507, allocations: 5.707 MB / 0.9536 GB, free: 131.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005071/1.512, allocations: 0.6432 MB / 0.9542 GB, free: 130.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004244/1.513, allocations: 180 kB / 0.9544 GB, free: 130.6 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.003582/1.516, allocations: 2.263 MB / 0.9566 GB, free: 128.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001287/1.518, allocations: 478.2 kB / 0.957 GB, free: 127.9 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005474/1.523, allocations: 4.236 MB / 0.9612 GB, free: 123.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-05/1.523, allocations: 31.98 kB / 0.9612 GB, free: 123.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/1.523, allocations: 4 kB / 0.9612 GB, free: 123.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003823/1.527, allocations: 3.68 MB / 0.9648 GB, free: 119.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01758/1.544, allocations: 10.52 MB / 0.9751 GB, free: 109.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/1.545, allocations: 4.688 kB / 0.9751 GB, free: 109.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00195/1.546, allocations: 0.5149 MB / 0.9756 GB, free: 108.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000723/1.547, allocations: 380.6 kB / 0.9759 GB, free: 108.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001756/1.547, allocations: 79.95 kB / 0.976 GB, free: 108.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004128/1.552, allocations: 5.641 MB / 0.9815 GB, free: 102.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.552, allocations: 12 kB / 0.9815 GB, free: 102.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008029/1.56, allocations: 6.355 MB / 0.9877 GB, free: 95.66 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00324/1.563, allocations: 1.061 MB / 0.9888 GB, free: 94.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001243/1.564, allocations: 67.92 kB / 0.9888 GB, free: 94.51 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003669/1.568, allocations: 329 kB / 0.9892 GB, free: 94.19 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003229/1.568, allocations: 181.6 kB / 0.9893 GB, free: 94.01 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002489/1.568, allocations: 115.9 kB / 0.9894 GB, free: 93.89 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.004838/1.573, allocations: 3.626 MB / 0.993 GB, free: 90.28 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.81e-07/1.573, allocations: 7.938 kB / 0.993 GB, free: 90.27 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005968/1.579, allocations: 1.785 MB / 0.9947 GB, free: 88.5 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.001267/1.581, allocations: 473.1 kB / 0.9952 GB, free: 88.08 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01289/1.593, allocations: 8.193 MB / 1.003 GB, free: 79.87 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/1.593, allocations: 4 kB / 1.003 GB, free: 79.87 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002439/1.596, allocations: 2.068 MB / 1.005 GB, free: 77.77 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01479/1.611, allocations: 3.47 MB / 1.009 GB, free: 74.45 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02041/1.631, allocations: 15.06 MB / 1.023 GB, free: 59.3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003419/1.635, allocations: 4.288 MB / 1.027 GB, free: 54.98 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.006139/1.641, allocations: 1.888 MB / 1.029 GB, free: 53.11 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/1.642, allocations: 411.2 kB / 1.03 GB, free: 52.7 MB / 0.7169 GB Notification: Performance of SimCode: time 8.32e-07/1.642, allocations: 4 kB / 1.03 GB, free: 52.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.1753/1.817, allocations: 114.3 MB / 1.141 GB, free: 3.512 MB / 0.7794 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (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)