Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.531/2.531, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001589/0.001589, allocations: 186.9 kB / 325.6 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.645/2.645, allocations: 205.4 MB / 0.5766 GB, free: 21.19 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001188/0.001187, allocations: 99.31 kB / 0.6811 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006359/0.000636, allocations: 11.78 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2202, allocations: 106.3 MB / 0.8989 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex): time 0.2187/0.439, allocations: 126.9 MB / 1.023 GB, free: 2.785 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.7613/1.2, allocations: 38.06 MB / 1.06 GB, free: 10.93 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007932/1.208, allocations: 161.6 kB / 1.06 GB, free: 10.93 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0107/1.219, allocations: 2.181 MB / 1.062 GB, free: 10.92 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.02565/1.245, allocations: 5.618 MB / 1.068 GB, free: 10.86 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01827/1.263, allocations: 3.999 MB / 1.072 GB, free: 10.76 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.04665/1.31, allocations: 23.45 MB / 1.095 GB, free: 10.71 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03493/1.345, allocations: 15.3 MB / 1.11 GB, free: 24.51 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02959/1.374, allocations: 9.841 MB / 1.119 GB, free: 24.5 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02389/1.398, allocations: 8.256 MB / 1.127 GB, free: 23.96 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.006596/1.405, allocations: 0.734 MB / 1.128 GB, free: 23.96 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02204/1.427, allocations: 2.357 MB / 1.13 GB, free: 23.71 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.009002/1.436, allocations: 3.011 MB / 1.133 GB, free: 22.56 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0109/1.447, allocations: 3.646 MB / 1.137 GB, free: 22 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.04182/1.489, allocations: 24.87 MB / 1.161 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/1.489, allocations: 0 / 1.161 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.526e-06/1.489, allocations: 0 / 1.161 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.001127/1.49, allocations: 0 / 1.161 GB, free: 3.652 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3221 * Number of variables: 3221 Notification: Performance of Generate backend data structure: time 0.06314/1.553, allocations: 15.79 MB / 1.176 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/1.553, allocations: 12.03 kB / 1.176 GB, free: 5.098 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01256/1.566, allocations: 1.912 MB / 1.178 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04701/1.613, allocations: 13.73 MB / 1.192 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001583/1.615, allocations: 0.9727 MB / 1.193 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006608/1.621, allocations: 1.3 MB / 1.194 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06756/1.689, allocations: 18.91 MB / 1.212 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009034/1.69, allocations: 43.41 kB / 1.212 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004955/1.695, allocations: 0.5234 MB / 1.213 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006154/1.696, allocations: 358.1 kB / 1.213 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05815/1.754, allocations: 16.55 MB / 1.229 GB, free: 15.96 MB / 0.7761 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.2054/1.959, allocations: 85.74 MB / 1.313 GB, free: 6.098 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03506/1.994, allocations: 12.32 MB / 1.325 GB, free: 9.758 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.101/2.095, allocations: 28.59 MB / 1.353 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/2.096, allocations: 116.3 kB / 1.353 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009185/2.105, allocations: 0.7752 MB / 1.354 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=660): time 2.387e-05/2.105, allocations: 0 / 1.354 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of matching and sorting (n=660): time 0.07487/2.18, allocations: 17.89 MB / 1.371 GB, free: 8.996 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/2.18, allocations: 120.6 kB / 1.372 GB, free: 8.863 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04039/2.22, allocations: 13.44 MB / 1.385 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.00243/2.223, allocations: 181.7 kB / 1.385 GB, free: 11.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.01219/2.235, allocations: 7.203 MB / 1.392 GB, free: 4.09 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.005146/2.24, allocations: 2.315 MB / 1.394 GB, free: 1.793 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002619/2.243, allocations: 232 kB / 1.394 GB, free: 1.566 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.001332/2.244, allocations: 0.7778 MB / 1.395 GB, free: 0.7812 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01884/2.263, allocations: 5.769 MB / 1.401 GB, free: 11.01 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.275/3.538, allocations: 9.657 MB / 1.41 GB, free: 343.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02237/3.56, allocations: 7.681 MB / 1.418 GB, free: 343.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001604/3.561, allocations: 35.28 kB / 1.418 GB, free: 343.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=1485) (initialization): time 0.06502/3.626, allocations: 18.77 MB / 1.436 GB, free: 339.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.01489/3.641, allocations: 70.05 MB / 1.504 GB, free: 265.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005506/3.641, allocations: 123.3 kB / 1.505 GB, free: 265.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1839/3.825, allocations: 11.94 MB / 1.516 GB, free: 264.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01879/3.844, allocations: 2.466 MB / 1.519 GB, free: 264.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02548/3.869, allocations: 20.4 MB / 1.539 GB, free: 248.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02051/3.89, allocations: 1.132 MB / 1.54 GB, free: 248 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00333/3.893, allocations: 0.5443 MB / 1.54 GB, free: 247.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/3.893, allocations: 7.906 kB / 1.54 GB, free: 247.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05283/3.946, allocations: 17.76 MB / 1.558 GB, free: 235.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004524/3.947, allocations: 125.3 kB / 1.558 GB, free: 235.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1819/4.129, allocations: 11.94 MB / 1.569 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0181/4.147, allocations: 2.423 MB / 1.572 GB, free: 221.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02482/4.172, allocations: 18.6 MB / 1.59 GB, free: 202.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01958/4.191, allocations: 1.069 MB / 1.591 GB, free: 201.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003625/4.195, allocations: 0.5429 MB / 1.591 GB, free: 200.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 561 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1251): * Single equations (assignments): 1233 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {2 16,2 16,2 16,2 16,2 16,2 16,2 17,2 17,2 17,2 17,2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.01714/4.212, allocations: 5.786 MB / 1.597 GB, free: 195 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005426/4.218, allocations: 1.152 MB / 1.598 GB, free: 194.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0391/4.257, allocations: 11.68 MB / 1.61 GB, free: 182.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001017/4.257, allocations: 68 kB / 1.61 GB, free: 182.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.064e-05/4.257, allocations: 7.953 kB / 1.61 GB, free: 182.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02966/4.287, allocations: 9.659 MB / 1.619 GB, free: 172.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08215/4.369, allocations: 25.94 MB / 1.644 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.411e-05/4.369, allocations: 12 kB / 1.644 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01046/4.38, allocations: 1.141 MB / 1.646 GB, free: 145.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09456/4.474, allocations: 6.455 MB / 1.652 GB, free: 138.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001744/4.476, allocations: 191.9 kB / 1.652 GB, free: 138.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01922/4.495, allocations: 17.97 MB / 1.67 GB, free: 119.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.43e-05/4.495, allocations: 19.97 kB / 1.67 GB, free: 119.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04807/4.543, allocations: 21.31 MB / 1.69 GB, free: 97.67 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01106/4.554, allocations: 2.848 MB / 1.693 GB, free: 94.79 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005096/4.56, allocations: 156 kB / 1.693 GB, free: 94.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0161/4.576, allocations: 0.7659 MB / 1.694 GB, free: 93.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002208/4.578, allocations: 452.3 kB / 1.695 GB, free: 93.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001491/4.58, allocations: 275.8 kB / 1.695 GB, free: 93.19 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.02465/4.604, allocations: 9.254 MB / 1.704 GB, free: 83.98 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.273e-06/4.604, allocations: 0 / 1.704 GB, free: 83.98 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.03933/4.644, allocations: 7.691 MB / 1.711 GB, free: 76.75 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 54 * Number of states: 30 (tanSte.vol[1].dynBal.U,tanSte.vol[2].dynBal.U,tanSte.vol[3].dynBal.U,tanSte.vol[4].dynBal.U,tanDyn.vol[1].dynBal.U,tanDyn.vol[2].dynBal.U,tanDyn.vol[3].dynBal.U,tanDyn.vol[4].dynBal.U,tanDyn.indTanHex.vol[1].dynBal.U,tanDyn.indTanHex.vol[2].dynBal.U,tanDyn.indTanHex.vol[3].dynBal.U,tanDyn.indTanHex.vol[4].dynBal.U,tanDyn.indTanHex.vol[5].dynBal.U,tanDyn.indTanHex.vol[6].dynBal.U,tanDyn.indTanHex.cap[1].T,tanDyn.indTanHex.cap[2].T,tanDyn.indTanHex.cap[3].T,tanDyn.indTanHex.cap[4].T,tanDyn.indTanHex.cap[5].T,tanDyn.indTanHex.cap[6].T,tanDynSol.vol[1].dynBal.U,tanDynSol.vol[2].dynBal.U,tanDynSol.vol[3].dynBal.U,tanDynSol.vol[4].dynBal.U,tanDynSol.indTanHex.cap[1].T,tanDynSol.indTanHex.cap[2].T,tanDynSol.indTanHex.cap[3].T,tanDynSol.indTanHex.cap[4].T,tanDynSol.indTanHex.cap[5].T,tanDynSol.indTanHex.cap[6].T) * 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 (567): * Single equations (assignments): 543 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {2 16,2 16,2 16,2 16,2 16,2 16,1 5,1 5,1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004622/4.648, allocations: 1.078 MB / 1.712 GB, free: 75.82 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.06441/4.713, allocations: 22.31 MB / 1.734 GB, free: 53.48 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.291e-05/4.713, allocations: 8.562 kB / 1.734 GB, free: 53.47 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01656/4.729, allocations: 5.472 MB / 1.74 GB, free: 47.96 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04625/4.776, allocations: 6.091 MB / 1.746 GB, free: 42.01 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08354/4.859, allocations: 36.94 MB / 1.782 GB, free: 4.887 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.345/6.204, allocations: 10.14 MB / 1.792 GB, free: 315.1 MB / 0.9481 GB Notification: Performance of simCode: alias equations: time 0.0412/6.245, allocations: 6.159 MB / 1.798 GB, free: 314.8 MB / 0.9481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007626/6.253, allocations: 0.8574 MB / 1.798 GB, free: 314.8 MB / 0.9481 GB Notification: Performance of SimCode: time 1.493e-06/6.253, allocations: 1.062 kB / 1.798 GB, free: 314.8 MB / 0.9481 GB Notification: Performance of Templates: time 0.6999/6.953, allocations: 260.2 MB / 2.052 GB, free: 97.25 MB / 0.9481 GB