Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified4,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.189/4.189, allocations: 460.4 MB / 472.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.832e-05/3.82e-05, allocations: 7.984 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2345, allocations: 106.2 MB / 0.6719 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.927/2.162, allocations: 457.1 MB / 1.118 GB, free: 245.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/2.162, allocations: 94.66 kB / 1.118 GB, free: 245.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 57.66/59.82, allocations: 10.04 GB / 11.16 GB, free: 90.41 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.816e-06/59.82, allocations: 1.594 kB / 11.16 GB, free: 90.41 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.005228/59.83, allocations: 385.3 kB / 11.16 GB, free: 90.35 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.06336/59.89, allocations: 12.1 MB / 11.17 GB, free: 85.15 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/59.89, allocations: 11.06 kB / 11.17 GB, free: 85.15 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005368/59.9, allocations: 0.9066 MB / 11.17 GB, free: 85.07 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02156/59.92, allocations: 2.181 MB / 11.18 GB, free: 84.21 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1433/60.06, allocations: 20.05 MB / 11.2 GB, free: 81.95 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001716/60.06, allocations: 0.6017 MB / 11.2 GB, free: 81.94 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00739/60.07, allocations: 0.8023 MB / 11.2 GB, free: 81.94 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06792/60.14, allocations: 13.84 MB / 11.21 GB, free: 81.17 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006309/60.14, allocations: 19.81 kB / 11.21 GB, free: 81.17 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005644/60.15, allocations: 290.2 kB / 11.21 GB, free: 81.17 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003471/60.15, allocations: 188.8 kB / 11.21 GB, free: 81.17 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06362/60.21, allocations: 17.89 MB / 11.23 GB, free: 81.14 MB / 1.167 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.1791/60.39, allocations: 74.03 MB / 11.3 GB, free: 47.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02156/60.41, allocations: 9.437 MB / 11.31 GB, free: 47.15 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01957/60.43, allocations: 8.445 MB / 11.32 GB, free: 47.09 MB / 1.167 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 evalFunc (simulation): time 0.1153/60.55, allocations: 30.15 MB / 11.35 GB, free: 38.46 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01951/60.56, allocations: 8.017 MB / 11.36 GB, free: 38.36 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0791/60.64, allocations: 14.97 MB / 11.37 GB, free: 37.68 MB / 1.167 GB Notification: Performance of pre-optimization done (n=427): time 3.807e-05/60.64, allocations: 0 / 11.37 GB, free: 37.68 MB / 1.167 GB Notification: Performance of matching and sorting (n=613): time 0.3685/61.01, allocations: 71.99 MB / 11.44 GB, free: 22.99 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.866e-05/61.01, allocations: 117.3 kB / 11.44 GB, free: 22.92 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03705/61.05, allocations: 12.6 MB / 11.45 GB, free: 17.61 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.004074/61.05, allocations: 191 kB / 11.45 GB, free: 17.41 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01145/61.07, allocations: 6.659 MB / 11.46 GB, free: 11.35 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.005534/61.07, allocations: 2.07 MB / 11.46 GB, free: 9.473 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003935/61.07, allocations: 156 kB / 11.46 GB, free: 9.32 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0008119/61.08, allocations: 0.6192 MB / 11.46 GB, free: 8.789 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02036/61.1, allocations: 7.749 MB / 11.47 GB, free: 1.992 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05619/61.15, allocations: 12.29 MB / 11.48 GB, free: 12.25 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02616/61.18, allocations: 8.763 MB / 11.49 GB, free: 4.883 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.024e-05/61.18, allocations: 16 kB / 11.49 GB, free: 4.867 MB / 1.182 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.09792/61.28, allocations: 26.2 MB / 11.52 GB, free: 0.8828 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.244/62.52, allocations: 34.78 MB / 11.55 GB, free: 87.25 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002032/62.52, allocations: 53.14 kB / 11.55 GB, free: 87.25 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338/63.86, allocations: 146.4 MB / 11.69 GB, free: 86.76 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02056/63.88, allocations: 1.888 MB / 11.69 GB, free: 86.75 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07179/63.95, allocations: 24.6 MB / 11.72 GB, free: 81.64 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03281/63.98, allocations: 1.289 MB / 11.72 GB, free: 81.58 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005057/63.99, allocations: 0.8064 MB / 11.72 GB, free: 81.58 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/63.99, allocations: 3.375 kB / 11.72 GB, free: 81.58 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08256/64.07, allocations: 24.69 MB / 11.74 GB, free: 81.15 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002775/64.07, allocations: 50.88 kB / 11.74 GB, free: 81.15 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37/65.44, allocations: 146.8 MB / 11.89 GB, free: 18.78 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01724/65.46, allocations: 1.867 MB / 11.89 GB, free: 17.05 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09483/65.55, allocations: 28.89 MB / 11.92 GB, free: 11.36 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03269/65.59, allocations: 1.258 MB / 11.92 GB, free: 10.3 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005123/65.59, allocations: 0.7692 MB / 11.92 GB, free: 9.594 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (761): * Single equations (assignments): 747 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {32 38,5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.007577/65.6, allocations: 0.5551 MB / 11.92 GB, free: 9.375 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007677/65.61, allocations: 1.28 MB / 11.92 GB, free: 8.785 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1365/65.74, allocations: 26.59 MB / 11.95 GB, free: 6.684 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001909/65.75, allocations: 74.06 kB / 11.95 GB, free: 6.613 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.95e-05/65.75, allocations: 4 kB / 11.95 GB, free: 6.609 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1048/65.85, allocations: 21.04 MB / 11.97 GB, free: 8.312 MB / 1.245 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 1.514/67.36, allocations: 59.72 MB / 12.03 GB, free: 161.8 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000138/67.36, allocations: 7.297 kB / 12.03 GB, free: 161.8 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01317/67.38, allocations: 1.294 MB / 12.03 GB, free: 161.8 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3343/67.71, allocations: 41.92 MB / 12.07 GB, free: 161.8 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002221/67.71, allocations: 203.8 kB / 12.07 GB, free: 161.8 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03374/67.75, allocations: 13.63 MB / 12.08 GB, free: 156.6 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.441e-05/67.75, allocations: 10.91 kB / 12.08 GB, free: 156.6 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1674/67.91, allocations: 38.42 MB / 12.12 GB, free: 153.2 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01503/67.93, allocations: 3.062 MB / 12.12 GB, free: 153.1 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007135/67.94, allocations: 136.3 kB / 12.12 GB, free: 153.1 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02383/67.96, allocations: 0.9881 MB / 12.12 GB, free: 153.1 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002989/67.96, allocations: 476 kB / 12.12 GB, free: 153.1 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002565/67.97, allocations: 304 kB / 12.12 GB, free: 153.1 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.03031/68, allocations: 9.598 MB / 12.13 GB, free: 152.7 MB / 1.245 GB Notification: Performance of sort global known variables: time 1.532e-06/68, allocations: 1.781 kB / 12.13 GB, free: 152.7 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.07238/68.07, allocations: 7.129 MB / 12.14 GB, free: 152.7 MB / 1.245 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (537): * Single equations (assignments): 515 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {7 74,30 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.1838/68.25, allocations: 44.1 MB / 12.18 GB, free: 146 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.1157/68.37, allocations: 32.48 MB / 12.22 GB, free: 145.3 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 1.981e-05/68.37, allocations: 4.938 kB / 12.22 GB, free: 145.3 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.02975/68.4, allocations: 8.838 MB / 12.22 GB, free: 145.2 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05888/68.46, allocations: 6.809 MB / 12.23 GB, free: 145.1 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09318/68.55, allocations: 26.27 MB / 12.26 GB, free: 140.2 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01837/68.57, allocations: 7.668 MB / 12.26 GB, free: 137.9 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.06501/68.63, allocations: 6.754 MB / 12.27 GB, free: 133.9 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02271/68.66, allocations: 6.414 MB / 12.28 GB, free: 133.2 MB / 1.245 GB Notification: Performance of SimCode: time 2.615e-06/68.66, allocations: 0 / 12.28 GB, free: 133.2 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.684/72.34, allocations: 0.5622 GB / 12.84 GB, free: 4.348 MB / 1.245 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002827/72.34, allocations: 225.2 kB / 12.84 GB, free: 4.086 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate platform static: time 35.18/107.5, allocations: 0 / 12.84 GB, free: 4.086 MB / 1.245 GB