Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadModel(Buildings): time 3.742/3.742, allocations: 432.8 MB / 444.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.328e-05/3.365e-05, allocations: 5.312 kB / 0.5337 GB, free: 12.19 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1728, allocations: 98.72 MB / 0.6301 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.371/5.544, allocations: 2.2 GB / 2.83 GB, free: 193.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/5.544, allocations: 89.5 kB / 2.83 GB, free: 193.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.404/9.948, allocations: 1.006 GB / 3.836 GB, free: 93.91 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.142e-06/9.948, allocations: 0 / 3.836 GB, free: 93.91 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002132/9.948, allocations: 47.98 kB / 3.836 GB, free: 93.86 MB / 0.823 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.00499/9.953, allocations: 2.065 MB / 3.838 GB, free: 91.73 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/9.953, allocations: 8.031 kB / 3.838 GB, free: 91.72 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004893/9.958, allocations: 0.6142 MB / 3.839 GB, free: 91.11 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00429/9.962, allocations: 1.449 MB / 3.84 GB, free: 89.61 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004328/9.963, allocations: 162.2 kB / 3.841 GB, free: 89.45 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004067/9.963, allocations: 127.9 kB / 3.841 GB, free: 89.32 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003085/9.966, allocations: 1.336 MB / 3.842 GB, free: 87.91 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.519e-05/9.966, allocations: 0 / 3.842 GB, free: 87.91 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/9.967, allocations: 48 kB / 3.842 GB, free: 87.87 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.328e-05/9.967, allocations: 50.17 kB / 3.842 GB, free: 87.82 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002555/9.969, allocations: 1.031 MB / 3.843 GB, free: 86.78 MB / 0.823 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.01093/9.98, allocations: 5.892 MB / 3.849 GB, free: 80.59 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/9.982, allocations: 0.9668 MB / 3.85 GB, free: 79.58 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008768/9.983, allocations: 479.6 kB / 3.85 GB, free: 79.11 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005826/9.984, allocations: 308 kB / 3.851 GB, free: 78.76 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/9.985, allocations: 0.5248 MB / 3.851 GB, free: 78.21 MB / 0.823 GB Notification: Performance of pre-optimization done (n=87): time 4.439e-06/9.985, allocations: 0 / 3.851 GB, free: 78.21 MB / 0.823 GB Notification: Performance of matching and sorting (n=95): time 0.00871/9.993, allocations: 2.968 MB / 3.854 GB, free: 75.16 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/9.993, allocations: 200.7 kB / 3.854 GB, free: 74.93 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002174/9.996, allocations: 1.146 MB / 3.855 GB, free: 73.77 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002552/9.996, allocations: 45.7 kB / 3.855 GB, free: 73.72 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006587/9.997, allocations: 0.7255 MB / 3.856 GB, free: 72.99 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003904/9.997, allocations: 334.5 kB / 3.856 GB, free: 72.66 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.867e-05/9.997, allocations: 16 kB / 3.856 GB, free: 72.64 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.226e-05/9.997, allocations: 341.9 kB / 3.857 GB, free: 72.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007942/9.998, allocations: 373.9 kB / 3.857 GB, free: 71.94 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009691/9.999, allocations: 0.6029 MB / 3.858 GB, free: 71.25 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01221/10.01, allocations: 2.334 MB / 3.86 GB, free: 68.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/10.01, allocations: 0 / 3.86 GB, free: 68.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004435/10.02, allocations: 1.557 MB / 3.861 GB, free: 67.32 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000293/10.02, allocations: 1.3 MB / 3.863 GB, free: 65.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/10.02, allocations: 4 kB / 3.863 GB, free: 65.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/10.02, allocations: 410.9 kB / 3.863 GB, free: 65.49 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009928/10.02, allocations: 171.8 kB / 3.863 GB, free: 65.32 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008637/10.03, allocations: 6.953 MB / 3.87 GB, free: 57.96 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002054/10.03, allocations: 147.7 kB / 3.87 GB, free: 57.81 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001942/10.03, allocations: 39.98 kB / 3.87 GB, free: 57.77 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/10.03, allocations: 7.953 kB / 3.87 GB, free: 57.77 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003884/10.03, allocations: 1.378 MB / 3.872 GB, free: 56.37 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/10.03, allocations: 4 kB / 3.872 GB, free: 56.36 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/10.03, allocations: 411.4 kB / 3.872 GB, free: 55.96 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008937/10.04, allocations: 155.8 kB / 3.872 GB, free: 55.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009644/10.05, allocations: 7.968 MB / 3.88 GB, free: 47.29 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/10.05, allocations: 139.7 kB / 3.88 GB, free: 47.16 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/10.05, allocations: 32 kB / 3.88 GB, free: 47.12 MB / 0.823 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 (85): * Single equations (assignments): 80 * 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.0003755/10.05, allocations: 204.2 kB / 3.88 GB, free: 46.91 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003074/10.05, allocations: 166 kB / 3.88 GB, free: 46.75 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003967/10.05, allocations: 1.41 MB / 3.882 GB, free: 45.31 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/10.05, allocations: 12 kB / 3.882 GB, free: 45.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.694e-06/10.05, allocations: 0 / 3.882 GB, free: 45.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003355/10.06, allocations: 1.264 MB / 3.883 GB, free: 43.99 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007549/10.06, allocations: 3.274 MB / 3.886 GB, free: 40.59 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/10.06, allocations: 7.953 kB / 3.886 GB, free: 40.58 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/10.06, allocations: 192.2 kB / 3.886 GB, free: 40.39 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006145/10.06, allocations: 209.3 kB / 3.887 GB, free: 40.19 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/10.07, allocations: 31.98 kB / 3.887 GB, free: 40.16 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002936/10.07, allocations: 2.465 MB / 3.889 GB, free: 37.53 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.276e-06/10.07, allocations: 4 kB / 3.889 GB, free: 37.53 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004926/10.07, allocations: 2.347 MB / 3.891 GB, free: 34.99 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/10.07, allocations: 363 kB / 3.892 GB, free: 34.62 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003756/10.07, allocations: 32 kB / 3.892 GB, free: 34.59 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001736/10.08, allocations: 135.8 kB / 3.892 GB, free: 34.45 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/10.08, allocations: 72.59 kB / 3.892 GB, free: 34.38 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/10.08, allocations: 39.97 kB / 3.892 GB, free: 34.34 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001597/10.08, allocations: 0.8976 MB / 3.893 GB, free: 33.45 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.9e-07/10.08, allocations: 0 / 3.893 GB, free: 33.45 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004503/10.08, allocations: 1.004 MB / 3.894 GB, free: 32.45 MB / 0.823 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 (81): * Single equations (assignments): 78 * 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.003681/10.09, allocations: 2.434 MB / 3.896 GB, free: 29.92 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.005681/10.09, allocations: 2.783 MB / 3.899 GB, free: 27.04 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.984e-06/10.09, allocations: 4.062 kB / 3.899 GB, free: 27.04 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001255/10.09, allocations: 0.6989 MB / 3.9 GB, free: 26.32 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004928/10.1, allocations: 0.8611 MB / 3.901 GB, free: 25.48 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006247/10.1, allocations: 2.598 MB / 3.903 GB, free: 22.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/10.11, allocations: 1.394 MB / 3.904 GB, free: 21.38 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002989/10.11, allocations: 488.8 kB / 3.905 GB, free: 20.89 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003344/10.11, allocations: 87.42 kB / 3.905 GB, free: 20.81 MB / 0.823 GB Notification: Performance of SimCode: time 1.909e-06/10.11, allocations: 3.938 kB / 3.905 GB, free: 20.8 MB / 0.823 GB Notification: Performance of Templates: time 0.6564/10.77, allocations: 70.41 MB / 3.974 GB, free: 154.9 MB / 0.8542 GB