Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadModel(Buildings): time 3.427/3.427, allocations: 403.3 MB / 415.4 MB, free: 12.93 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.991e-05/2.998e-05, allocations: 4 kB / 0.499 GB, free: 13.43 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4669/0.4669, allocations: 92.7 MB / 0.5896 GB, free: 14.47 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.896/1.363, allocations: 399.8 MB / 0.98 GB, free: 8.965 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/1.363, allocations: 92.42 kB / 0.9801 GB, free: 8.922 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 10.47/11.83, allocations: 2.258 GB / 3.238 GB, free: 95.69 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.042e-06/11.83, allocations: 3.094 kB / 3.238 GB, free: 95.69 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.001491/11.83, allocations: 259.2 kB / 3.238 GB, free: 95.64 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1426 * Number of variables: 1426 Notification: Performance of Generate backend data structure: time 0.02928/11.86, allocations: 7.218 MB / 3.245 GB, free: 93.05 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/11.86, allocations: 7.531 kB / 3.245 GB, free: 93.05 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009612/11.87, allocations: 1.259 MB / 3.246 GB, free: 92.55 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04125/11.91, allocations: 13.74 MB / 3.26 GB, free: 91.16 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005916/11.91, allocations: 437.5 kB / 3.26 GB, free: 91.15 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002979/11.91, allocations: 0.5874 MB / 3.261 GB, free: 91.14 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03904/11.95, allocations: 14.1 MB / 3.275 GB, free: 90.16 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003078/11.95, allocations: 31.2 kB / 3.275 GB, free: 90.15 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00262/11.96, allocations: 247 kB / 3.275 GB, free: 90.15 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001103/11.96, allocations: 144.6 kB / 3.275 GB, free: 90.15 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04246/12, allocations: 18.54 MB / 3.293 GB, free: 90.13 MB / 0.8073 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.1094/12.11, allocations: 57.26 MB / 3.349 GB, free: 69.63 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02227/12.13, allocations: 9.705 MB / 3.358 GB, free: 69.48 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01655/12.15, allocations: 9.458 MB / 3.368 GB, free: 68.57 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04659/12.19, allocations: 25.15 MB / 3.392 GB, free: 55.41 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02171/12.22, allocations: 8.845 MB / 3.401 GB, free: 52.57 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05923/12.28, allocations: 20.66 MB / 3.421 GB, free: 42.56 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=362): time 2.847e-05/12.28, allocations: 0 / 3.421 GB, free: 42.56 MB / 0.8073 GB Notification: Performance of matching and sorting (n=462): time 0.8613/13.14, allocations: 177.5 MB / 3.594 GB, free: 107.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/13.14, allocations: 232.5 kB / 3.595 GB, free: 107.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0146/13.15, allocations: 6.99 MB / 3.602 GB, free: 105.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.00225/13.15, allocations: 129.2 kB / 3.602 GB, free: 105 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.004533/13.16, allocations: 3.876 MB / 3.605 GB, free: 102.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.003478/13.16, allocations: 1.621 MB / 3.607 GB, free: 101.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001335/13.16, allocations: 108.8 kB / 3.607 GB, free: 101.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003621/13.16, allocations: 0.5301 MB / 3.608 GB, free: 100.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01436/13.18, allocations: 7.276 MB / 3.615 GB, free: 98.04 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01552/13.19, allocations: 9.042 MB / 3.624 GB, free: 93.11 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01643/13.21, allocations: 8.309 MB / 3.632 GB, free: 90.14 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-05/13.21, allocations: 15.78 kB / 3.632 GB, free: 90.14 MB / 0.823 GB Notification: Performance of matching and sorting (n=706) (initialization): time 0.05569/13.27, allocations: 19.7 MB / 3.651 GB, free: 83.66 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.004458/13.27, allocations: 23.57 MB / 3.674 GB, free: 58.63 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001176/13.27, allocations: 44.47 kB / 3.674 GB, free: 58.63 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08358/13.35, allocations: 11.34 MB / 3.685 GB, free: 58.22 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01402/13.37, allocations: 1.966 MB / 3.687 GB, free: 58.18 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01835/13.39, allocations: 8.066 MB / 3.695 GB, free: 53.78 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01469/13.4, allocations: 0.5867 MB / 3.695 GB, free: 53.65 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003023/13.4, allocations: 0.5882 MB / 3.696 GB, free: 53.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/13.4, allocations: 3.5 kB / 3.696 GB, free: 53.6 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04211/13.45, allocations: 18.01 MB / 3.714 GB, free: 47.48 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001374/13.45, allocations: 46.55 kB / 3.714 GB, free: 47.48 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07431/13.52, allocations: 10.82 MB / 3.724 GB, free: 40.02 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01263/13.53, allocations: 1.951 MB / 3.726 GB, free: 38.76 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0156/13.55, allocations: 11.1 MB / 3.737 GB, free: 28.75 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01264/13.56, allocations: 0.5291 MB / 3.737 GB, free: 28.34 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002882/13.56, allocations: 0.5676 MB / 3.738 GB, free: 28 MB / 0.823 GB Warning: Assuming fixed start value for the following 1 variables: pump.vol.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.0001004433569776996 * pump.vol.rho_start unit = "kg" stateSelect=StateSelect.prefer protected = true ) "Mass of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 201 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (656): * Single equations (assignments): 649 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * 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: 4 {1 3,1 3,1 1,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.004029/13.57, allocations: 469.6 kB / 3.738 GB, free: 27.65 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003633/13.57, allocations: 0.7786 MB / 3.739 GB, free: 26.86 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05191/13.62, allocations: 18.21 MB / 3.757 GB, free: 12.46 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000112/13.62, allocations: 62.67 kB / 3.757 GB, free: 12.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.926e-05/13.62, allocations: 0 / 3.757 GB, free: 12.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03428/13.66, allocations: 12.92 MB / 3.77 GB, free: 1.07 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6142/14.27, allocations: 29.13 MB / 3.798 GB, free: 123.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.19e-05/14.27, allocations: 6.5 kB / 3.798 GB, free: 123.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008087/14.28, allocations: 1.008 MB / 3.799 GB, free: 123.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07795/14.36, allocations: 10.2 MB / 3.809 GB, free: 123.3 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001461/14.36, allocations: 180.1 kB / 3.809 GB, free: 123.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04211/14.4, allocations: 12.72 MB / 3.822 GB, free: 118.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.457e-05/14.4, allocations: 17.56 kB / 3.822 GB, free: 118.3 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05281/14.46, allocations: 24.28 MB / 3.845 GB, free: 115.1 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007887/14.46, allocations: 2.19 MB / 3.848 GB, free: 115 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003465/14.47, allocations: 142.2 kB / 3.848 GB, free: 115 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01075/14.48, allocations: 494.5 kB / 3.848 GB, free: 115 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001891/14.48, allocations: 388.4 kB / 3.849 GB, free: 115 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001369/14.48, allocations: 230.5 kB / 3.849 GB, free: 115 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.01194/14.49, allocations: 5.443 MB / 3.854 GB, free: 114.7 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.161e-06/14.49, allocations: 2 kB / 3.854 GB, free: 114.7 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.02488/14.52, allocations: 4.624 MB / 3.859 GB, free: 114.7 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 23 (pump.vol.dynBal.U,pump.vol.dynBal.m,hea.outCon.T,vol[1].dynBal.medium.T,vol[2].dynBal.medium.T,vol[3].dynBal.medium.T,vol[4].dynBal.medium.T,vol[5].dynBal.medium.T,vol[6].dynBal.medium.T,vol[7].dynBal.medium.T,vol[8].dynBal.medium.T,vol[9].dynBal.medium.T,vol[10].dynBal.medium.T,vol[11].dynBal.medium.T,vol[12].dynBal.medium.T,vol[13].dynBal.medium.T,vol[14].dynBal.medium.T,vol[15].dynBal.medium.T,vol[16].dynBal.medium.T,vol[17].dynBal.medium.T,vol[18].dynBal.medium.T,vol[19].dynBal.medium.T,vol[20].dynBal.medium.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (508): * Single equations (assignments): 478 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 23 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * 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: 4 {1 3,20 21,1 3,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0038/14.52, allocations: 1.363 MB / 3.86 GB, free: 114.5 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.05712/14.58, allocations: 26.55 MB / 3.886 GB, free: 113.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.829e-05/14.58, allocations: 6.812 kB / 3.886 GB, free: 113.7 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.01953/14.6, allocations: 7.831 MB / 3.894 GB, free: 113.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02747/14.63, allocations: 4.795 MB / 3.898 GB, free: 113.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04592/14.67, allocations: 19.7 MB / 3.917 GB, free: 109.5 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008694/14.68, allocations: 5.659 MB / 3.923 GB, free: 108.5 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.03951/14.72, allocations: 8.774 MB / 3.932 GB, free: 107.3 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006805/14.73, allocations: 0.8428 MB / 3.932 GB, free: 107.3 MB / 0.8386 GB Notification: Performance of SimCode: time 2.209e-06/14.73, allocations: 0 / 3.932 GB, free: 107.3 MB / 0.8386 GB Notification: Performance of Templates: time 1.026/15.75, allocations: 254.8 MB / 4.181 GB, free: 133.7 MB / 0.8542 GB