Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.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.HeatExchangerDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.498/2.498, allocations: 287.9 MB / 302.9 MB, free: 8.297 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001414/0.001413, allocations: 183.3 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.992/1.992, allocations: 205.4 MB / 0.6301 GB, free: 10.4 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001054/0.001053, allocations: 90.23 kB / 0.7434 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004744/0.0004747, allocations: 15.5 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1595, allocations: 115.3 MB / 0.9787 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics): time 0.6674/0.8269, allocations: 93.7 MB / 1.07 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0461/0.873, allocations: 27.62 MB / 1.097 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00581/0.8789, allocations: 121.7 kB / 1.097 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006617/0.8856, allocations: 1.645 MB / 1.099 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01622/0.9018, allocations: 4.133 MB / 1.103 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01341/0.9153, allocations: 3.334 MB / 1.106 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.03452/0.9498, allocations: 24.97 MB / 1.131 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03072/0.9806, allocations: 15.76 MB / 1.146 GB, free: 19.74 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02091/1.002, allocations: 9.966 MB / 1.156 GB, free: 14.69 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01825/1.02, allocations: 8.661 MB / 1.164 GB, free: 9.871 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0042/1.024, allocations: 0.7619 MB / 1.165 GB, free: 9.871 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01453/1.039, allocations: 2.286 MB / 1.167 GB, free: 7.707 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.006952/1.046, allocations: 3.219 MB / 1.17 GB, free: 4.477 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.009213/1.055, allocations: 3.704 MB / 1.174 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0403/1.095, allocations: 27.41 MB / 1.201 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/1.095, allocations: 0 / 1.201 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.761e-06/1.095, allocations: 0 / 1.201 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0006712/1.096, allocations: 0 / 1.201 GB, free: 5.309 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3345 * Number of variables: 3345 Notification: Performance of Generate backend data structure: time 0.04593/1.142, allocations: 15.98 MB / 1.216 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/1.142, allocations: 8.031 kB / 1.216 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01035/1.152, allocations: 1.959 MB / 1.218 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03997/1.192, allocations: 14.53 MB / 1.232 GB, free: 4.648 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001485/1.194, allocations: 1.002 MB / 1.233 GB, free: 3.645 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004462/1.198, allocations: 1.336 MB / 1.235 GB, free: 2.309 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0623/1.261, allocations: 20.04 MB / 1.254 GB, free: 13.71 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005596/1.261, allocations: 49.53 kB / 1.254 GB, free: 13.66 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003461/1.265, allocations: 0.5429 MB / 1.255 GB, free: 13.12 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004985/1.265, allocations: 391.8 kB / 1.255 GB, free: 12.73 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05445/1.32, allocations: 18.07 MB / 1.273 GB, free: 10.64 MB / 0.8073 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.207/1.527, allocations: 87.21 MB / 1.358 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03044/1.557, allocations: 13.23 MB / 1.371 GB, free: 1.645 MB / 0.9011 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 evalFunc (simulation): time 0.07074/1.628, allocations: 27.32 MB / 1.398 GB, free: 5.152 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01576/1.644, allocations: 6.097 MB / 1.404 GB, free: 15 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007803/1.652, allocations: 0.8568 MB / 1.404 GB, free: 14.13 MB / 0.948 GB Notification: Performance of pre-optimization done (n=784): time 3.204e-05/1.652, allocations: 0 / 1.404 GB, free: 14.13 MB / 0.948 GB Notification: Performance of matching and sorting (n=784): time 1.269/2.921, allocations: 32.18 MB / 1.436 GB, free: 322.9 MB / 0.9637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/2.921, allocations: 158.2 kB / 1.436 GB, free: 322.8 MB / 0.9637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03149/2.953, allocations: 13.03 MB / 1.449 GB, free: 318.6 MB / 0.9637 GB Notification: Performance of collectPreVariables (initialization): time 0.00169/2.954, allocations: 203 kB / 1.449 GB, free: 318.4 MB / 0.9637 GB Notification: Performance of collectInitialEqns (initialization): time 0.008835/2.963, allocations: 6.926 MB / 1.456 GB, free: 314.7 MB / 0.9637 GB Notification: Performance of collectInitialBindings (initialization): time 0.003851/2.967, allocations: 2.738 MB / 1.458 GB, free: 312.6 MB / 0.9637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001108/2.968, allocations: 235.1 kB / 1.459 GB, free: 312.4 MB / 0.9637 GB Notification: Performance of setup shared object (initialization): time 0.0008854/2.969, allocations: 0.7808 MB / 1.459 GB, free: 311.9 MB / 0.9637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01461/2.984, allocations: 6.29 MB / 1.465 GB, free: 309.6 MB / 0.9637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01636/3, allocations: 9.567 MB / 1.475 GB, free: 303.4 MB / 0.9637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01732/3.017, allocations: 8.187 MB / 1.483 GB, free: 300.1 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001367/3.018, allocations: 28.66 kB / 1.483 GB, free: 300.1 MB / 0.9637 GB Notification: Performance of matching and sorting (n=1486) (initialization): time 0.05769/3.075, allocations: 18.89 MB / 1.501 GB, free: 292.7 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.01262/3.088, allocations: 55.67 MB / 1.556 GB, free: 233.5 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005716/3.089, allocations: 104.8 kB / 1.556 GB, free: 233.4 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09147/3.18, allocations: 9.078 MB / 1.565 GB, free: 230.1 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01302/3.193, allocations: 2.531 MB / 1.567 GB, free: 229.5 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01472/3.208, allocations: 10.43 MB / 1.577 GB, free: 220.6 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01539/3.223, allocations: 1.126 MB / 1.578 GB, free: 219.4 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002518/3.226, allocations: 0.5233 MB / 1.579 GB, free: 218.9 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/3.226, allocations: 7.953 kB / 1.579 GB, free: 218.9 MB / 0.9637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03781/3.264, allocations: 17.9 MB / 1.596 GB, free: 200.9 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002566/3.264, allocations: 104.2 kB / 1.596 GB, free: 200.8 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1485/3.413, allocations: 9.049 MB / 1.605 GB, free: 191.7 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02471/3.437, allocations: 2.519 MB / 1.608 GB, free: 189.2 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02047/3.458, allocations: 10.44 MB / 1.618 GB, free: 178.5 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01449/3.472, allocations: 1.088 MB / 1.619 GB, free: 177.4 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002435/3.475, allocations: 0.5194 MB / 1.62 GB, free: 176.9 MB / 0.9637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 448 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mHex_flow_in.T_start,mHex_flow_in.T_start,$PRE.mHex_flow_in.count,mHex_flow_in.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1298): * Single equations (assignments): 1294 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * 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: 1 {16 144} Notification: Performance of prepare postOptimizeDAE: time 0.01161/3.486, allocations: 5.958 MB / 1.625 GB, free: 170.9 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00328/3.49, allocations: 1.158 MB / 1.627 GB, free: 169.7 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0294/3.519, allocations: 13.49 MB / 1.64 GB, free: 156.2 MB / 0.9637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.674e-05/3.519, allocations: 77.17 kB / 1.64 GB, free: 156.2 MB / 0.9637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.787e-05/3.519, allocations: 7.984 kB / 1.64 GB, free: 156.2 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02311/3.542, allocations: 11.14 MB / 1.651 GB, free: 144.9 MB / 0.9637 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 postOpt removeSimpleEquations (simulation): time 0.08199/3.625, allocations: 29.64 MB / 1.68 GB, free: 115.2 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.144e-05/3.625, allocations: 4 kB / 1.68 GB, free: 115.2 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007539/3.632, allocations: 1.243 MB / 1.681 GB, free: 114 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1181/3.75, allocations: 8.296 MB / 1.689 GB, free: 105.7 MB / 0.9637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00213/3.753, allocations: 201.4 kB / 1.689 GB, free: 105.5 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02459/3.777, allocations: 10.1 MB / 1.699 GB, free: 95.08 MB / 0.9637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-05/3.777, allocations: 7.953 kB / 1.699 GB, free: 95.07 MB / 0.9637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04781/3.825, allocations: 20.81 MB / 1.719 GB, free: 74.04 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009302/3.834, allocations: 3.141 MB / 1.722 GB, free: 70.87 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004275/3.839, allocations: 164 kB / 1.723 GB, free: 70.71 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01435/3.853, allocations: 0.8881 MB / 1.723 GB, free: 69.82 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002555/3.856, allocations: 473.4 kB / 1.724 GB, free: 69.36 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002615/3.858, allocations: 315.8 kB / 1.724 GB, free: 69.05 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.02113/3.88, allocations: 9.371 MB / 1.733 GB, free: 59.72 MB / 0.9637 GB Notification: Performance of sort global known variables: time 1.405e-06/3.88, allocations: 0 / 1.733 GB, free: 59.72 MB / 0.9637 GB Notification: Performance of remove unused functions: time 0.03029/3.91, allocations: 8.093 MB / 1.741 GB, free: 51.66 MB / 0.9637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 30 (tanDyn.vol[1].dynBal.U,tanDyn.vol[2].dynBal.U,tanDyn.vol[3].dynBal.U,tanDyn.vol[4].dynBal.U,tanDyn.vol[5].dynBal.U,tanDyn.vol[6].dynBal.U,tanDyn.vol[7].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.vol[7].dynBal.U,tanDyn.indTanHex.vol[8].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,tanDyn.indTanHex.cap[7].T,tanDyn.indTanHex.cap[8].T,tanSte.vol[1].dynBal.U,tanSte.vol[2].dynBal.U,tanSte.vol[3].dynBal.U,tanSte.vol[4].dynBal.U,tanSte.vol[5].dynBal.U,tanSte.vol[6].dynBal.U,tanSte.vol[7].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,mHex_flow_in.T_start,mHex_flow_in.count) * Number of discrete states: 1 (mHex_flow_in.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (621): * Single equations (assignments): 608 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * 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: 1 {16 144} Notification: Performance of Backend phase and start with SimCode phase: time 0.003131/3.913, allocations: 0.9865 MB / 1.742 GB, free: 50.8 MB / 0.9637 GB Notification: Performance of simCode: created initialization part: time 0.04752/3.961, allocations: 23.25 MB / 1.765 GB, free: 27.5 MB / 0.9637 GB Notification: Performance of simCode: created event and clocks part: time 1.495e-05/3.961, allocations: 9 kB / 1.765 GB, free: 27.5 MB / 0.9637 GB Notification: Performance of simCode: created simulation system equations: time 0.01235/3.973, allocations: 5.942 MB / 1.771 GB, free: 21.53 MB / 0.9637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03302/4.006, allocations: 6.924 MB / 1.777 GB, free: 14.74 MB / 0.9637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.273/5.279, allocations: 37.89 MB / 1.814 GB, free: 311 MB / 0.9794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02303/5.302, allocations: 10.22 MB / 1.824 GB, free: 309.9 MB / 0.9794 GB Notification: Performance of simCode: alias equations: time 0.03417/5.336, allocations: 6.741 MB / 1.831 GB, free: 309.6 MB / 0.9794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005364/5.342, allocations: 0.9479 MB / 1.832 GB, free: 309.6 MB / 0.9794 GB Notification: Performance of SimCode: time 1.995e-06/5.342, allocations: 3.844 kB / 1.832 GB, free: 309.6 MB / 0.9794 GB Notification: Performance of Templates: time 0.5395/5.881, allocations: 278.7 MB / 2.104 GB, free: 69.61 MB / 0.9794 GB