Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadModel(Buildings): time 3.601/3.601, allocations: 403.3 MB / 415.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.387e-05/3.401e-05, allocations: 4 kB / 0.499 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4762/0.4762, allocations: 92.68 MB / 0.5895 GB, free: 14.51 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.167/5.643, allocations: 2.178 GB / 2.767 GB, free: 97.96 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/5.644, allocations: 90.08 kB / 2.767 GB, free: 97.92 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.893/10.54, allocations: 1.003 GB / 3.77 GB, free: 115.7 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.287e-06/10.54, allocations: 0 / 3.77 GB, free: 115.7 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002531/10.54, allocations: 49.73 kB / 3.77 GB, free: 115.7 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.005941/10.54, allocations: 2.138 MB / 3.772 GB, free: 115.1 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/10.54, allocations: 14.97 kB / 3.772 GB, free: 115.1 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00501/10.55, allocations: 0.6124 MB / 3.773 GB, free: 115 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005153/10.55, allocations: 1.58 MB / 3.774 GB, free: 114.6 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/10.55, allocations: 101.1 kB / 3.774 GB, free: 114.6 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000437/10.55, allocations: 130.7 kB / 3.775 GB, free: 114.6 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004334/10.56, allocations: 1.517 MB / 3.776 GB, free: 114.4 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.083e-05/10.56, allocations: 0 / 3.776 GB, free: 114.4 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002318/10.56, allocations: 58.39 kB / 3.776 GB, free: 114.4 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.203e-05/10.56, allocations: 47.47 kB / 3.776 GB, free: 114.4 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003748/10.56, allocations: 1.152 MB / 3.777 GB, free: 114.4 MB / 0.7917 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.01214/10.57, allocations: 6.251 MB / 3.783 GB, free: 111.7 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002205/10.58, allocations: 0.9458 MB / 3.784 GB, free: 111.5 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009376/10.58, allocations: 472.2 kB / 3.785 GB, free: 111.5 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003857/10.58, allocations: 114.8 kB / 3.785 GB, free: 111.4 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001747/10.58, allocations: 0.6801 MB / 3.785 GB, free: 111.2 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=88): time 5.651e-06/10.58, allocations: 3.938 kB / 3.785 GB, free: 111.2 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96): time 0.01182/10.59, allocations: 4.416 MB / 3.79 GB, free: 109.3 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/10.59, allocations: 0.5307 MB / 3.79 GB, free: 108.7 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002344/10.59, allocations: 1.214 MB / 3.792 GB, free: 108.6 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002715/10.59, allocations: 54.62 kB / 3.792 GB, free: 108.5 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007423/10.6, allocations: 0.7907 MB / 3.792 GB, free: 108.3 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003911/10.6, allocations: 332.8 kB / 3.793 GB, free: 108.2 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-05/10.6, allocations: 20.75 kB / 3.793 GB, free: 108.2 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.035e-05/10.6, allocations: 347.2 kB / 3.793 GB, free: 107.9 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008344/10.6, allocations: 393.2 kB / 3.793 GB, free: 107.8 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/10.6, allocations: 0.6987 MB / 3.794 GB, free: 107.5 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009394/10.61, allocations: 1.667 MB / 3.796 GB, free: 107.4 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.589e-06/10.61, allocations: 0 / 3.796 GB, free: 107.4 MB / 0.7917 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005557/10.61, allocations: 1.645 MB / 3.797 GB, free: 107.2 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005208/10.61, allocations: 1.848 MB / 3.799 GB, free: 105.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/10.61, allocations: 7.094 kB / 3.799 GB, free: 105.2 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001426/10.62, allocations: 372.8 kB / 3.799 GB, free: 105.2 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/10.62, allocations: 178.9 kB / 3.8 GB, free: 105.2 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008542/10.63, allocations: 6.716 MB / 3.806 GB, free: 100.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002458/10.63, allocations: 136 kB / 3.806 GB, free: 100.7 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002612/10.63, allocations: 44.02 kB / 3.806 GB, free: 100.7 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/10.63, allocations: 3.875 kB / 3.806 GB, free: 100.7 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004065/10.63, allocations: 1.498 MB / 3.808 GB, free: 100.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/10.63, allocations: 3.438 kB / 3.808 GB, free: 100.5 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/10.63, allocations: 363.8 kB / 3.808 GB, free: 100.5 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/10.63, allocations: 166.7 kB / 3.808 GB, free: 100.5 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009155/10.64, allocations: 7.665 MB / 3.816 GB, free: 95.18 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002129/10.65, allocations: 115.7 kB / 3.816 GB, free: 95.17 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002243/10.65, allocations: 42.91 kB / 3.816 GB, free: 95.17 MB / 0.7917 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: 20 * 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 (99): * Single equations (assignments): 94 * 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.0004646/10.65, allocations: 211.5 kB / 3.816 GB, free: 95.03 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004649/10.65, allocations: 181 kB / 3.816 GB, free: 94.95 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004738/10.65, allocations: 1.312 MB / 3.818 GB, free: 94.82 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/10.65, allocations: 11.03 kB / 3.818 GB, free: 94.82 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.284e-06/10.65, allocations: 0 / 3.818 GB, free: 94.82 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004081/10.66, allocations: 1.17 MB / 3.819 GB, free: 94.59 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008923/10.66, allocations: 3.626 MB / 3.822 GB, free: 93.57 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/10.67, allocations: 7.719 kB / 3.822 GB, free: 93.57 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/10.67, allocations: 177.3 kB / 3.823 GB, free: 93.57 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005404/10.67, allocations: 155.8 kB / 3.823 GB, free: 93.55 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001701/10.67, allocations: 31.53 kB / 3.823 GB, free: 93.55 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005307/10.67, allocations: 3.452 MB / 3.826 GB, free: 90.9 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.643e-06/10.67, allocations: 7.625 kB / 3.826 GB, free: 90.9 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005646/10.68, allocations: 2.246 MB / 3.828 GB, free: 90.17 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001257/10.68, allocations: 371.7 kB / 3.829 GB, free: 89.99 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005655/10.68, allocations: 31.08 kB / 3.829 GB, free: 89.99 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002294/10.68, allocations: 113.3 kB / 3.829 GB, free: 89.99 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002715/10.68, allocations: 73.41 kB / 3.829 GB, free: 89.98 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/10.68, allocations: 39.36 kB / 3.829 GB, free: 89.98 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001963/10.68, allocations: 0.9432 MB / 3.83 GB, free: 89.87 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.179e-06/10.68, allocations: 0 / 3.83 GB, free: 89.87 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.005618/10.69, allocations: 1.03 MB / 3.831 GB, free: 89.86 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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.003954/10.69, allocations: 2.303 MB / 3.833 GB, free: 89.04 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.005402/10.7, allocations: 2.747 MB / 3.836 GB, free: 88.08 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/10.7, allocations: 7.562 kB / 3.836 GB, free: 88.08 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001461/10.7, allocations: 0.8063 MB / 3.837 GB, free: 87.79 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005683/10.71, allocations: 0.8922 MB / 3.837 GB, free: 87.75 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007409/10.71, allocations: 2.638 MB / 3.84 GB, free: 87.01 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/10.72, allocations: 1.436 MB / 3.841 GB, free: 86.28 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.003884/10.72, allocations: 0.5268 MB / 3.842 GB, free: 86.26 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000426/10.72, allocations: 90.14 kB / 3.842 GB, free: 86.25 MB / 0.7917 GB Notification: Performance of SimCode: time 2.992e-06/10.72, allocations: 3.188 kB / 3.842 GB, free: 86.25 MB / 0.7917 GB Notification: Performance of Templates: time 0.137/10.86, allocations: 71.77 MB / 3.912 GB, free: 83.7 MB / 0.7917 GB