Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadModel(Buildings): time 3.579/3.579, allocations: 403.3 MB / 415.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.252e-05/3.257e-05, allocations: 4 kB / 0.499 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5463/0.5464, allocations: 92.68 MB / 0.5895 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9395/1.486, allocations: 422.2 MB / 1.002 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/1.486, allocations: 96.7 kB / 1.002 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.913/6.399, allocations: 1.062 GB / 2.064 GB, free: 110.8 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.965e-06/6.399, allocations: 2.156 kB / 2.064 GB, free: 110.8 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0003013/6.4, allocations: 54.55 kB / 2.064 GB, free: 110.8 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: 319 * Number of variables: 319 Notification: Performance of Generate backend data structure: time 0.00536/6.405, allocations: 2.2 MB / 2.067 GB, free: 109.7 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/6.405, allocations: 11.09 kB / 2.067 GB, free: 109.7 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002124/6.407, allocations: 379 kB / 2.067 GB, free: 109.6 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01441/6.422, allocations: 4.644 MB / 2.072 GB, free: 109.1 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/6.422, allocations: 107.4 kB / 2.072 GB, free: 109.1 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003308/6.422, allocations: 134.6 kB / 2.072 GB, free: 109.1 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003435/6.426, allocations: 1.425 MB / 2.073 GB, free: 108.7 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.629e-05/6.426, allocations: 0 / 2.073 GB, free: 108.7 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001843/6.426, allocations: 63.11 kB / 2.073 GB, free: 108.7 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.976e-05/6.426, allocations: 34.38 kB / 2.073 GB, free: 108.7 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002831/6.429, allocations: 0.9627 MB / 2.074 GB, free: 108.7 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.01106/6.44, allocations: 7.599 MB / 2.082 GB, free: 104.2 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/6.442, allocations: 0.7421 MB / 2.082 GB, free: 104.2 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007752/6.443, allocations: 378.8 kB / 2.083 GB, free: 104.2 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00401/6.447, allocations: 1.952 MB / 2.085 GB, free: 103.1 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001127/6.448, allocations: 469.1 kB / 2.085 GB, free: 103.1 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009472/6.449, allocations: 90.64 kB / 2.085 GB, free: 103 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=73): time 4.038e-06/6.449, allocations: 2.844 kB / 2.085 GB, free: 103 MB / 0.7917 GB Notification: Performance of matching and sorting (n=78): time 0.00655/6.455, allocations: 2.172 MB / 2.087 GB, free: 102.4 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/6.455, allocations: 196.7 kB / 2.087 GB, free: 102.1 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002392/6.458, allocations: 1.289 MB / 2.089 GB, free: 102 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002266/6.458, allocations: 50.11 kB / 2.089 GB, free: 101.9 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008774/6.459, allocations: 0.9139 MB / 2.09 GB, free: 101.6 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.000288/6.459, allocations: 280.4 kB / 2.09 GB, free: 101.4 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.9e-05/6.459, allocations: 22.84 kB / 2.09 GB, free: 101.4 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.414e-05/6.46, allocations: 355.8 kB / 2.09 GB, free: 101.1 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007307/6.46, allocations: 330 kB / 2.091 GB, free: 101.1 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009696/6.461, allocations: 0.7192 MB / 2.091 GB, free: 100.7 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000926/6.462, allocations: 456.8 kB / 2.092 GB, free: 100.6 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/6.462, allocations: 3.875 kB / 2.092 GB, free: 100.6 MB / 0.7917 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002913/6.465, allocations: 1.237 MB / 2.093 GB, free: 100.4 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008161/6.466, allocations: 3.929 MB / 2.097 GB, free: 96.32 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.373e-05/6.466, allocations: 12.44 kB / 2.097 GB, free: 96.32 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001913/6.466, allocations: 44.7 kB / 2.097 GB, free: 96.31 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/6.468, allocations: 273.5 kB / 2.097 GB, free: 96.31 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/6.469, allocations: 1.358 MB / 2.098 GB, free: 95.06 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002169/6.471, allocations: 143.5 kB / 2.099 GB, free: 95.05 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/6.471, allocations: 51.95 kB / 2.099 GB, free: 95.05 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/6.471, allocations: 3.156 kB / 2.099 GB, free: 95.05 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002359/6.474, allocations: 1.054 MB / 2.1 GB, free: 94.99 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-05/6.474, allocations: 11.62 kB / 2.1 GB, free: 94.99 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001468/6.474, allocations: 46.69 kB / 2.1 GB, free: 94.98 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/6.475, allocations: 264 kB / 2.1 GB, free: 94.98 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000974/6.476, allocations: 1.369 MB / 2.101 GB, free: 93.73 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/6.478, allocations: 125.6 kB / 2.101 GB, free: 93.72 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/6.478, allocations: 55.45 kB / 2.101 GB, free: 93.72 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 128 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003638/6.479, allocations: 179 kB / 2.102 GB, free: 93.61 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003146/6.479, allocations: 173.6 kB / 2.102 GB, free: 93.52 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002812/6.482, allocations: 1.121 MB / 2.103 GB, free: 93.42 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.952e-05/6.482, allocations: 11.09 kB / 2.103 GB, free: 93.42 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/6.482, allocations: 2.281 kB / 2.103 GB, free: 93.42 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001665/6.484, allocations: 0.8107 MB / 2.104 GB, free: 93.32 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006295/6.49, allocations: 2.724 MB / 2.106 GB, free: 92.83 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/6.49, allocations: 1.594 kB / 2.106 GB, free: 92.83 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/6.491, allocations: 173.8 kB / 2.107 GB, free: 92.83 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000285/6.491, allocations: 84.92 kB / 2.107 GB, free: 92.81 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-05/6.492, allocations: 32.77 kB / 2.107 GB, free: 92.81 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001221/6.493, allocations: 1.908 MB / 2.108 GB, free: 91.04 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.919e-06/6.493, allocations: 6.75 kB / 2.108 GB, free: 91.04 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00329/6.496, allocations: 1.877 MB / 2.11 GB, free: 90.36 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/6.497, allocations: 362 kB / 2.111 GB, free: 90.17 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003552/6.498, allocations: 22.22 kB / 2.111 GB, free: 90.17 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001936/6.5, allocations: 128.4 kB / 2.111 GB, free: 90.16 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/6.5, allocations: 79.84 kB / 2.111 GB, free: 90.16 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/6.5, allocations: 37.06 kB / 2.111 GB, free: 90.16 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002118/6.502, allocations: 1.065 MB / 2.112 GB, free: 90 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.078e-06/6.502, allocations: 0 / 2.112 GB, free: 90 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.004819/6.507, allocations: 1.003 MB / 2.113 GB, free: 89.91 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (vol.dynBal.U,mov.port_a.h_outflow,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002449/6.51, allocations: 1.161 MB / 2.114 GB, free: 89.6 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.003798/6.513, allocations: 1.891 MB / 2.116 GB, free: 89.17 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 9.382e-06/6.513, allocations: 3.125 kB / 2.116 GB, free: 89.17 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001278/6.515, allocations: 0.5719 MB / 2.116 GB, free: 89.06 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005284/6.52, allocations: 0.9016 MB / 2.117 GB, free: 89.03 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006091/6.526, allocations: 2.585 MB / 2.12 GB, free: 88.24 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001156/6.527, allocations: 1.47 MB / 2.121 GB, free: 87.51 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.003881/6.531, allocations: 0.5778 MB / 2.122 GB, free: 87.48 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004961/6.532, allocations: 131.6 kB / 2.122 GB, free: 87.47 MB / 0.7917 GB Notification: Performance of SimCode: time 1.823e-06/6.532, allocations: 0 / 2.122 GB, free: 87.47 MB / 0.7917 GB Notification: Performance of Templates: time 0.09647/6.628, allocations: 45.82 MB / 2.167 GB, free: 73.59 MB / 0.7917 GB