Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Examples_FlowSystem_Simplified6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.708/3.708, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.314e-05/4.332e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6419/0.642, allocations: 92.69 MB / 0.5896 GB, free: 14.45 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.227/1.869, allocations: 438.8 MB / 1.018 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003482/1.869, allocations: 95.44 kB / 1.018 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 55.45/57.32, allocations: 9.875 GB / 10.89 GB, free: 57.79 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.043e-06/57.32, allocations: 0 / 10.89 GB, free: 57.79 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.00343/57.32, allocations: 343.7 kB / 10.89 GB, free: 57.72 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1500 * Number of variables: 1500 Notification: Performance of Generate backend data structure: time 0.05425/57.38, allocations: 10.83 MB / 10.9 GB, free: 52.86 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/57.38, allocations: 7.844 kB / 10.9 GB, free: 52.86 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004524/57.38, allocations: 0.7756 MB / 10.91 GB, free: 52.79 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01994/57.4, allocations: 2.194 MB / 10.91 GB, free: 52.02 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07874/57.48, allocations: 18.13 MB / 10.92 GB, free: 49.86 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001066/57.48, allocations: 0.5237 MB / 10.93 GB, free: 49.84 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003633/57.49, allocations: 0.6962 MB / 10.93 GB, free: 49.84 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04646/57.53, allocations: 10.22 MB / 10.94 GB, free: 48.63 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003444/57.53, allocations: 16.16 kB / 10.94 GB, free: 48.63 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002629/57.54, allocations: 254.4 kB / 10.94 GB, free: 48.63 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001807/57.54, allocations: 160.7 kB / 10.94 GB, free: 48.63 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03941/57.58, allocations: 8.47 MB / 10.94 GB, free: 48.54 MB / 1.042 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.1132/57.69, allocations: 49.61 MB / 10.99 GB, free: 21.37 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03064/57.72, allocations: 7.191 MB / 11 GB, free: 21.12 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008914/57.73, allocations: 3.602 MB / 11 GB, free: 21.04 MB / 1.042 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.0622/57.79, allocations: 16.52 MB / 11.02 GB, free: 17.39 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02647/57.82, allocations: 5.36 MB / 11.03 GB, free: 17.21 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01791/57.84, allocations: 2.539 MB / 11.03 GB, free: 16.9 MB / 1.042 GB Notification: Performance of pre-optimization done (n=328): time 2.557e-05/57.84, allocations: 4 kB / 11.03 GB, free: 16.89 MB / 1.042 GB Notification: Performance of matching and sorting (n=522): time 1.545/59.38, allocations: 71.39 MB / 11.1 GB, free: 65.95 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/59.38, allocations: 160.5 kB / 11.1 GB, free: 65.82 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03598/59.42, allocations: 11.74 MB / 11.11 GB, free: 65.09 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.002337/59.42, allocations: 174.7 kB / 11.11 GB, free: 65.06 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.01039/59.43, allocations: 6.161 MB / 11.12 GB, free: 64.07 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.003325/59.43, allocations: 1.765 MB / 11.12 GB, free: 63.17 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001506/59.43, allocations: 147.4 kB / 11.12 GB, free: 63.17 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0005778/59.43, allocations: 0.5949 MB / 11.12 GB, free: 62.86 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01218/59.45, allocations: 4.222 MB / 11.12 GB, free: 62.84 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01511/59.46, allocations: 7.084 MB / 11.13 GB, free: 59.58 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01463/59.48, allocations: 5.056 MB / 11.13 GB, free: 59.43 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001134/59.48, allocations: 16.88 kB / 11.13 GB, free: 59.43 MB / 1.042 GB Notification: Performance of matching and sorting (n=968) (initialization): time 0.1301/59.61, allocations: 22.03 MB / 11.16 GB, free: 58.4 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.01116/59.62, allocations: 39.09 MB / 11.19 GB, free: 33.83 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002996/59.62, allocations: 58.69 kB / 11.19 GB, free: 33.83 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02199/59.64, allocations: 4.886 MB / 11.2 GB, free: 33.75 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02484/59.67, allocations: 1.831 MB / 11.2 GB, free: 33.75 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.072/59.74, allocations: 25.97 MB / 11.23 GB, free: 42.29 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02611/59.76, allocations: 1.36 MB / 11.23 GB, free: 42.26 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002989/59.77, allocations: 0.4933 MB / 11.23 GB, free: 42.26 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/59.77, allocations: 9.469 kB / 11.23 GB, free: 42.26 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05018/59.82, allocations: 14.03 MB / 11.24 GB, free: 41.75 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002456/59.82, allocations: 61.16 kB / 11.24 GB, free: 41.75 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02099/59.84, allocations: 4.096 MB / 11.24 GB, free: 41.67 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01537/59.85, allocations: 1.68 MB / 11.25 GB, free: 41.67 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07733/59.93, allocations: 28.08 MB / 11.27 GB, free: 35.43 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02123/59.95, allocations: 0.9761 MB / 11.27 GB, free: 35.4 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002596/59.95, allocations: 449.3 kB / 11.28 GB, free: 35.4 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 274 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulsStart,stepPump.pulsStart,$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 (753): * Single equations (assignments): 737 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,75.5%) 78} * Non-linear torn systems: 5 {1 2,1 4,1 2,1 2,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.004499/59.96, allocations: 0.5466 MB / 11.28 GB, free: 35.3 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004865/59.96, allocations: 1.18 MB / 11.28 GB, free: 34.64 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1278/60.09, allocations: 20.28 MB / 11.3 GB, free: 34.1 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00016/60.09, allocations: 64.81 kB / 11.3 GB, free: 34.1 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.081e-05/60.09, allocations: 13.03 kB / 11.3 GB, free: 34.1 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.113/60.21, allocations: 17.82 MB / 11.31 GB, free: 33.53 MB / 1.073 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.1585/60.36, allocations: 32.99 MB / 11.35 GB, free: 31.43 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.432e-05/60.36, allocations: 10.28 kB / 11.35 GB, free: 31.43 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01198/60.38, allocations: 1.153 MB / 11.35 GB, free: 31.42 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01827/60.39, allocations: 3.8 MB / 11.35 GB, free: 31.23 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001702/60.4, allocations: 186 kB / 11.35 GB, free: 31.23 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2059/60.6, allocations: 46.95 MB / 11.4 GB, free: 21.64 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.845e-05/60.6, allocations: 10.38 kB / 11.4 GB, free: 21.64 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1589/60.76, allocations: 27.8 MB / 11.42 GB, free: 9.969 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01172/60.77, allocations: 2.526 MB / 11.43 GB, free: 8.355 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005682/60.78, allocations: 113.8 kB / 11.43 GB, free: 8.328 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02222/60.8, allocations: 1.202 MB / 11.43 GB, free: 7.578 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00313/60.8, allocations: 0.4961 MB / 11.43 GB, free: 7.332 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001845/60.81, allocations: 273.3 kB / 11.43 GB, free: 7.16 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.03628/60.84, allocations: 8.909 MB / 11.44 GB, free: 2.121 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.473e-06/60.84, allocations: 0 / 11.44 GB, free: 2.121 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.1317/60.97, allocations: 8.428 MB / 11.45 GB, free: 0 / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * Number of states: 3 (valSouth.port_3.h_outflow,valNorth.port_3.h_outflow,heater.outCon.T) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulsStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (450): * Single equations (assignments): 425 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,65.3%) 74} * Non-linear torn systems: 5 {1 4,1 2,1 2,1 2,4 81} Notification: Performance of Backend phase and start with SimCode phase: time 1.361/62.33, allocations: 34.63 MB / 11.48 GB, free: 104.4 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.06556/62.4, allocations: 19.29 MB / 11.5 GB, free: 103.4 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 2.029e-05/62.4, allocations: 7.375 kB / 11.5 GB, free: 103.4 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.02435/62.42, allocations: 6.506 MB / 11.5 GB, free: 103 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04881/62.47, allocations: 5.832 MB / 11.51 GB, free: 103 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1309/62.6, allocations: 28.23 MB / 11.54 GB, free: 98.57 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01514/62.62, allocations: 7.092 MB / 11.55 GB, free: 97.52 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.04531/62.67, allocations: 6.389 MB / 11.55 GB, free: 97.37 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01425/62.68, allocations: 5.715 MB / 11.56 GB, free: 97.37 MB / 1.089 GB Notification: Performance of SimCode: time 1.432e-06/62.68, allocations: 0 / 11.56 GB, free: 97.37 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.131/65.81, allocations: 459.1 MB / 12.01 GB, free: 149.2 MB / 1.136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002515/65.81, allocations: 233.4 kB / 12.01 GB, free: 149 MB / 1.136 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.47/98.28, allocations: 0 / 12.01 GB, free: 149 MB / 1.136 GB