Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified4,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.154/4.154, allocations: 432.7 MB / 444.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.821e-05/3.833e-05, allocations: 8.828 kB / 0.5338 GB, free: 12.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2306, allocations: 98.72 MB / 0.6302 GB, free: 6.129 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.279/1.51, allocations: 448.3 MB / 1.068 GB, free: 12.63 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003563/1.51, allocations: 91.64 kB / 1.068 GB, free: 12.59 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 56.96/58.47, allocations: 9.948 GB / 11.02 GB, free: 81.08 MB / 1.12 GB Notification: Performance of FrontEnd: time 1.994e-06/58.47, allocations: 0.8438 kB / 11.02 GB, free: 81.08 MB / 1.12 GB Notification: Performance of Transformations before backend: time 0.003802/58.48, allocations: 384.1 kB / 11.02 GB, free: 81.01 MB / 1.12 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.0624/58.54, allocations: 11.98 MB / 11.03 GB, free: 75.75 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/58.54, allocations: 9.188 kB / 11.03 GB, free: 75.75 MB / 1.12 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0054/58.55, allocations: 0.8944 MB / 11.03 GB, free: 75.67 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02149/58.57, allocations: 2.333 MB / 11.03 GB, free: 74.82 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09473/58.66, allocations: 20.19 MB / 11.05 GB, free: 72.55 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001233/58.66, allocations: 0.5961 MB / 11.05 GB, free: 72.54 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005184/58.67, allocations: 0.8023 MB / 11.05 GB, free: 72.53 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04622/58.72, allocations: 13.76 MB / 11.07 GB, free: 71.78 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005225/58.72, allocations: 11.09 kB / 11.07 GB, free: 71.78 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004152/58.72, allocations: 295.3 kB / 11.07 GB, free: 71.78 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000275/58.72, allocations: 185.1 kB / 11.07 GB, free: 71.78 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04674/58.77, allocations: 17.82 MB / 11.08 GB, free: 71.74 MB / 1.12 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.1816/58.95, allocations: 73.84 MB / 11.16 GB, free: 37.89 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0222/58.97, allocations: 9.423 MB / 11.16 GB, free: 37.73 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01912/58.99, allocations: 8.445 MB / 11.17 GB, free: 37.67 MB / 1.12 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.09558/59.09, allocations: 30.13 MB / 11.2 GB, free: 29 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0203/59.11, allocations: 8.06 MB / 11.21 GB, free: 28.89 MB / 1.12 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0797/59.19, allocations: 14.98 MB / 11.22 GB, free: 28.02 MB / 1.12 GB Notification: Performance of pre-optimization done (n=426): time 4.104e-05/59.19, allocations: 0 / 11.22 GB, free: 28.02 MB / 1.12 GB Notification: Performance of matching and sorting (n=612): time 0.4705/59.66, allocations: 78.49 MB / 11.3 GB, free: 6.648 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001388/59.66, allocations: 121.8 kB / 11.3 GB, free: 6.516 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.188/60.84, allocations: 13.06 MB / 11.31 GB, free: 100.7 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.004178/60.85, allocations: 199.1 kB / 11.31 GB, free: 100.7 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0142/60.86, allocations: 6.675 MB / 11.32 GB, free: 100.5 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.006023/60.87, allocations: 2.069 MB / 11.32 GB, free: 100.2 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003922/60.87, allocations: 156.9 kB / 11.32 GB, free: 100.2 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.001035/60.87, allocations: 0.6161 MB / 11.32 GB, free: 99.93 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02325/60.9, allocations: 7.642 MB / 11.33 GB, free: 99.91 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02507/60.92, allocations: 10.37 MB / 11.34 GB, free: 96.8 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02437/60.95, allocations: 8.761 MB / 11.35 GB, free: 96.63 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001266/60.95, allocations: 13.75 kB / 11.35 GB, free: 96.63 MB / 1.135 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.08459/61.03, allocations: 25.62 MB / 11.38 GB, free: 95.58 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.007356/61.04, allocations: 35.02 MB / 11.41 GB, free: 59.54 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002924/61.04, allocations: 52.25 kB / 11.41 GB, free: 59.54 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328/62.37, allocations: 146.4 MB / 11.55 GB, free: 58.75 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0184/62.39, allocations: 1.697 MB / 11.55 GB, free: 58.75 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07316/62.46, allocations: 24.57 MB / 11.58 GB, free: 53.52 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03017/62.49, allocations: 1.115 MB / 11.58 GB, free: 53.42 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004886/62.49, allocations: 0.8065 MB / 11.58 GB, free: 53.42 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/62.49, allocations: 4.469 kB / 11.58 GB, free: 53.42 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07937/62.57, allocations: 24.56 MB / 11.6 GB, free: 52.98 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002543/62.57, allocations: 54.28 kB / 11.6 GB, free: 52.98 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34/63.91, allocations: 146.8 MB / 11.75 GB, free: 200 kB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122/65.04, allocations: 1.686 MB / 11.75 GB, free: 147.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1/65.14, allocations: 28.92 MB / 11.78 GB, free: 144 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02983/65.17, allocations: 1.082 MB / 11.78 GB, free: 144 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004809/65.17, allocations: 0.7644 MB / 11.78 GB, free: 144 MB / 1.182 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.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 (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.008097/65.18, allocations: 0.5624 MB / 11.78 GB, free: 143.9 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007408/65.19, allocations: 1.282 MB / 11.78 GB, free: 143.9 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09225/65.28, allocations: 22.74 MB / 11.8 GB, free: 143.4 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001839/65.28, allocations: 76.45 kB / 11.8 GB, free: 143.4 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.962e-05/65.28, allocations: 2.469 kB / 11.8 GB, free: 143.4 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06062/65.34, allocations: 17.28 MB / 11.82 GB, free: 142.9 MB / 1.182 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.2444/65.58, allocations: 53.77 MB / 11.87 GB, free: 136.6 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001309/65.58, allocations: 11.75 kB / 11.87 GB, free: 136.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01111/65.6, allocations: 1.135 MB / 11.87 GB, free: 136.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3533/65.95, allocations: 41.9 MB / 11.91 GB, free: 136.5 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002338/65.95, allocations: 202 kB / 11.91 GB, free: 136.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03409/65.99, allocations: 13.63 MB / 11.93 GB, free: 131.4 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.265e-05/65.99, allocations: 10.22 kB / 11.93 GB, free: 131.4 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1196/66.11, allocations: 33.57 MB / 11.96 GB, free: 127.7 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01379/66.12, allocations: 2.981 MB / 11.96 GB, free: 126.9 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006869/66.13, allocations: 131.5 kB / 11.96 GB, free: 126.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02681/66.15, allocations: 0.8883 MB / 11.96 GB, free: 126.8 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00383/66.16, allocations: 469.1 kB / 11.97 GB, free: 126.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002386/66.16, allocations: 294.6 kB / 11.97 GB, free: 126.8 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.02807/66.19, allocations: 9.538 MB / 11.97 GB, free: 126.4 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.553e-06/66.19, allocations: 3.875 kB / 11.97 GB, free: 126.4 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.07509/66.26, allocations: 7.112 MB / 11.98 GB, free: 126.4 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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.pulsStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (536): * Single equations (assignments): 514 * 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.1385/66.4, allocations: 39.4 MB / 12.02 GB, free: 119.8 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.1116/66.51, allocations: 32.14 MB / 12.05 GB, free: 110.6 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.531e-05/66.51, allocations: 4.438 kB / 12.05 GB, free: 110.5 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.02846/66.54, allocations: 8.711 MB / 12.06 GB, free: 104.7 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05934/66.6, allocations: 6.834 MB / 12.07 GB, free: 100.2 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.089/66.69, allocations: 25.98 MB / 12.09 GB, free: 77.62 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0159/66.71, allocations: 7.599 MB / 12.1 GB, free: 72.34 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.05144/66.76, allocations: 6.7 MB / 12.11 GB, free: 67.95 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01549/66.77, allocations: 6.404 MB / 12.11 GB, free: 62.05 MB / 1.182 GB Notification: Performance of SimCode: time 1.854e-06/66.77, allocations: 0 / 12.11 GB, free: 62.05 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.72/71.49, allocations: 0.5627 GB / 12.67 GB, free: 177.2 MB / 1.245 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002867/71.49, allocations: 228.5 kB / 12.68 GB, free: 176.9 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate platform static: time 36.13/107.6, allocations: 0 / 12.68 GB, free: 176.9 MB / 1.245 GB