Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified4,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_FlowSystem_Simplified4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.25/4.25, allocations: 464.6 MB / 476.8 MB, free: 2.102 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.489e-05/3.498e-05, allocations: 4 kB / 0.5732 GB, free: 5.617 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2379, allocations: 107.2 MB / 0.6778 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.939/2.177, allocations: 457.5 MB / 1.125 GB, free: 258.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/2.177, allocations: 92.45 kB / 1.125 GB, free: 258.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 58.02/60.2, allocations: 10.04 GB / 11.17 GB, free: 89.12 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.154e-06/60.2, allocations: 0 / 11.17 GB, free: 89.12 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.003639/60.21, allocations: 384.6 kB / 11.17 GB, free: 89.06 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.06382/60.27, allocations: 12.1 MB / 11.18 GB, free: 83.88 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/60.27, allocations: 11.92 kB / 11.18 GB, free: 83.88 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005759/60.28, allocations: 0.9083 MB / 11.18 GB, free: 83.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01988/60.3, allocations: 2.181 MB / 11.18 GB, free: 82.94 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09548/60.39, allocations: 20.06 MB / 11.2 GB, free: 80.67 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001292/60.39, allocations: 0.604 MB / 11.2 GB, free: 80.66 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005352/60.4, allocations: 0.8112 MB / 11.2 GB, free: 80.66 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04832/60.45, allocations: 13.87 MB / 11.22 GB, free: 79.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005561/60.45, allocations: 15.44 kB / 11.22 GB, free: 79.89 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00441/60.45, allocations: 286.3 kB / 11.22 GB, free: 79.89 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003101/60.45, allocations: 187.6 kB / 11.22 GB, free: 79.89 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04867/60.5, allocations: 17.96 MB / 11.24 GB, free: 79.86 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.1894/60.69, allocations: 74.14 MB / 11.31 GB, free: 46.04 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02229/60.71, allocations: 9.498 MB / 11.32 GB, free: 45.88 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0196/60.73, allocations: 8.475 MB / 11.32 GB, free: 45.82 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.09766/60.83, allocations: 30.23 MB / 11.35 GB, free: 37.21 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02198/60.85, allocations: 8.048 MB / 11.36 GB, free: 37.1 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.07995/60.93, allocations: 14.98 MB / 11.38 GB, free: 36.45 MB / 1.167 GB Notification: Performance of pre-optimization done (n=427): time 3.742e-05/60.93, allocations: 0 / 11.38 GB, free: 36.45 MB / 1.167 GB Notification: Performance of matching and sorting (n=613): time 0.3872/61.32, allocations: 73.41 MB / 11.45 GB, free: 22.58 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.125e-05/61.32, allocations: 119 kB / 11.45 GB, free: 22.51 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03779/61.36, allocations: 12.6 MB / 11.46 GB, free: 18.11 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.004318/61.36, allocations: 193 kB / 11.46 GB, free: 17.96 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01148/61.37, allocations: 6.661 MB / 11.47 GB, free: 12.56 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.005459/61.38, allocations: 2.074 MB / 11.47 GB, free: 10.68 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003846/61.38, allocations: 156 kB / 11.47 GB, free: 10.53 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0008/61.38, allocations: 0.6135 MB / 11.47 GB, free: 10 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02104/61.4, allocations: 7.818 MB / 11.48 GB, free: 3.152 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04843/61.45, allocations: 11.93 MB / 11.49 GB, free: 12.25 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02724/61.48, allocations: 8.795 MB / 11.5 GB, free: 4.855 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.449e-05/61.48, allocations: 16 kB / 11.5 GB, free: 4.84 MB / 1.182 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.1061/61.59, allocations: 26.57 MB / 11.52 GB, free: 1.598 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.208/62.79, allocations: 34.78 MB / 11.56 GB, free: 85.49 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001934/62.79, allocations: 51.91 kB / 11.56 GB, free: 85.49 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351/64.14, allocations: 146.4 MB / 11.7 GB, free: 84.98 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02219/64.17, allocations: 1.953 MB / 11.7 GB, free: 84.96 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07501/64.24, allocations: 24.61 MB / 11.73 GB, free: 79.85 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03412/64.28, allocations: 1.357 MB / 11.73 GB, free: 79.78 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005039/64.28, allocations: 0.8111 MB / 11.73 GB, free: 79.78 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/64.28, allocations: 2.531 kB / 11.73 GB, free: 79.78 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08169/64.36, allocations: 24.78 MB / 11.75 GB, free: 79.35 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002614/64.36, allocations: 52.56 kB / 11.75 GB, free: 79.35 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45/65.81, allocations: 146.8 MB / 11.9 GB, free: 15.65 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02842/65.84, allocations: 1.941 MB / 11.9 GB, free: 13.85 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09755/65.94, allocations: 28.88 MB / 11.93 GB, free: 8.168 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03294/65.97, allocations: 1.337 MB / 11.93 GB, free: 7.031 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005135/65.98, allocations: 0.7727 MB / 11.93 GB, free: 6.324 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.007428/65.99, allocations: 0.5509 MB / 11.93 GB, free: 6.113 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007401/65.99, allocations: 1.281 MB / 11.93 GB, free: 5.523 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1397/66.13, allocations: 26.7 MB / 11.96 GB, free: 3.348 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001759/66.13, allocations: 82.61 kB / 11.96 GB, free: 3.27 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/66.13, allocations: 0 / 11.96 GB, free: 3.27 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1084/66.24, allocations: 21.12 MB / 11.98 GB, free: 4.898 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.543/67.78, allocations: 59.92 MB / 12.04 GB, free: 158.9 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001255/67.78, allocations: 7.703 kB / 12.04 GB, free: 158.9 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01417/67.8, allocations: 1.357 MB / 12.04 GB, free: 158.9 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3447/68.14, allocations: 41.92 MB / 12.08 GB, free: 158.8 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002447/68.15, allocations: 206.6 kB / 12.08 GB, free: 158.8 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03609/68.18, allocations: 13.63 MB / 12.09 GB, free: 153.7 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.531e-05/68.18, allocations: 14.42 kB / 12.09 GB, free: 153.7 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.178/68.36, allocations: 38.63 MB / 12.13 GB, free: 150.2 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01554/68.38, allocations: 3.073 MB / 12.13 GB, free: 150.1 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007168/68.38, allocations: 137.9 kB / 12.13 GB, free: 150.1 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02507/68.41, allocations: 1.056 MB / 12.13 GB, free: 150.1 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002818/68.41, allocations: 480.2 kB / 12.13 GB, free: 150.1 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002177/68.41, allocations: 297.1 kB / 12.13 GB, free: 150.1 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.02871/68.44, allocations: 9.601 MB / 12.14 GB, free: 149.7 MB / 1.245 GB Notification: Performance of sort global known variables: time 1.393e-06/68.44, allocations: 1.312 kB / 12.14 GB, free: 149.7 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.07252/68.51, allocations: 7.166 MB / 12.15 GB, free: 149.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.1906/68.71, allocations: 44.3 MB / 12.19 GB, free: 143 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.1182/68.82, allocations: 32.67 MB / 12.23 GB, free: 142.3 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 1.898e-05/68.82, allocations: 2.75 kB / 12.23 GB, free: 142.3 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.03022/68.85, allocations: 8.91 MB / 12.23 GB, free: 142.2 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06073/68.91, allocations: 6.8 MB / 12.24 GB, free: 142.1 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09805/69.01, allocations: 26.33 MB / 12.27 GB, free: 136.7 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01863/69.03, allocations: 7.667 MB / 12.27 GB, free: 132.2 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.05122/69.08, allocations: 6.756 MB / 12.28 GB, free: 128.1 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01692/69.1, allocations: 6.413 MB / 12.29 GB, free: 127.5 MB / 1.245 GB Notification: Performance of SimCode: time 2.995e-06/69.1, allocations: 0 / 12.29 GB, free: 127.5 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.684/72.78, allocations: 0.5629 GB / 12.85 GB, free: 9.824 MB / 1.261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003313/72.78, allocations: 230.4 kB / 12.85 GB, free: 9.559 MB / 1.261 GB Notification: Performance of buildModelFMU: Generate platform static: time 34.91/107.7, allocations: 0 / 12.85 GB, free: 9.559 MB / 1.261 GB