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.73/1.73, allocations: 288.4 MB / 303.7 MB, free: 8.195 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.001018/0.001017, allocations: 188.4 kB / 372.3 MB, free: 10.11 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.627/1.627, allocations: 205.4 MB / 0.631 GB, free: 9.855 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.0007321/0.000732, allocations: 94.11 kB / 0.7444 GB, free: 5.758 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004328/0.000433, allocations: 13 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2636, allocations: 115.3 MB / 0.9801 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.03874/0.3024, allocations: 45.35 MB / 1.024 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02205/0.3245, allocations: 12.89 MB / 1.037 GB, free: 0.9219 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002904/0.3274, allocations: 59.56 kB / 1.037 GB, free: 0.8633 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002107/0.3296, allocations: 0.5705 MB / 1.038 GB, free: 296 kB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007191/0.3368, allocations: 1.902 MB / 1.039 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003397/0.3402, allocations: 0.9492 MB / 1.04 GB, free: 13.44 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.02104/0.3612, allocations: 21.7 MB / 1.062 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5931/0.9544, allocations: 7.806 MB / 1.069 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01347/0.9679, allocations: 4.742 MB / 1.074 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01869/0.9867, allocations: 4.935 MB / 1.079 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.003631/0.9904, allocations: 303.3 kB / 1.079 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009297/0.9997, allocations: 0.9428 MB / 1.08 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.005677/1.005, allocations: 1.36 MB / 1.081 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.01616/1.022, allocations: 3.369 MB / 1.085 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01908/1.041, allocations: 9.475 MB / 1.094 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.041, allocations: 2.719 kB / 1.094 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.447e-06/1.041, allocations: 0 / 1.094 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0008426/1.042, allocations: 3.562 kB / 1.094 GB, free: 14.23 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.02608/1.068, allocations: 6.175 MB / 1.1 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.307e-05/1.068, allocations: 9.406 kB / 1.1 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006318/1.074, allocations: 0.7815 MB / 1.101 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01853/1.093, allocations: 6.124 MB / 1.107 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006834/1.093, allocations: 419.9 kB / 1.107 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003501/1.097, allocations: 0.5363 MB / 1.107 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0309/1.128, allocations: 8.029 MB / 1.115 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000581/1.129, allocations: 17.38 kB / 1.115 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004226/1.133, allocations: 237 kB / 1.116 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006876/1.134, allocations: 166.6 kB / 1.116 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02476/1.158, allocations: 6.484 MB / 1.122 GB, free: 8.777 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.06669/1.225, allocations: 31.14 MB / 1.152 GB, free: 5.316 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007582/1.233, allocations: 3.627 MB / 1.156 GB, free: 3.473 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007389/1.24, allocations: 2.881 MB / 1.159 GB, free: 2.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001722/1.242, allocations: 0.8391 MB / 1.16 GB, free: 1.262 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/1.242, allocations: 79.11 kB / 1.16 GB, free: 1.191 MB / 0.698 GB Notification: Performance of pre-optimization done (n=267): time 1.57e-05/1.242, allocations: 0 / 1.16 GB, free: 1.191 MB / 0.698 GB Notification: Performance of matching and sorting (n=267): time 0.02409/1.266, allocations: 5.747 MB / 1.165 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/1.266, allocations: 80.58 kB / 1.165 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02189/1.288, allocations: 4.901 MB / 1.17 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001369/1.29, allocations: 82.45 kB / 1.17 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.00639/1.296, allocations: 2.852 MB / 1.173 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.003377/1.3, allocations: 0.9333 MB / 1.174 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001086/1.301, allocations: 76 kB / 1.174 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0008/1.302, allocations: 465.8 kB / 1.174 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006667/1.308, allocations: 1.655 MB / 1.176 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0091/1.317, allocations: 2.924 MB / 1.179 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01554/1.333, allocations: 4.948 MB / 1.184 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.343e-05/1.333, allocations: 12 kB / 1.184 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.02448/1.358, allocations: 5.394 MB / 1.189 GB, free: 7.195 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.32e-05/1.358, allocations: 28.25 kB / 1.189 GB, free: 7.168 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001079/1.358, allocations: 40 kB / 1.189 GB, free: 7.129 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002115/1.36, allocations: 421.3 kB / 1.19 GB, free: 6.711 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007736/1.368, allocations: 0.858 MB / 1.19 GB, free: 5.852 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/1.38, allocations: 5.269 MB / 1.196 GB, free: 336 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01198/1.392, allocations: 0.6432 MB / 1.196 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001626/1.393, allocations: 180 kB / 1.196 GB, free: 15.5 MB / 0.7448 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.01139/1.405, allocations: 2.271 MB / 1.199 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004268/1.409, allocations: 474.3 kB / 1.199 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01961/1.429, allocations: 4.156 MB / 1.203 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.806e-05/1.429, allocations: 27.98 kB / 1.203 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.547e-05/1.429, allocations: 7.938 kB / 1.203 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01283/1.442, allocations: 3.616 MB / 1.207 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04833/1.49, allocations: 10.17 MB / 1.217 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.433e-05/1.49, allocations: 7.984 kB / 1.217 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005413/1.496, allocations: 0.507 MB / 1.217 GB, free: 9.984 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002017/1.498, allocations: 370.7 kB / 1.217 GB, free: 9.617 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007474/1.499, allocations: 79.95 kB / 1.217 GB, free: 9.539 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01098/1.51, allocations: 5.202 MB / 1.223 GB, free: 4.086 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.825e-05/1.51, allocations: 7.938 kB / 1.223 GB, free: 4.078 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02328/1.533, allocations: 6.207 MB / 1.229 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008029/1.541, allocations: 1.162 MB / 1.23 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00362/1.545, allocations: 67.92 kB / 1.23 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01034/1.555, allocations: 326.7 kB / 1.23 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001268/1.556, allocations: 173.6 kB / 1.23 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001195/1.558, allocations: 127.9 kB / 1.23 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.01473/1.572, allocations: 3.587 MB / 1.234 GB, free: 8.258 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.432e-06/1.572, allocations: 0 / 1.234 GB, free: 8.258 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.01604/1.589, allocations: 1.789 MB / 1.236 GB, free: 6.465 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.003418/1.592, allocations: 478 kB / 1.236 GB, free: 6.023 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01641/1.608, allocations: 4.234 MB / 1.24 GB, free: 1.746 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.3e-05/1.609, allocations: 4 kB / 1.24 GB, free: 1.742 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.006971/1.616, allocations: 2.043 MB / 1.242 GB, free: 15.67 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04419/1.66, allocations: 3.234 MB / 1.245 GB, free: 12.5 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03739/1.697, allocations: 14.53 MB / 1.26 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007669/1.705, allocations: 4.27 MB / 1.264 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.007961/1.713, allocations: 1.905 MB / 1.266 GB, free: 7.691 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0017/1.715, allocations: 411.2 kB / 1.266 GB, free: 7.289 MB / 0.8073 GB Notification: Performance of SimCode: time 9.82e-07/1.715, allocations: 0 / 1.266 GB, free: 7.289 MB / 0.8073 GB Notification: Performance of Templates: time 0.204/1.919, allocations: 108.8 MB / 1.372 GB, free: 11.11 MB / 0.9167 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)