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.762/3.762, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.533e-05/4.551e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6111/0.6111, allocations: 92.69 MB / 0.5896 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.132/1.744, allocations: 399.8 MB / 0.9801 GB, free: 5.047 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003268/1.744, allocations: 91.52 kB / 0.9802 GB, free: 5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 12.47/14.21, allocations: 2.258 GB / 3.238 GB, free: 107.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.884e-06/14.21, allocations: 0 / 3.238 GB, free: 107.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.002042/14.21, allocations: 260.1 kB / 3.238 GB, free: 107.5 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.04187/14.25, allocations: 7.222 MB / 3.245 GB, free: 105.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/14.26, allocations: 11.38 kB / 3.245 GB, free: 105.1 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004191/14.26, allocations: 0.7623 MB / 3.246 GB, free: 105 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01164/14.27, allocations: 1.255 MB / 3.247 GB, free: 104.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05233/14.32, allocations: 13.74 MB / 3.261 GB, free: 103.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007464/14.32, allocations: 441 kB / 3.261 GB, free: 103.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003831/14.33, allocations: 0.5909 MB / 3.262 GB, free: 103.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04835/14.38, allocations: 14.09 MB / 3.276 GB, free: 102.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004953/14.38, allocations: 23.84 kB / 3.276 GB, free: 102.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004324/14.38, allocations: 242.6 kB / 3.276 GB, free: 102.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001645/14.38, allocations: 140 kB / 3.276 GB, free: 102.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05014/14.43, allocations: 18.55 MB / 3.294 GB, free: 102.1 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.1557/14.59, allocations: 57.25 MB / 3.35 GB, free: 81.63 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02709/14.61, allocations: 9.706 MB / 3.36 GB, free: 81.47 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02/14.63, allocations: 9.465 MB / 3.369 GB, free: 81.21 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06065/14.7, allocations: 25.14 MB / 3.393 GB, free: 74.31 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02654/14.72, allocations: 8.85 MB / 3.402 GB, free: 73.97 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.09479/14.82, allocations: 20.66 MB / 3.422 GB, free: 71.34 MB / 0.823 GB Notification: Performance of pre-optimization done (n=362): time 3.707e-05/14.82, allocations: 0 / 3.422 GB, free: 71.34 MB / 0.823 GB Notification: Performance of matching and sorting (n=462): time 1.073/15.89, allocations: 178 MB / 3.596 GB, free: 114.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/15.89, allocations: 231 kB / 3.596 GB, free: 114.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01829/15.91, allocations: 6.995 MB / 3.603 GB, free: 113.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.002996/15.91, allocations: 126.4 kB / 3.603 GB, free: 113.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.005827/15.92, allocations: 3.877 MB / 3.607 GB, free: 113.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.004539/15.92, allocations: 1.623 MB / 3.608 GB, free: 112.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002738/15.93, allocations: 109.8 kB / 3.609 GB, free: 112.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0005439/15.93, allocations: 0.5271 MB / 3.609 GB, free: 111.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01739/15.94, allocations: 7.28 MB / 3.616 GB, free: 111.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0192/15.96, allocations: 9.043 MB / 3.625 GB, free: 109.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01997/15.98, allocations: 8.314 MB / 3.633 GB, free: 107.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.355e-05/15.98, allocations: 11.66 kB / 3.633 GB, free: 107.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=706) (initialization): time 0.0759/16.06, allocations: 19.7 MB / 3.652 GB, free: 101.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.00512/16.06, allocations: 23.58 MB / 3.675 GB, free: 76.35 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001704/16.06, allocations: 43.81 kB / 3.675 GB, free: 76.35 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1338/16.2, allocations: 11.34 MB / 3.687 GB, free: 75.95 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02034/16.22, allocations: 1.961 MB / 3.688 GB, free: 75.91 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02616/16.24, allocations: 8.066 MB / 3.696 GB, free: 71.51 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02088/16.27, allocations: 0.5829 MB / 3.697 GB, free: 71.38 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004007/16.27, allocations: 0.5857 MB / 3.697 GB, free: 71.33 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/16.27, allocations: 7.312 kB / 3.697 GB, free: 71.33 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05449/16.32, allocations: 18.02 MB / 3.715 GB, free: 65.21 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001473/16.32, allocations: 47.59 kB / 3.715 GB, free: 65.21 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1326/16.46, allocations: 10.82 MB / 3.726 GB, free: 64.31 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02247/16.48, allocations: 1.944 MB / 3.728 GB, free: 64.26 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03292/16.51, allocations: 11.12 MB / 3.738 GB, free: 57.29 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02457/16.54, allocations: 0.5272 MB / 3.739 GB, free: 57.14 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003718/16.54, allocations: 0.5663 MB / 3.739 GB, free: 57.09 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.005524/16.55, allocations: 471.5 kB / 3.74 GB, free: 56.82 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005025/16.55, allocations: 0.7848 MB / 3.741 GB, free: 56.41 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09366/16.64, allocations: 18.2 MB / 3.758 GB, free: 42.46 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001668/16.65, allocations: 63.45 kB / 3.759 GB, free: 42.41 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.439e-05/16.65, allocations: 3.953 kB / 3.759 GB, free: 42.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04991/16.7, allocations: 12.92 MB / 3.771 GB, free: 31.07 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08896/16.78, allocations: 28.92 MB / 3.799 GB, free: 7.02 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.897e-05/16.78, allocations: 8 kB / 3.799 GB, free: 7.012 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01224/16.8, allocations: 1.015 MB / 3.8 GB, free: 6.203 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1388/16.94, allocations: 10.84 MB / 3.811 GB, free: 0 / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00309/16.94, allocations: 232.5 kB / 3.811 GB, free: 0 / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06435/17, allocations: 12.74 MB / 3.824 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.051e-05/17, allocations: 14.91 kB / 3.824 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7681/17.77, allocations: 25.15 MB / 3.848 GB, free: 122.1 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009577/17.78, allocations: 2.185 MB / 3.85 GB, free: 122 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004399/17.79, allocations: 136.9 kB / 3.85 GB, free: 122 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01581/17.8, allocations: 499.6 kB / 3.851 GB, free: 122 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002668/17.8, allocations: 387.8 kB / 3.851 GB, free: 122 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002098/17.81, allocations: 231.4 kB / 3.852 GB, free: 122 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.01524/17.82, allocations: 5.44 MB / 3.857 GB, free: 121.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.163e-06/17.82, allocations: 3.719 kB / 3.857 GB, free: 121.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.03207/17.85, allocations: 4.628 MB / 3.861 GB, free: 121.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.07728/17.93, allocations: 27.53 MB / 3.888 GB, free: 116.4 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.07745/18.01, allocations: 26.55 MB / 3.914 GB, free: 115.6 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.518e-05/18.01, allocations: 10.84 kB / 3.914 GB, free: 115.6 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.02825/18.04, allocations: 7.827 MB / 3.922 GB, free: 115.2 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04111/18.08, allocations: 4.797 MB / 3.927 GB, free: 115.1 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07795/18.16, allocations: 22.22 MB / 3.948 GB, free: 111.9 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01214/18.17, allocations: 5.663 MB / 3.954 GB, free: 111 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.05395/18.22, allocations: 8.776 MB / 3.962 GB, free: 109.9 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01585/18.24, allocations: 3.858 MB / 3.966 GB, free: 109.9 MB / 0.8386 GB Notification: Performance of SimCode: time 2.795e-06/18.24, allocations: 0 / 3.966 GB, free: 109.9 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.452/19.69, allocations: 333 MB / 4.291 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000244/19.69, allocations: 219.2 kB / 4.291 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.49/36.18, allocations: 0 / 4.291 GB, free: 122.3 MB / 0.8542 GB