Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified4,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Examples_FlowSystem_Simplified4",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 5.044/5.044, allocations: 404.2 MB / 411.3 MB, free: 360 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.796e-05/2.806e-05, allocations: 4 kB / 0.4945 GB, free: 1.324 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6737/0.6737, allocations: 92.69 MB / 0.585 GB, free: 2.301 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.38/2.053, allocations: 436.9 MB / 1.012 GB, free: 8.906 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00037/2.054, allocations: 94.08 kB / 1.012 GB, free: 8.859 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 65.18/67.23, allocations: 9.682 GB / 10.69 GB, free: 98.07 MB / 1.057 GB Notification: Performance of FrontEnd: time 3.306e-06/67.23, allocations: 1.406 kB / 10.69 GB, free: 98.07 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.004128/67.24, allocations: 377.6 kB / 10.69 GB, free: 98.01 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.06935/67.31, allocations: 11.9 MB / 10.71 GB, free: 93.09 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/67.31, allocations: 9.844 kB / 10.71 GB, free: 93.09 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02414/67.33, allocations: 2.303 MB / 10.71 GB, free: 92.25 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1125/67.44, allocations: 20.52 MB / 10.73 GB, free: 89.97 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006436/67.44, allocations: 219.5 kB / 10.73 GB, free: 89.97 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005359/67.45, allocations: 485.8 kB / 10.73 GB, free: 89.97 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05276/67.5, allocations: 18.25 MB / 10.75 GB, free: 89.94 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05135/67.55, allocations: 12.97 MB / 10.76 GB, free: 89.07 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005016/67.55, allocations: 13.38 kB / 10.76 GB, free: 89.07 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00423/67.56, allocations: 9.781 kB / 10.76 GB, free: 89.07 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003308/67.56, allocations: 191.7 kB / 10.76 GB, free: 89.07 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.213/67.77, allocations: 73.66 MB / 10.83 GB, free: 54.23 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02968/67.8, allocations: 11.09 MB / 10.84 GB, free: 54.03 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02179/67.82, allocations: 8.758 MB / 10.85 GB, free: 53.95 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.1238/67.95, allocations: 39.44 MB / 10.89 GB, free: 42.12 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02259/67.97, allocations: 8.208 MB / 10.9 GB, free: 41.97 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.09799/68.07, allocations: 15.63 MB / 10.91 GB, free: 41.75 MB / 1.057 GB Notification: Performance of pre-optimization done (n=442): time 5.056e-05/68.07, allocations: 2.906 kB / 10.91 GB, free: 41.75 MB / 1.057 GB Notification: Performance of matching and sorting (n=452): time 0.2935/68.36, allocations: 49.81 MB / 10.96 GB, free: 37.05 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/68.36, allocations: 155.4 kB / 10.96 GB, free: 36.92 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03767/68.4, allocations: 11.4 MB / 10.97 GB, free: 36.2 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.004001/68.4, allocations: 39.98 kB / 10.97 GB, free: 36.17 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.01248/68.41, allocations: 6.452 MB / 10.98 GB, free: 34.68 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.005214/68.42, allocations: 1.487 MB / 10.98 GB, free: 33.67 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003849/68.42, allocations: 3.75 kB / 10.98 GB, free: 33.67 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0007445/68.42, allocations: 0.5622 MB / 10.98 GB, free: 33.36 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02036/68.44, allocations: 7.359 MB / 10.99 GB, free: 32.75 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02403/68.47, allocations: 9.871 MB / 11 GB, free: 26.48 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02776/68.5, allocations: 8.366 MB / 11.01 GB, free: 23.16 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001098/68.5, allocations: 15.22 kB / 11.01 GB, free: 23.16 MB / 1.057 GB Notification: Performance of matching and sorting (n=865) (initialization): time 0.195/68.69, allocations: 31.67 MB / 11.04 GB, free: 8.516 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.01226/68.7, allocations: 34.37 MB / 11.07 GB, free: 3.949 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000264/68.7, allocations: 52 kB / 11.07 GB, free: 3.898 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.019/71.72, allocations: 151.6 MB / 11.22 GB, free: 117.3 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02202/71.75, allocations: 1.568 MB / 11.22 GB, free: 117.3 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09403/71.84, allocations: 25.58 MB / 11.24 GB, free: 113.3 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03689/71.88, allocations: 1.198 MB / 11.25 GB, free: 113.3 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005243/71.88, allocations: 0.7699 MB / 11.25 GB, free: 113.3 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/71.88, allocations: 2.594 kB / 11.25 GB, free: 113.3 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07986/71.96, allocations: 20.54 MB / 11.27 GB, free: 113.1 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002558/71.96, allocations: 51.62 kB / 11.27 GB, free: 113.1 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652/73.61, allocations: 143.7 MB / 11.41 GB, free: 57.68 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01563/73.63, allocations: 1.533 MB / 11.41 GB, free: 56.27 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1002/73.73, allocations: 26.02 MB / 11.43 GB, free: 37.41 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02953/73.76, allocations: 0.8215 MB / 11.43 GB, free: 36.65 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00446/73.76, allocations: 0.7074 MB / 11.44 GB, free: 35.99 MB / 1.089 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pmpSouth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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 (673): * Single equations (assignments): 661 * 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: 2 * 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: 0 * Non-linear torn systems: 2 {31 39,4 83} Notification: Performance of prepare postOptimizeDAE: time 0.007401/73.77, allocations: 294.6 kB / 11.44 GB, free: 35.84 MB / 1.089 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1671/73.94, allocations: 26.68 MB / 11.46 GB, free: 16.64 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007213/73.95, allocations: 1.195 MB / 11.46 GB, free: 16.09 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1705/74.12, allocations: 25.12 MB / 11.49 GB, free: 14.11 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001939/74.12, allocations: 58.92 kB / 11.49 GB, free: 14.06 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.751e-05/74.12, allocations: 0 / 11.49 GB, free: 14.06 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345/75.46, allocations: 20.33 MB / 11.51 GB, free: 138.2 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.2053/75.67, allocations: 42.47 MB / 11.55 GB, free: 132.1 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.654e-05/75.67, allocations: 2.719 kB / 11.55 GB, free: 132.1 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01097/75.68, allocations: 0.8349 MB / 11.55 GB, free: 132.1 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4007/76.08, allocations: 42.22 MB / 11.59 GB, free: 132 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00204/76.08, allocations: 94.97 kB / 11.59 GB, free: 132 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2522/76.33, allocations: 43.93 MB / 11.63 GB, free: 121.6 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.262e-05/76.33, allocations: 14.39 kB / 11.63 GB, free: 121.6 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1942/76.53, allocations: 31.31 MB / 11.66 GB, free: 119.1 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01403/76.54, allocations: 2.698 MB / 11.67 GB, free: 119 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007393/76.55, allocations: 14.31 kB / 11.67 GB, free: 119 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02599/76.58, allocations: 1.046 MB / 11.67 GB, free: 119 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003657/76.58, allocations: 414.2 kB / 11.67 GB, free: 118.9 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00213/76.58, allocations: 244.1 kB / 11.67 GB, free: 118.9 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.02584/76.61, allocations: 8.53 MB / 11.68 GB, free: 118.6 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.192e-06/76.61, allocations: 0 / 11.68 GB, free: 118.6 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.07738/76.68, allocations: 6.761 MB / 11.68 GB, free: 118.6 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (385): * Single equations (assignments): 358 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 10 * 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: 0 * Non-linear torn systems: 10 {30 38,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,6 81} Notification: Performance of Backend phase and start with SimCode phase: time 0.1915/76.88, allocations: 37.08 MB / 11.72 GB, free: 113 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.1648/77.04, allocations: 29.41 MB / 11.75 GB, free: 112.4 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 3.009e-05/77.04, allocations: 6.094 kB / 11.75 GB, free: 112.4 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.04672/77.09, allocations: 8.608 MB / 11.76 GB, free: 112.1 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06956/77.16, allocations: 6.419 MB / 11.76 GB, free: 112 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1524/77.31, allocations: 28.99 MB / 11.79 GB, free: 101.4 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01642/77.33, allocations: 7.184 MB / 11.8 GB, free: 97.21 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.0512/77.38, allocations: 6.089 MB / 11.8 GB, free: 93.66 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01563/77.39, allocations: 5.97 MB / 11.81 GB, free: 93.09 MB / 1.12 GB Notification: Performance of SimCode: time 1.273e-06/77.39, allocations: 0 / 11.81 GB, free: 93.09 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.143/82.54, allocations: 0.5192 GB / 12.33 GB, free: 148.2 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003408/82.54, allocations: 185 kB / 12.33 GB, free: 148 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 37.55/120.1, allocations: 0 / 12.33 GB, free: 148 MB / 1.182 GB