Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.85/1.85, allocations: 288.4 MB / 303.4 MB, free: 8.141 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.001219/0.001219, allocations: 184.5 kB / 372 MB, free: 10.28 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.608/1.608, allocations: 205.4 MB / 0.6307 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008207/0.0008207, allocations: 101.8 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004559/0.0004563, allocations: 11.91 kB / 0.8669 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2638, allocations: 115.3 MB / 0.9796 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.0402/0.304, allocations: 45.35 MB / 1.024 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0191/0.3232, allocations: 12.88 MB / 1.036 GB, free: 1.316 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00328/0.3265, allocations: 59.62 kB / 1.037 GB, free: 1.258 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0029/0.3294, allocations: 0.5705 MB / 1.037 GB, free: 0.6836 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.008477/0.3379, allocations: 1.768 MB / 1.039 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004114/0.3421, allocations: 0.9368 MB / 1.04 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.0244/0.3665, allocations: 21.61 MB / 1.061 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01035/0.3769, allocations: 6.519 MB / 1.067 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.649/1.026, allocations: 4.775 MB / 1.072 GB, free: 16.15 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01719/1.043, allocations: 4.927 MB / 1.077 GB, free: 16.15 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.003589/1.047, allocations: 306.4 kB / 1.077 GB, free: 16.14 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009677/1.057, allocations: 0.7372 MB / 1.078 GB, free: 16.14 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.005256/1.062, allocations: 1.357 MB / 1.079 GB, free: 16.14 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.006992/1.069, allocations: 1.469 MB / 1.08 GB, free: 16.11 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01896/1.088, allocations: 9.422 MB / 1.09 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.377e-06/1.088, allocations: 4.125 kB / 1.09 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.717e-06/1.088, allocations: 0 / 1.09 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0006759/1.089, allocations: 0 / 1.09 GB, free: 15.65 MB / 0.6823 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.02511/1.114, allocations: 6.254 MB / 1.096 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/1.114, allocations: 8.812 kB / 1.096 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007082/1.121, allocations: 0.7749 MB / 1.096 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01758/1.139, allocations: 5.981 MB / 1.102 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007383/1.139, allocations: 419.3 kB / 1.103 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004165/1.144, allocations: 0.5471 MB / 1.103 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03378/1.177, allocations: 8.019 MB / 1.111 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005828/1.178, allocations: 17.59 kB / 1.111 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003855/1.182, allocations: 234.8 kB / 1.111 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004004/1.182, allocations: 167 kB / 1.112 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02407/1.206, allocations: 6.486 MB / 1.118 GB, free: 11.07 MB / 0.6823 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.06949/1.276, allocations: 31.13 MB / 1.148 GB, free: 7.824 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008192/1.284, allocations: 3.627 MB / 1.152 GB, free: 6.707 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006236/1.29, allocations: 2.886 MB / 1.155 GB, free: 5.383 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001283/1.292, allocations: 0.8403 MB / 1.155 GB, free: 4.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/1.292, allocations: 70.3 kB / 1.155 GB, free: 4.418 MB / 0.698 GB Notification: Performance of pre-optimization done (n=267): time 9.498e-06/1.292, allocations: 3.984 kB / 1.155 GB, free: 4.414 MB / 0.698 GB Notification: Performance of matching and sorting (n=267): time 0.01547/1.307, allocations: 5.728 MB / 1.161 GB, free: 1.375 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/1.308, allocations: 87.2 kB / 1.161 GB, free: 1.305 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01545/1.323, allocations: 4.904 MB / 1.166 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001472/1.325, allocations: 82.2 kB / 1.166 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.00449/1.329, allocations: 2.844 MB / 1.169 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.002703/1.332, allocations: 0.9357 MB / 1.17 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000974/1.333, allocations: 74.81 kB / 1.17 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0005794/1.333, allocations: 464.5 kB / 1.17 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004249/1.338, allocations: 1.659 MB / 1.172 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005182/1.343, allocations: 2.916 MB / 1.175 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005105/1.348, allocations: 2.273 MB / 1.177 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.167e-05/1.348, allocations: 12 kB / 1.177 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01496/1.363, allocations: 5.395 MB / 1.182 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.816e-05/1.363, allocations: 24.97 kB / 1.182 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.981e-05/1.363, allocations: 40 kB / 1.182 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/1.365, allocations: 427.8 kB / 1.183 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00395/1.369, allocations: 0.857 MB / 1.184 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006829/1.375, allocations: 5.263 MB / 1.189 GB, free: 7.773 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007787/1.383, allocations: 0.6394 MB / 1.189 GB, free: 7.129 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001261/1.384, allocations: 176 kB / 1.189 GB, free: 6.957 MB / 0.7292 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 () * Number of clocked 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.007848/1.392, allocations: 2.264 MB / 1.192 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003238/1.396, allocations: 486.2 kB / 1.192 GB, free: 4.258 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01135/1.407, allocations: 4.167 MB / 1.196 GB, free: 52 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.033e-05/1.407, allocations: 24 kB / 1.196 GB, free: 28 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-05/1.407, allocations: 8 kB / 1.196 GB, free: 20 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007119/1.414, allocations: 3.615 MB / 1.2 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03481/1.449, allocations: 10.17 MB / 1.21 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.536e-05/1.449, allocations: 4.562 kB / 1.21 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002778/1.452, allocations: 0.4996 MB / 1.21 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/1.453, allocations: 370.1 kB / 1.211 GB, free: 1.23 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005973/1.454, allocations: 80.98 kB / 1.211 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006759/1.46, allocations: 5.203 MB / 1.216 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.838e-05/1.461, allocations: 6.531 kB / 1.216 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01553/1.476, allocations: 6.208 MB / 1.222 GB, free: 5.355 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005908/1.482, allocations: 1.162 MB / 1.223 GB, free: 4.168 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00365/1.486, allocations: 67.97 kB / 1.223 GB, free: 4.102 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007909/1.494, allocations: 336.6 kB / 1.223 GB, free: 3.777 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001196/1.495, allocations: 170.7 kB / 1.223 GB, free: 3.617 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001143/1.496, allocations: 131.9 kB / 1.224 GB, free: 3.488 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.01189/1.508, allocations: 3.579 MB / 1.227 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.392e-06/1.508, allocations: 0 / 1.227 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.01207/1.52, allocations: 1.781 MB / 1.229 GB, free: 14.14 MB / 0.7761 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 () * Number of clocked 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.003037/1.523, allocations: 461.8 kB / 1.229 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01057/1.534, allocations: 4.233 MB / 1.233 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-05/1.534, allocations: 12.03 kB / 1.233 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.004866/1.539, allocations: 2.023 MB / 1.235 GB, free: 7.578 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02451/1.563, allocations: 3.29 MB / 1.239 GB, free: 4.355 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03727/1.601, allocations: 14.52 MB / 1.253 GB, free: 5.793 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01025/1.611, allocations: 4.278 MB / 1.257 GB, free: 1.477 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.01037/1.621, allocations: 1.907 MB / 1.259 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002814/1.624, allocations: 402.4 kB / 1.259 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of SimCode: time 1.513e-06/1.624, allocations: 3.938 kB / 1.259 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of Templates: time 0.2039/1.828, allocations: 107.2 MB / 1.364 GB, free: 4.82 MB / 0.9011 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)