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.496/3.496, allocations: 403.3 MB / 415.4 MB, free: 12.95 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.324e-05/3.34e-05, allocations: 4 kB / 0.499 GB, free: 13.43 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4996/0.4997, allocations: 92.7 MB / 0.5895 GB, free: 14.45 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8753/1.375, allocations: 385.1 MB / 0.9657 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/1.375, allocations: 90.02 kB / 0.9657 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 11.78/13.15, allocations: 2.573 GB / 3.539 GB, free: 5.512 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.296e-06/13.15, allocations: 4 kB / 3.539 GB, free: 5.508 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0008208/13.15, allocations: 171.9 kB / 3.539 GB, free: 5.34 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.01418/13.17, allocations: 5.904 MB / 3.545 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/13.17, allocations: 12.03 kB / 3.545 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003816/13.17, allocations: 0.7803 MB / 3.546 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8483/14.02, allocations: 57.23 MB / 3.601 GB, free: 44.09 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003312/14.02, allocations: 325.4 kB / 3.602 GB, free: 44.07 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009831/14.02, allocations: 435.9 kB / 3.602 GB, free: 44.07 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01525/14.04, allocations: 4.7 MB / 3.607 GB, free: 43.13 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001453/14.04, allocations: 22.81 kB / 3.607 GB, free: 43.13 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000541/14.04, allocations: 174.8 kB / 3.607 GB, free: 43.13 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001409/14.04, allocations: 128.1 kB / 3.607 GB, free: 43.13 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0131/14.05, allocations: 3.246 MB / 3.61 GB, free: 43.09 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.03182/14.08, allocations: 24.66 MB / 3.634 GB, free: 27.41 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009476/14.09, allocations: 3.166 MB / 3.637 GB, free: 26.93 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002632/14.09, allocations: 1.244 MB / 3.639 GB, free: 26.89 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002755/14.1, allocations: 3.611 MB / 3.642 GB, free: 22.86 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.477e-05/14.1, allocations: 65.88 kB / 3.642 GB, free: 22.82 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=244): time 6.477e-06/14.1, allocations: 0.5625 kB / 3.642 GB, free: 22.82 MB / 0.9167 GB Notification: Performance of matching and sorting (n=260): time 0.04456/14.14, allocations: 9.948 MB / 3.652 GB, free: 20.02 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/14.14, allocations: 135.2 kB / 3.652 GB, free: 19.89 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007562/14.15, allocations: 3.447 MB / 3.655 GB, free: 19.58 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005781/14.15, allocations: 80.27 kB / 3.655 GB, free: 19.55 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002376/14.15, allocations: 2.779 MB / 3.658 GB, free: 18.71 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001121/14.15, allocations: 0.9007 MB / 3.659 GB, free: 18.12 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/14.15, allocations: 58.97 kB / 3.659 GB, free: 18.12 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001801/14.15, allocations: 421.8 kB / 3.66 GB, free: 17.81 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002197/14.16, allocations: 0.9186 MB / 3.66 GB, free: 17.8 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002899/14.16, allocations: 1.926 MB / 3.662 GB, free: 16.64 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002818/14.16, allocations: 1.232 MB / 3.664 GB, free: 16.57 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.837e-05/14.16, allocations: 5.469 kB / 3.664 GB, free: 16.57 MB / 0.9167 GB Notification: Performance of matching and sorting (n=370) (initialization): time 0.0196/14.18, allocations: 4.338 MB / 3.668 GB, free: 16.13 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.004649/14.19, allocations: 10.58 MB / 3.678 GB, free: 21.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.579e-05/14.19, allocations: 23.88 kB / 3.678 GB, free: 21.16 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001481/14.19, allocations: 0.4916 MB / 3.679 GB, free: 21.11 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003668/14.19, allocations: 0.6685 MB / 3.679 GB, free: 21.11 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00501/14.2, allocations: 5 MB / 3.684 GB, free: 16.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007148/14.2, allocations: 0.5045 MB / 3.685 GB, free: 16.79 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007177/14.2, allocations: 148.3 kB / 3.685 GB, free: 16.79 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/14.2, allocations: 5.531 kB / 3.685 GB, free: 16.79 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007404/14.21, allocations: 2.976 MB / 3.688 GB, free: 16.63 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.236e-05/14.21, allocations: 23.97 kB / 3.688 GB, free: 16.63 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/14.21, allocations: 351.1 kB / 3.688 GB, free: 16.58 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003646/14.22, allocations: 0.6695 MB / 3.689 GB, free: 16.58 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01353/14.23, allocations: 11.05 MB / 3.699 GB, free: 23.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006024/14.24, allocations: 463.2 kB / 3.7 GB, free: 23.25 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006334/14.24, allocations: 141.2 kB / 3.7 GB, free: 23.25 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.001015/14.24, allocations: 301.1 kB / 3.7 GB, free: 23.12 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001459/14.24, allocations: 0.5111 MB / 3.701 GB, free: 22.86 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01963/14.26, allocations: 5.063 MB / 3.706 GB, free: 22.54 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001233/14.26, allocations: 44.84 kB / 3.706 GB, free: 22.54 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/14.26, allocations: 4.312 kB / 3.706 GB, free: 22.54 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01745/14.28, allocations: 3.791 MB / 3.71 GB, free: 22.3 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.0345/14.31, allocations: 10.39 MB / 3.72 GB, free: 20.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.266e-05/14.31, allocations: 5.312 kB / 3.72 GB, free: 20.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002672/14.31, allocations: 452.4 kB / 3.72 GB, free: 20.51 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001347/14.32, allocations: 458.8 kB / 3.721 GB, free: 20.45 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004391/14.32, allocations: 91.22 kB / 3.721 GB, free: 20.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02495/14.34, allocations: 12.25 MB / 3.733 GB, free: 11.15 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.118e-06/14.34, allocations: 6.469 kB / 3.733 GB, free: 11.15 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02207/14.36, allocations: 6.718 MB / 3.739 GB, free: 9.547 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0039/14.37, allocations: 0.9469 MB / 3.74 GB, free: 9.16 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001744/14.37, allocations: 65.64 kB / 3.74 GB, free: 9.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006632/14.38, allocations: 491 kB / 3.741 GB, free: 9.125 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008129/14.38, allocations: 231.6 kB / 3.741 GB, free: 9.117 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004002/14.38, allocations: 117.3 kB / 3.741 GB, free: 9.117 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006903/14.38, allocations: 2.613 MB / 3.744 GB, free: 8.914 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.52e-07/14.38, allocations: 5.469 kB / 3.744 GB, free: 8.914 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01868/14.4, allocations: 3.201 MB / 3.747 GB, free: 8.859 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.006953/14.41, allocations: 3.374 MB / 3.75 GB, free: 7.547 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01198/14.42, allocations: 5.349 MB / 3.755 GB, free: 6.723 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/14.42, allocations: 1.938 kB / 3.755 GB, free: 6.723 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004476/14.43, allocations: 2.314 MB / 3.757 GB, free: 6.027 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01639/14.44, allocations: 2.774 MB / 3.76 GB, free: 5.957 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01847/14.46, allocations: 7.93 MB / 3.768 GB, free: 3.656 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003684/14.46, allocations: 3.068 MB / 3.771 GB, free: 18.77 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.01069/14.48, allocations: 1.55 MB / 3.772 GB, free: 18.51 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/14.48, allocations: 343.2 kB / 3.773 GB, free: 18.5 MB / 0.9636 GB Notification: Performance of SimCode: time 2.194e-06/14.48, allocations: 0 / 3.773 GB, free: 18.5 MB / 0.9636 GB Notification: Performance of Templates: time 0.2995/14.78, allocations: 142.8 MB / 3.912 GB, free: 7.746 MB / 0.9792 GB