Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.543/4.543, allocations: 0.5623 GB / 0.577 GB, free: 3.328 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002366/0.002366, allocations: 354.8 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.761/3.761, allocations: 410.7 MB / 1.112 GB, free: 5.996 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001782/0.001781, allocations: 192 kB / 1.225 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004713/0.0004715, allocations: 15.98 kB / 1.348 GB, free: 8.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5611/0.5616, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04194/0.6036, allocations: 45.33 MB / 1.505 GB, free: 239 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01627/0.6199, allocations: 12.74 MB / 1.517 GB, free: 226.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.6216, allocations: 59.62 kB / 1.518 GB, free: 226.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001691/0.6234, allocations: 0.6791 MB / 1.518 GB, free: 225.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.005072/0.6284, allocations: 2.08 MB / 1.52 GB, free: 223.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.004375/0.6328, allocations: 1.417 MB / 1.522 GB, free: 222.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01709/0.6499, allocations: 21.52 MB / 1.543 GB, free: 200.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007845/0.6578, allocations: 6.523 MB / 1.549 GB, free: 194.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006779/0.6646, allocations: 4.63 MB / 1.553 GB, free: 189.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006645/0.6713, allocations: 4.936 MB / 1.558 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0008739/0.6722, allocations: 300 kB / 1.559 GB, free: 184.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003264/0.6755, allocations: 0.737 MB / 1.559 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001272/0.6768, allocations: 1.354 MB / 1.561 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001728/0.6785, allocations: 1.467 MB / 1.562 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.008653/0.6872, allocations: 9.426 MB / 1.571 GB, free: 171.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.485e-06/0.6872, allocations: 0 / 1.571 GB, free: 171.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.365e-06/0.6872, allocations: 0 / 1.571 GB, free: 171.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001352/0.6874, allocations: 7.938 kB / 1.571 GB, free: 171.3 MB / 0.8542 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.01127/0.6987, allocations: 6.248 MB / 1.577 GB, free: 164.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.6987, allocations: 11.62 kB / 1.577 GB, free: 164.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002828/0.7016, allocations: 0.7727 MB / 1.578 GB, free: 164.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01148/0.7131, allocations: 5.987 MB / 1.584 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002721/0.7134, allocations: 415 kB / 1.584 GB, free: 157.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009035/0.7143, allocations: 0.5429 MB / 1.585 GB, free: 157.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01417/0.7285, allocations: 8.026 MB / 1.593 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001411/0.7286, allocations: 11.88 kB / 1.593 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006782/0.7293, allocations: 247.9 kB / 1.593 GB, free: 148.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001624/0.7295, allocations: 167.9 kB / 1.593 GB, free: 148.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02142/0.7509, allocations: 6.481 MB / 1.599 GB, free: 142 MB / 0.8542 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.0761/0.8271, allocations: 31.12 MB / 1.63 GB, free: 109 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006061/0.8332, allocations: 3.632 MB / 1.633 GB, free: 105.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004423/0.8376, allocations: 2.881 MB / 1.636 GB, free: 102.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008817/0.8385, allocations: 0.8398 MB / 1.637 GB, free: 101.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.995e-05/0.8386, allocations: 72.67 kB / 1.637 GB, free: 101.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=267): time 6.763e-06/0.8386, allocations: 0 / 1.637 GB, free: 101.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=267): time 0.01193/0.8506, allocations: 5.739 MB / 1.643 GB, free: 95.59 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.8507, allocations: 77.52 kB / 1.643 GB, free: 95.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007967/0.8586, allocations: 4.903 MB / 1.648 GB, free: 90.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004836/0.8592, allocations: 81.7 kB / 1.648 GB, free: 90.52 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.002212/0.8614, allocations: 2.844 MB / 1.65 GB, free: 87.64 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001083/0.8625, allocations: 0.9359 MB / 1.651 GB, free: 86.69 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/0.8627, allocations: 76 kB / 1.651 GB, free: 86.62 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002058/0.8629, allocations: 461.8 kB / 1.652 GB, free: 86.16 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002961/0.8659, allocations: 1.662 MB / 1.654 GB, free: 84.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003556/0.8695, allocations: 2.916 MB / 1.656 GB, free: 81.03 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003714/0.8732, allocations: 2.269 MB / 1.659 GB, free: 78.74 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.287e-05/0.8733, allocations: 16 kB / 1.659 GB, free: 78.73 MB / 0.8542 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009885/0.8832, allocations: 5.395 MB / 1.664 GB, free: 73.28 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.158e-05/0.8832, allocations: 20 kB / 1.664 GB, free: 73.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.585e-05/0.8833, allocations: 44.16 kB / 1.664 GB, free: 73.21 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.8845, allocations: 429.3 kB / 1.664 GB, free: 72.79 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003825/0.8883, allocations: 0.8658 MB / 1.665 GB, free: 71.92 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005829/0.8942, allocations: 5.26 MB / 1.67 GB, free: 66.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005168/0.8994, allocations: 0.6432 MB / 1.671 GB, free: 65.74 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003882/0.8998, allocations: 184 kB / 1.671 GB, free: 65.56 MB / 0.8542 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.003723/0.9035, allocations: 2.268 MB / 1.673 GB, free: 63.29 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009598/0.9045, allocations: 478.3 kB / 1.674 GB, free: 62.81 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007472/0.912, allocations: 4.168 MB / 1.678 GB, free: 58.59 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-05/0.912, allocations: 24 kB / 1.678 GB, free: 58.57 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/0.912, allocations: 4 kB / 1.678 GB, free: 58.57 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005829/0.9179, allocations: 3.623 MB / 1.681 GB, free: 54.83 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01805/0.9359, allocations: 10.15 MB / 1.691 GB, free: 44.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/0.936, allocations: 12.09 kB / 1.691 GB, free: 44.48 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002817/0.9388, allocations: 0.4954 MB / 1.692 GB, free: 43.99 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001018/0.9399, allocations: 373.3 kB / 1.692 GB, free: 43.62 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002228/0.9401, allocations: 75.95 kB / 1.692 GB, free: 43.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005705/0.9458, allocations: 5.205 MB / 1.697 GB, free: 38.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.988e-06/0.9458, allocations: 11.89 kB / 1.697 GB, free: 38.06 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/0.9562, allocations: 6.2 MB / 1.703 GB, free: 31.69 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002859/0.9591, allocations: 1.158 MB / 1.705 GB, free: 30.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007538/0.9598, allocations: 59.98 kB / 1.705 GB, free: 30.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003612/0.9635, allocations: 341.3 kB / 1.705 GB, free: 30.12 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003377/0.9638, allocations: 169.7 kB / 1.705 GB, free: 29.95 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003187/0.9642, allocations: 131.9 kB / 1.705 GB, free: 29.82 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.005702/0.9699, allocations: 3.587 MB / 1.709 GB, free: 26.25 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.57e-07/0.9699, allocations: 0 / 1.709 GB, free: 26.25 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005552/0.9755, allocations: 1.785 MB / 1.71 GB, free: 24.46 MB / 0.8542 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.001024/0.9765, allocations: 449.4 kB / 1.711 GB, free: 24.02 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006871/0.9834, allocations: 4.239 MB / 1.715 GB, free: 19.75 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.9834, allocations: 0 / 1.715 GB, free: 19.75 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003198/0.9866, allocations: 2.036 MB / 1.717 GB, free: 17.68 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01604/1.003, allocations: 3.273 MB / 1.72 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5812/1.584, allocations: 14.53 MB / 1.734 GB, free: 247.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006264/1.59, allocations: 4.383 MB / 1.739 GB, free: 247 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.008447/1.599, allocations: 1.908 MB / 1.741 GB, free: 246.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001674/1.6, allocations: 414.7 kB / 1.741 GB, free: 246.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.645e-06/1.6, allocations: 0 / 1.741 GB, free: 246.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.1987/1.799, allocations: 107.2 MB / 1.846 GB, free: 158.4 MB / 0.8542 GB