Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadModel(BuildingSystems): time 2.99/2.99, allocations: 343.8 MB / 355.9 MB, free: 9.371 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.545e-05/3.549e-05, allocations: 4 kB / 436.6 MB, free: 2.477 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1465, allocations: 77.74 MB / 0.5023 GB, free: 4.582 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.48/5.627, allocations: 2.18 GB / 2.683 GB, free: 105 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/5.627, allocations: 87.83 kB / 2.683 GB, free: 104.9 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.743/10.37, allocations: 1.006 GB / 3.689 GB, free: 85.39 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.914e-06/10.37, allocations: 0 / 3.689 GB, free: 85.39 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002206/10.37, allocations: 46.28 kB / 3.689 GB, free: 85.38 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005141/10.37, allocations: 2.064 MB / 3.691 GB, free: 84.35 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/10.38, allocations: 11.53 kB / 3.691 GB, free: 84.35 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00574/10.38, allocations: 0.6167 MB / 3.692 GB, free: 84.24 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00458/10.39, allocations: 1.459 MB / 3.693 GB, free: 83.82 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004589/10.39, allocations: 158.7 kB / 3.693 GB, free: 83.82 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004279/10.39, allocations: 123.7 kB / 3.693 GB, free: 83.82 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003213/10.39, allocations: 1.343 MB / 3.695 GB, free: 83.62 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.532e-05/10.39, allocations: 4.688 kB / 3.695 GB, free: 83.62 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001909/10.39, allocations: 50.69 kB / 3.695 GB, free: 83.62 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.91e-05/10.39, allocations: 46.14 kB / 3.695 GB, free: 83.61 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002672/10.39, allocations: 1.033 MB / 3.696 GB, free: 83.6 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.01123/10.4, allocations: 5.889 MB / 3.702 GB, free: 81.23 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/10.41, allocations: 0.9613 MB / 3.703 GB, free: 81.01 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009465/10.41, allocations: 486.7 kB / 3.703 GB, free: 81 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005741/10.41, allocations: 308.7 kB / 3.703 GB, free: 80.72 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00108/10.41, allocations: 0.5329 MB / 3.704 GB, free: 80.63 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=87): time 4.539e-06/10.41, allocations: 0 / 3.704 GB, free: 80.63 MB / 0.6823 GB Notification: Performance of matching and sorting (n=95): time 0.01006/10.42, allocations: 3.029 MB / 3.707 GB, free: 79.89 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.755e-05/10.42, allocations: 196.3 kB / 3.707 GB, free: 79.67 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003666/10.42, allocations: 1.147 MB / 3.708 GB, free: 79.51 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003505/10.42, allocations: 47.92 kB / 3.708 GB, free: 79.48 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001068/10.42, allocations: 0.7296 MB / 3.709 GB, free: 79.25 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005585/10.42, allocations: 326.3 kB / 3.709 GB, free: 79.04 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/10.42, allocations: 20 kB / 3.709 GB, free: 79.04 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001224/10.42, allocations: 347.8 kB / 3.709 GB, free: 78.73 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001504/10.43, allocations: 379.5 kB / 3.71 GB, free: 78.73 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/10.43, allocations: 0.6118 MB / 3.71 GB, free: 78.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0207/10.45, allocations: 2.334 MB / 3.713 GB, free: 78.32 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/10.45, allocations: 3.094 kB / 3.713 GB, free: 78.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007903/10.46, allocations: 1.588 MB / 3.714 GB, free: 78.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000395/10.46, allocations: 1.302 MB / 3.716 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/10.46, allocations: 2.25 kB / 3.716 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002394/10.46, allocations: 424.2 kB / 3.716 GB, free: 76.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00184/10.46, allocations: 175.5 kB / 3.716 GB, free: 76.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01419/10.48, allocations: 6.844 MB / 3.723 GB, free: 71.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003828/10.48, allocations: 152.4 kB / 3.723 GB, free: 71.39 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003288/10.48, allocations: 41.11 kB / 3.723 GB, free: 71.38 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/10.48, allocations: 3.969 kB / 3.723 GB, free: 71.38 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008141/10.49, allocations: 1.437 MB / 3.724 GB, free: 70.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/10.49, allocations: 3.906 kB / 3.724 GB, free: 70.85 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002209/10.49, allocations: 411.7 kB / 3.725 GB, free: 70.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/10.49, allocations: 170.1 kB / 3.725 GB, free: 70.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01726/10.51, allocations: 7.846 MB / 3.733 GB, free: 64.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003564/10.51, allocations: 152.6 kB / 3.733 GB, free: 64.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002731/10.51, allocations: 40.61 kB / 3.733 GB, free: 64.04 MB / 0.6823 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 81 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 11,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006065/10.51, allocations: 203.6 kB / 3.733 GB, free: 63.86 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007993/10.51, allocations: 169 kB / 3.733 GB, free: 63.78 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008844/10.52, allocations: 1.466 MB / 3.735 GB, free: 63.21 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/10.52, allocations: 7.781 kB / 3.735 GB, free: 63.21 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.092e-06/10.52, allocations: 0 / 3.735 GB, free: 63.21 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006531/10.53, allocations: 1.308 MB / 3.736 GB, free: 62.64 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01614/10.55, allocations: 3.33 MB / 3.739 GB, free: 61.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-05/10.55, allocations: 3.781 kB / 3.739 GB, free: 61.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002396/10.55, allocations: 189.2 kB / 3.739 GB, free: 61.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007195/10.55, allocations: 202.2 kB / 3.74 GB, free: 61 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001876/10.55, allocations: 37.62 kB / 3.74 GB, free: 60.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003064/10.55, allocations: 2.458 MB / 3.742 GB, free: 58.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.117e-06/10.55, allocations: 14.08 kB / 3.742 GB, free: 58.88 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005627/10.56, allocations: 2.397 MB / 3.744 GB, free: 57.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/10.56, allocations: 361.3 kB / 3.745 GB, free: 57.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004009/10.56, allocations: 26.95 kB / 3.745 GB, free: 57.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001911/10.56, allocations: 149.2 kB / 3.745 GB, free: 57.21 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/10.56, allocations: 71.91 kB / 3.745 GB, free: 57.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/10.56, allocations: 38.66 kB / 3.745 GB, free: 57.19 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001732/10.56, allocations: 0.8982 MB / 3.746 GB, free: 56.83 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.56e-07/10.56, allocations: 1.75 kB / 3.746 GB, free: 56.83 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005143/10.57, allocations: 0.9918 MB / 3.747 GB, free: 56.63 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.X[2],heaDyn.vol.dynBal.medium.dT,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004037/10.57, allocations: 2.44 MB / 3.749 GB, free: 55.54 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004825/10.58, allocations: 2.62 MB / 3.752 GB, free: 53.94 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.799e-06/10.58, allocations: 0 / 3.752 GB, free: 53.94 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001342/10.58, allocations: 0.6976 MB / 3.752 GB, free: 53.55 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005244/10.59, allocations: 0.8766 MB / 3.753 GB, free: 52.91 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006585/10.59, allocations: 2.603 MB / 3.756 GB, free: 50.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/10.59, allocations: 1.39 MB / 3.757 GB, free: 49.35 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003021/10.6, allocations: 498.8 kB / 3.758 GB, free: 49 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003228/10.6, allocations: 93.44 kB / 3.758 GB, free: 48.91 MB / 0.6823 GB Notification: Performance of SimCode: time 1.795e-06/10.6, allocations: 0 / 3.758 GB, free: 48.91 MB / 0.6823 GB Notification: Performance of Templates: time 0.5668/11.16, allocations: 70.71 MB / 3.827 GB, free: 105 MB / 0.698 GB