Running command: translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadModel(Buildings): time 3.662/3.662, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.737e-05/6.744e-05, allocations: 11.88 kB / 0.499 GB, free: 13.45 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4906/0.4907, allocations: 92.69 MB / 0.5896 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8839/1.375, allocations: 385.2 MB / 0.9657 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/1.375, allocations: 88.08 kB / 0.9658 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 11.76/13.13, allocations: 2.573 GB / 3.539 GB, free: 5.793 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.072e-06/13.13, allocations: 0 / 3.539 GB, free: 5.793 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000848/13.13, allocations: 167.9 kB / 3.539 GB, free: 5.629 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1057 * Number of variables: 1057 Notification: Performance of Generate backend data structure: time 0.01474/13.15, allocations: 5.907 MB / 3.545 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/13.15, allocations: 9.672 kB / 3.545 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0042/13.15, allocations: 0.7803 MB / 3.546 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8385/13.99, allocations: 57.23 MB / 3.601 GB, free: 45.14 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003383/13.99, allocations: 322.9 kB / 3.602 GB, free: 45.13 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001106/13.99, allocations: 433.4 kB / 3.602 GB, free: 45.13 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01447/14.01, allocations: 4.656 MB / 3.607 GB, free: 44.21 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001379/14.01, allocations: 18.28 kB / 3.607 GB, free: 44.21 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005185/14.01, allocations: 177.2 kB / 3.607 GB, free: 44.21 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001418/14.01, allocations: 126.5 kB / 3.607 GB, free: 44.21 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01319/14.02, allocations: 3.168 MB / 3.61 GB, free: 44.19 MB / 0.9167 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.03192/14.05, allocations: 24.66 MB / 3.634 GB, free: 28.51 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009176/14.06, allocations: 3.135 MB / 3.637 GB, free: 28.04 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002591/14.07, allocations: 1.245 MB / 3.638 GB, free: 28 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002454/14.07, allocations: 3.612 MB / 3.642 GB, free: 23.96 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.156e-05/14.07, allocations: 64.17 kB / 3.642 GB, free: 23.93 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=244): time 6.638e-06/14.07, allocations: 0 / 3.642 GB, free: 23.93 MB / 0.9167 GB Notification: Performance of matching and sorting (n=260): time 0.04287/14.11, allocations: 9.946 MB / 3.652 GB, free: 21.13 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/14.11, allocations: 137.3 kB / 3.652 GB, free: 21 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007728/14.12, allocations: 3.446 MB / 3.655 GB, free: 20.68 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.000561/14.12, allocations: 80.11 kB / 3.655 GB, free: 20.65 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002412/14.12, allocations: 2.774 MB / 3.658 GB, free: 19.81 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001177/14.12, allocations: 0.9044 MB / 3.659 GB, free: 19.22 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002604/14.12, allocations: 62.84 kB / 3.659 GB, free: 19.22 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001858/14.12, allocations: 419 kB / 3.659 GB, free: 18.91 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002294/14.13, allocations: 0.9218 MB / 3.66 GB, free: 18.9 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00295/14.13, allocations: 1.902 MB / 3.662 GB, free: 17.75 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002938/14.13, allocations: 1.232 MB / 3.663 GB, free: 17.68 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.856e-05/14.13, allocations: 9.531 kB / 3.663 GB, free: 17.68 MB / 0.9167 GB Notification: Performance of matching and sorting (n=370) (initialization): time 0.01901/14.15, allocations: 4.282 MB / 3.668 GB, free: 17.24 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.004552/14.16, allocations: 10.58 MB / 3.678 GB, free: 22.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.068e-05/14.16, allocations: 25.39 kB / 3.678 GB, free: 22.27 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001575/14.16, allocations: 495.7 kB / 3.678 GB, free: 22.22 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003507/14.16, allocations: 0.6676 MB / 3.679 GB, free: 22.22 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005139/14.17, allocations: 5.003 MB / 3.684 GB, free: 17.93 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006933/14.17, allocations: 0.503 MB / 3.684 GB, free: 17.89 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007571/14.17, allocations: 144.6 kB / 3.685 GB, free: 17.89 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/14.17, allocations: 3.75 kB / 3.685 GB, free: 17.89 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007299/14.18, allocations: 2.913 MB / 3.687 GB, free: 17.74 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.229e-05/14.18, allocations: 24.38 kB / 3.687 GB, free: 17.74 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/14.18, allocations: 358.6 kB / 3.688 GB, free: 17.69 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003723/14.19, allocations: 0.665 MB / 3.688 GB, free: 17.69 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01382/14.2, allocations: 11.04 MB / 3.699 GB, free: 24.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006313/14.21, allocations: 458.8 kB / 3.7 GB, free: 24.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006689/14.21, allocations: 138.9 kB / 3.7 GB, free: 24.34 MB / 0.948 GB Warning: Assuming fixed start value for the following 2 variables: hea8.vol.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.01506650354665494 * hea8.vol.rho_start unit = "kg" stateSelect=StateSelect.prefer protected = true final = true ) "Mass of fluid" type: Real hea4.vol.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.01506650354665494 * hea4.vol.rho_start unit = "kg" stateSelect=StateSelect.prefer protected = true final = true ) "Mass of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (332): * Single equations (assignments): 324 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 7,1 3,1 7,1 3,1 9,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.001026/14.21, allocations: 308.6 kB / 3.7 GB, free: 24.22 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001511/14.21, allocations: 0.5081 MB / 3.701 GB, free: 23.95 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02041/14.23, allocations: 5.06 MB / 3.705 GB, free: 23.63 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001233/14.23, allocations: 44.09 kB / 3.706 GB, free: 23.63 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/14.23, allocations: 3.219 kB / 3.706 GB, free: 23.63 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01731/14.25, allocations: 3.791 MB / 3.709 GB, free: 23.4 MB / 0.948 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 postOpt removeSimpleEquations (simulation): time 0.03373/14.28, allocations: 10.38 MB / 3.719 GB, free: 21.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.98e-05/14.28, allocations: 4.641 kB / 3.719 GB, free: 21.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002786/14.28, allocations: 453.7 kB / 3.72 GB, free: 21.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001379/14.29, allocations: 461.8 kB / 3.72 GB, free: 21.54 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004707/14.29, allocations: 90.34 kB / 3.72 GB, free: 21.54 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0252/14.31, allocations: 12.25 MB / 3.732 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.172e-06/14.31, allocations: 9.219 kB / 3.732 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02281/14.33, allocations: 6.716 MB / 3.739 GB, free: 10.63 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003779/14.34, allocations: 0.9495 MB / 3.74 GB, free: 10.25 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001716/14.34, allocations: 64.94 kB / 3.74 GB, free: 10.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006388/14.35, allocations: 488.8 kB / 3.74 GB, free: 10.21 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007995/14.35, allocations: 225.7 kB / 3.741 GB, free: 10.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004137/14.35, allocations: 123.8 kB / 3.741 GB, free: 10.21 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006679/14.35, allocations: 2.615 MB / 3.743 GB, free: 10 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.129e-06/14.35, allocations: 2.062 kB / 3.743 GB, free: 10 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01905/14.37, allocations: 3.209 MB / 3.746 GB, free: 9.945 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 12 (hea1.vol.ports[1].h_outflow,hea2.vol.ports[1].h_outflow,hea3.vol.ports[1].h_outflow,hea4.vol.dynBal.U,hea4.vol.dynBal.m,mix1.ports[2].h_outflow,hea5.vol.ports[1].h_outflow,hea6.vol.ports[1].h_outflow,hea7.vol.ports[1].h_outflow,hea8.vol.dynBal.U,hea8.vol.dynBal.m,mix2.ports[2].h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (280): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 40 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 7,1 5,1 3,1 1,1 7,1 5,1 3,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007215/14.38, allocations: 3.453 MB / 3.75 GB, free: 8.527 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01234/14.39, allocations: 5.209 MB / 3.755 GB, free: 7.773 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/14.39, allocations: 3.094 kB / 3.755 GB, free: 7.773 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004499/14.4, allocations: 2.262 MB / 3.757 GB, free: 7.133 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01618/14.41, allocations: 2.775 MB / 3.76 GB, free: 7.082 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01974/14.43, allocations: 7.908 MB / 3.767 GB, free: 4.805 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004752/14.44, allocations: 3.064 MB / 3.77 GB, free: 3.918 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01161/14.45, allocations: 1.553 MB / 3.772 GB, free: 3.66 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/14.45, allocations: 343.1 kB / 3.772 GB, free: 3.656 MB / 0.948 GB Notification: Performance of SimCode: time 1.767e-06/14.45, allocations: 4 kB / 3.772 GB, free: 3.652 MB / 0.948 GB Notification: Performance of Templates: time 0.3013/14.75, allocations: 142.9 MB / 3.912 GB, free: 9.551 MB / 0.9792 GB