Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.746/3.746, allocations: 403.3 MB / 415.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.274e-05/3.289e-05, allocations: 8 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5989/0.599, allocations: 92.69 MB / 0.5896 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.14/1.739, allocations: 399.8 MB / 0.98 GB, free: 5.156 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/1.739, allocations: 90.52 kB / 0.9801 GB, free: 5.113 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 12.19/13.93, allocations: 2.258 GB / 3.238 GB, free: 111 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.276e-06/13.93, allocations: 0 / 3.238 GB, free: 111 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.002342/13.93, allocations: 259.5 kB / 3.238 GB, free: 110.9 MB / 0.823 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.041/13.97, allocations: 7.218 MB / 3.245 GB, free: 108.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.619e-05/13.97, allocations: 10.53 kB / 3.245 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005606/13.98, allocations: 0.7582 MB / 3.246 GB, free: 108.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01719/14, allocations: 1.258 MB / 3.247 GB, free: 107.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07699/14.07, allocations: 13.74 MB / 3.261 GB, free: 106.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001033/14.07, allocations: 443.5 kB / 3.261 GB, free: 106.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005577/14.08, allocations: 0.5889 MB / 3.262 GB, free: 106.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06847/14.15, allocations: 14.16 MB / 3.276 GB, free: 105.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005699/14.15, allocations: 25.5 kB / 3.276 GB, free: 105.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004798/14.15, allocations: 245.7 kB / 3.276 GB, free: 105.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000218/14.15, allocations: 142.5 kB / 3.276 GB, free: 105.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05144/14.21, allocations: 18.65 MB / 3.294 GB, free: 105.4 MB / 0.823 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.1481/14.35, allocations: 57.25 MB / 3.35 GB, free: 84.91 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02667/14.38, allocations: 9.741 MB / 3.36 GB, free: 84.75 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01964/14.4, allocations: 9.462 MB / 3.369 GB, free: 84.48 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07894/14.48, allocations: 25.14 MB / 3.393 GB, free: 75.93 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02619/14.51, allocations: 8.859 MB / 3.402 GB, free: 73.08 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.09237/14.6, allocations: 20.66 MB / 3.422 GB, free: 70.31 MB / 0.823 GB Notification: Performance of pre-optimization done (n=362): time 3.538e-05/14.6, allocations: 0 / 3.422 GB, free: 70.31 MB / 0.823 GB Notification: Performance of matching and sorting (n=462): time 1.098/15.7, allocations: 177.6 MB / 3.596 GB, free: 116.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/15.7, allocations: 236.6 kB / 3.596 GB, free: 116.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01872/15.71, allocations: 6.991 MB / 3.603 GB, free: 115.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.003037/15.72, allocations: 124.4 kB / 3.603 GB, free: 115.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.005927/15.72, allocations: 3.889 MB / 3.607 GB, free: 114.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.004671/15.73, allocations: 1.622 MB / 3.608 GB, free: 113.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002912/15.73, allocations: 111.7 kB / 3.608 GB, free: 113.7 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0005685/15.73, allocations: 0.5242 MB / 3.609 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01795/15.75, allocations: 7.274 MB / 3.616 GB, free: 110.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01965/15.77, allocations: 9.076 MB / 3.625 GB, free: 105.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02057/15.79, allocations: 8.309 MB / 3.633 GB, free: 102.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.798e-05/15.79, allocations: 12.72 kB / 3.633 GB, free: 102.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=706) (initialization): time 0.0759/15.87, allocations: 19.82 MB / 3.652 GB, free: 96.13 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.005065/15.87, allocations: 23.57 MB / 3.675 GB, free: 71.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001833/15.87, allocations: 46.53 kB / 3.675 GB, free: 71.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1333/16.01, allocations: 11.34 MB / 3.686 GB, free: 70.69 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02008/16.03, allocations: 1.971 MB / 3.688 GB, free: 70.65 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02654/16.05, allocations: 8.067 MB / 3.696 GB, free: 66.25 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02084/16.07, allocations: 0.5889 MB / 3.697 GB, free: 66.12 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003718/16.08, allocations: 0.5817 MB / 3.697 GB, free: 66.07 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/16.08, allocations: 3.844 kB / 3.697 GB, free: 66.07 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05487/16.13, allocations: 18.14 MB / 3.715 GB, free: 59.91 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001477/16.13, allocations: 48.45 kB / 3.715 GB, free: 59.91 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.131/16.26, allocations: 10.83 MB / 3.726 GB, free: 59 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01999/16.28, allocations: 1.947 MB / 3.728 GB, free: 57.98 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02172/16.3, allocations: 11.11 MB / 3.738 GB, free: 47.96 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01883/16.32, allocations: 0.5335 MB / 3.739 GB, free: 47.56 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003915/16.33, allocations: 0.5675 MB / 3.74 GB, free: 47.21 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.005692/16.33, allocations: 455 kB / 3.74 GB, free: 46.88 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004877/16.34, allocations: 0.7834 MB / 3.741 GB, free: 46.08 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07295/16.41, allocations: 18.2 MB / 3.759 GB, free: 31.68 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001315/16.41, allocations: 62.56 kB / 3.759 GB, free: 31.62 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.747e-05/16.41, allocations: 4 kB / 3.759 GB, free: 31.62 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04799/16.46, allocations: 12.92 MB / 3.771 GB, free: 20.29 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1081/16.57, allocations: 29.91 MB / 3.8 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.874e-05/16.57, allocations: 12 kB / 3.8 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01266/16.58, allocations: 1.003 MB / 3.801 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1315/16.71, allocations: 10.19 MB / 3.811 GB, free: 6.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001943/16.71, allocations: 185.8 kB / 3.812 GB, free: 6.262 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7226/17.44, allocations: 12.76 MB / 3.824 GB, free: 121.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.869e-05/17.44, allocations: 15.31 kB / 3.824 GB, free: 121.4 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07122/17.51, allocations: 24.29 MB / 3.848 GB, free: 118.2 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0102/17.52, allocations: 2.184 MB / 3.85 GB, free: 118.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004801/17.52, allocations: 135.5 kB / 3.85 GB, free: 118.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01573/17.54, allocations: 499.8 kB / 3.85 GB, free: 118.1 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002751/17.54, allocations: 384.7 kB / 3.851 GB, free: 118 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001899/17.54, allocations: 232.6 kB / 3.851 GB, free: 118 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.01504/17.56, allocations: 5.445 MB / 3.856 GB, free: 117.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.042e-06/17.56, allocations: 0 / 3.856 GB, free: 117.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.03065/17.59, allocations: 4.626 MB / 3.861 GB, free: 117.8 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.07534/17.66, allocations: 27.52 MB / 3.888 GB, free: 112.4 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.07703/17.74, allocations: 26.79 MB / 3.914 GB, free: 111.5 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.173e-05/17.74, allocations: 4.594 kB / 3.914 GB, free: 111.5 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.02847/17.77, allocations: 7.887 MB / 3.922 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03986/17.81, allocations: 4.787 MB / 3.926 GB, free: 111 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07544/17.89, allocations: 22.25 MB / 3.948 GB, free: 107.7 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01075/17.9, allocations: 5.657 MB / 3.954 GB, free: 106.8 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.05141/17.95, allocations: 8.776 MB / 3.962 GB, free: 105.7 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01433/17.96, allocations: 3.865 MB / 3.966 GB, free: 105.7 MB / 0.8386 GB Notification: Performance of SimCode: time 1.553e-06/17.96, allocations: 0 / 3.966 GB, free: 105.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.383/19.35, allocations: 334.1 MB / 4.292 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002374/19.35, allocations: 220.5 kB / 4.292 GB, free: 116.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.45/35.8, allocations: 0 / 4.292 GB, free: 116.6 MB / 0.8542 GB