Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified4,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Examples_FlowSystem_Simplified4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.014/4.014, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.636e-05/3.646e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6118/0.6119, allocations: 92.69 MB / 0.5896 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.184/1.796, allocations: 437.5 MB / 1.017 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/1.796, allocations: 95.25 kB / 1.017 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 55.2/57, allocations: 9.729 GB / 10.75 GB, free: 64.41 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.144e-06/57, allocations: 3.938 kB / 10.75 GB, free: 64.41 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.00377/57, allocations: 373.3 kB / 10.75 GB, free: 64.34 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1754 * Number of variables: 1754 Notification: Performance of Generate backend data structure: time 0.06084/57.06, allocations: 11.91 MB / 10.76 GB, free: 59.28 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/57.06, allocations: 16.27 kB / 10.76 GB, free: 59.28 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00499/57.07, allocations: 0.8923 MB / 10.76 GB, free: 59.2 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02092/57.09, allocations: 2.304 MB / 10.76 GB, free: 58.36 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09639/57.18, allocations: 20.51 MB / 10.78 GB, free: 56.09 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00114/57.19, allocations: 0.5905 MB / 10.78 GB, free: 56.07 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005219/57.19, allocations: 0.7951 MB / 10.78 GB, free: 56.07 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08372/57.27, allocations: 15.81 MB / 10.8 GB, free: 55.21 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00057/57.28, allocations: 17.62 kB / 10.8 GB, free: 55.21 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004263/57.28, allocations: 289.3 kB / 10.8 GB, free: 55.21 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002851/57.28, allocations: 188.8 kB / 10.8 GB, free: 55.21 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08349/57.36, allocations: 19.78 MB / 10.82 GB, free: 55.18 MB / 1.057 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.1831/57.55, allocations: 74.72 MB / 10.89 GB, free: 20.27 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04217/57.59, allocations: 12.23 MB / 10.9 GB, free: 20.06 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01882/57.61, allocations: 8.43 MB / 10.91 GB, free: 20 MB / 1.057 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.1535/57.76, allocations: 39.54 MB / 10.95 GB, free: 8.445 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03759/57.8, allocations: 10.24 MB / 10.96 GB, free: 8.301 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08246/57.88, allocations: 15.75 MB / 10.97 GB, free: 7.758 MB / 1.057 GB Notification: Performance of pre-optimization done (n=442): time 4.095e-05/57.88, allocations: 0 / 10.97 GB, free: 7.758 MB / 1.057 GB Notification: Performance of matching and sorting (n=656): time 0.6471/58.53, allocations: 110.3 MB / 11.08 GB, free: 0 / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.072/59.6, allocations: 173.2 kB / 11.08 GB, free: 99.73 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04086/59.64, allocations: 12.14 MB / 11.09 GB, free: 99.07 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.004291/59.65, allocations: 200.4 kB / 11.09 GB, free: 99.04 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.01111/59.66, allocations: 6.551 MB / 11.1 GB, free: 98.84 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.005711/59.66, allocations: 2.214 MB / 11.1 GB, free: 98.48 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003843/59.67, allocations: 163.1 kB / 11.1 GB, free: 98.48 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0007882/59.67, allocations: 0.6268 MB / 11.1 GB, free: 98.16 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02225/59.69, allocations: 8.175 MB / 11.11 GB, free: 98.14 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02573/59.72, allocations: 10.82 MB / 11.12 GB, free: 95.16 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02568/59.74, allocations: 9.201 MB / 11.13 GB, free: 95.01 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001146/59.74, allocations: 16.69 kB / 11.13 GB, free: 95.01 MB / 1.089 GB Notification: Performance of matching and sorting (n=1069) (initialization): time 0.1749/59.92, allocations: 33.97 MB / 11.16 GB, free: 93.98 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.008061/59.93, allocations: 34.54 MB / 11.2 GB, free: 58.09 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003465/59.93, allocations: 56.17 kB / 11.2 GB, free: 58.09 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393/61.32, allocations: 148.1 MB / 11.34 GB, free: 57.31 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02054/61.34, allocations: 1.837 MB / 11.34 GB, free: 57.3 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1263/61.47, allocations: 38.14 MB / 11.38 GB, free: 51.23 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.035/61.5, allocations: 1.511 MB / 11.38 GB, free: 51.12 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005315/61.51, allocations: 0.8351 MB / 11.38 GB, free: 51.12 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/61.51, allocations: 3.781 kB / 11.38 GB, free: 51.12 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2381/61.74, allocations: 37.25 MB / 11.42 GB, free: 37.05 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002467/61.74, allocations: 55.95 kB / 11.42 GB, free: 37 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.663/64.41, allocations: 147.3 MB / 11.56 GB, free: 121.3 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01667/64.42, allocations: 1.803 MB / 11.57 GB, free: 121.3 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1287/64.55, allocations: 39.96 MB / 11.61 GB, free: 117.2 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03004/64.58, allocations: 1.135 MB / 11.61 GB, free: 117.2 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005097/64.59, allocations: 0.7764 MB / 11.61 GB, free: 117.2 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 236 * 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 (791): * Single equations (assignments): 778 * 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: 3 * 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 {(4,87.5%) 83} * Non-linear torn systems: 2 {32 38,6 81} Notification: Performance of prepare postOptimizeDAE: time 0.0081/64.6, allocations: 0.5735 MB / 11.61 GB, free: 117.1 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007482/64.6, allocations: 1.269 MB / 11.61 GB, free: 117.1 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1663/64.77, allocations: 30.09 MB / 11.64 GB, free: 116.6 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002034/64.77, allocations: 86.5 kB / 11.64 GB, free: 116.6 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.863e-05/64.77, allocations: 17.06 kB / 11.64 GB, free: 116.6 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1326/64.9, allocations: 24.57 MB / 11.66 GB, free: 116.1 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 postOpt removeSimpleEquations (simulation): time 0.429/65.33, allocations: 70.83 MB / 11.73 GB, free: 109.3 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001346/65.33, allocations: 12.97 kB / 11.73 GB, free: 109.3 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01329/65.35, allocations: 1.277 MB / 11.73 GB, free: 109.3 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3331/65.68, allocations: 43.31 MB / 11.78 GB, free: 102.3 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002706/65.68, allocations: 236.6 kB / 11.78 GB, free: 102.2 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2114/65.89, allocations: 48.5 MB / 11.82 GB, free: 74.48 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.792e-05/65.89, allocations: 16.5 kB / 11.82 GB, free: 74.46 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3959/66.29, allocations: 63.52 MB / 11.88 GB, free: 30.47 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01416/66.3, allocations: 3.077 MB / 11.89 GB, free: 28.12 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007024/66.31, allocations: 151.4 kB / 11.89 GB, free: 28.08 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0268/66.34, allocations: 1.258 MB / 11.89 GB, free: 26.95 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004091/66.34, allocations: 0.6205 MB / 11.89 GB, free: 26.4 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00269/66.34, allocations: 339.4 kB / 11.89 GB, free: 26.13 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.02632/66.37, allocations: 9.249 MB / 11.9 GB, free: 19.83 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.563e-06/66.37, allocations: 0 / 11.9 GB, free: 19.83 MB / 1.12 GB Notification: Performance of remove unused functions: time 1.18/67.55, allocations: 7.828 MB / 11.91 GB, free: 121.5 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 8 (valSouth.port_3.h_outflow,valNorth.port_3.h_outflow,spl.port_3.h_outflow,spl1.port_3.h_outflow,pumpHea.port_a.h_outflow,spl2.port_3.h_outflow,spl3.port_3.h_outflow,pumpCoo.port_a.h_outflow) * 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 (593): * Single equations (assignments): 565 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 17 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,66.7%) 75} * Non-linear torn systems: 2 {30 38,4 83} Notification: Performance of Backend phase and start with SimCode phase: time 0.4562/68.01, allocations: 69.87 MB / 11.98 GB, free: 112.9 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.1273/68.13, allocations: 35.11 MB / 12.01 GB, free: 111.9 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 2.671e-05/68.13, allocations: 5.953 kB / 12.01 GB, free: 111.9 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.0387/68.17, allocations: 10.73 MB / 12.02 GB, free: 111.5 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05597/68.23, allocations: 6.633 MB / 12.03 GB, free: 111.4 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1505/68.38, allocations: 32.43 MB / 12.06 GB, free: 106.4 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01806/68.4, allocations: 7.73 MB / 12.07 GB, free: 105.3 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.04947/68.45, allocations: 6.707 MB / 12.07 GB, free: 105.1 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01683/68.46, allocations: 6.461 MB / 12.08 GB, free: 105.1 MB / 1.12 GB Notification: Performance of SimCode: time 1.513e-06/68.46, allocations: 0 / 12.08 GB, free: 105.1 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.547/72.01, allocations: 0.6035 GB / 12.68 GB, free: 6.457 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003893/72.01, allocations: 233.2 kB / 12.68 GB, free: 6.188 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 39.13/111.1, allocations: 0 / 12.68 GB, free: 6.188 MB / 1.151 GB