Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified5,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Examples_FlowSystem_Simplified5",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.633/4.633, allocations: 404.1 MB / 411.3 MB, free: 328 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.173e-05/3.175e-05, allocations: 8 kB / 0.4945 GB, free: 1.238 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6608/0.6609, allocations: 92.7 MB / 0.5851 GB, free: 2.309 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.383/2.044, allocations: 437.5 MB / 1.012 GB, free: 8.191 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003545/2.044, allocations: 100.1 kB / 1.012 GB, free: 8.141 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 64.59/66.64, allocations: 9.609 GB / 10.62 GB, free: 87.21 MB / 1.026 GB Notification: Performance of FrontEnd: time 3.166e-06/66.64, allocations: 0.5625 kB / 10.62 GB, free: 87.21 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.00377/66.64, allocations: 339.8 kB / 10.62 GB, free: 87.15 MB / 1.026 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.06611/66.71, allocations: 10.92 MB / 10.63 GB, free: 82.57 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/66.71, allocations: 8.562 kB / 10.63 GB, free: 82.57 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02598/66.73, allocations: 2.351 MB / 10.63 GB, free: 81.81 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1059/66.84, allocations: 18.48 MB / 10.65 GB, free: 79.73 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006231/66.84, allocations: 196.4 kB / 10.65 GB, free: 79.73 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004964/66.84, allocations: 425.8 kB / 10.65 GB, free: 79.73 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05114/66.9, allocations: 17.79 MB / 10.67 GB, free: 79.7 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04554/66.94, allocations: 12.2 MB / 10.68 GB, free: 79.05 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003989/66.94, allocations: 7.938 kB / 10.68 GB, free: 79.05 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003727/66.95, allocations: 12.41 kB / 10.68 GB, free: 79.05 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002188/66.95, allocations: 157.1 kB / 10.68 GB, free: 79.05 MB / 1.026 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.1966/67.14, allocations: 68.92 MB / 10.75 GB, free: 47.16 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02771/67.17, allocations: 10.8 MB / 10.76 GB, free: 46.97 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02138/67.19, allocations: 8.769 MB / 10.77 GB, free: 46.9 MB / 1.026 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.13/67.32, allocations: 38.96 MB / 10.81 GB, free: 35.52 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02326/67.34, allocations: 8.179 MB / 10.82 GB, free: 35.38 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.1016/67.45, allocations: 16.17 MB / 10.83 GB, free: 34.99 MB / 1.026 GB Notification: Performance of pre-optimization done (n=395): time 5.028e-05/67.45, allocations: 1.844 kB / 10.83 GB, free: 34.99 MB / 1.026 GB Notification: Performance of matching and sorting (n=399): time 0.3009/67.75, allocations: 49.51 MB / 10.88 GB, free: 30.65 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.935e-05/67.75, allocations: 143.8 kB / 10.88 GB, free: 30.52 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03531/67.78, allocations: 10.84 MB / 10.89 GB, free: 29.86 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.003939/67.79, allocations: 37.27 kB / 10.89 GB, free: 29.83 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.01099/67.8, allocations: 5.92 MB / 10.9 GB, free: 28.27 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.004842/67.8, allocations: 1.297 MB / 10.9 GB, free: 27.25 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003636/67.81, allocations: 4 kB / 10.9 GB, free: 27.24 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.000645/67.81, allocations: 0.5436 MB / 10.9 GB, free: 26.82 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02086/67.83, allocations: 7.314 MB / 10.9 GB, free: 23.78 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02316/67.85, allocations: 9.667 MB / 10.91 GB, free: 17.75 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02669/67.88, allocations: 8.226 MB / 10.92 GB, free: 14.49 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.751e-05/67.88, allocations: 11.62 kB / 10.92 GB, free: 14.49 MB / 1.026 GB Notification: Performance of matching and sorting (n=783) (initialization): time 0.2104/68.09, allocations: 32.27 MB / 10.95 GB, free: 8.109 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.136/69.22, allocations: 30.11 MB / 10.98 GB, free: 105.9 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002636/69.22, allocations: 47.19 kB / 10.98 GB, free: 105.9 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906/71.13, allocations: 168.3 MB / 11.15 GB, free: 105.3 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0282/71.16, allocations: 1.45 MB / 11.15 GB, free: 105.3 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1527/71.31, allocations: 27.99 MB / 11.18 GB, free: 101.2 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03641/71.35, allocations: 1.171 MB / 11.18 GB, free: 101.2 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005109/71.35, allocations: 0.7486 MB / 11.18 GB, free: 101.2 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/71.35, allocations: 3.719 kB / 11.18 GB, free: 101.2 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07821/71.43, allocations: 20.63 MB / 11.2 GB, free: 100.9 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002441/71.43, allocations: 46.78 kB / 11.2 GB, free: 100.9 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006/73.44, allocations: 167.2 MB / 11.36 GB, free: 12.52 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01552/73.45, allocations: 1.294 MB / 11.36 GB, free: 11.34 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255/74.71, allocations: 28.21 MB / 11.39 GB, free: 156.9 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03042/74.74, allocations: 0.7766 MB / 11.39 GB, free: 156.9 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004599/74.74, allocations: 0.6841 MB / 11.39 GB, free: 156.9 MB / 1.104 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumpCoo.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pumpHea.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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: 212 * 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 (567): * Single equations (assignments): 555 * 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 {37 59,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.007306/74.75, allocations: 297.7 kB / 11.39 GB, free: 156.8 MB / 1.104 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1926/74.94, allocations: 27 MB / 11.42 GB, free: 156.6 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007194/74.95, allocations: 1.109 MB / 11.42 GB, free: 156.6 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2011/75.15, allocations: 25.04 MB / 11.44 GB, free: 156.2 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001475/75.15, allocations: 52.86 kB / 11.44 GB, free: 156.2 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/75.15, allocations: 0.8125 kB / 11.44 GB, free: 156.2 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1394/75.29, allocations: 20.38 MB / 11.46 GB, free: 155.7 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1998/75.49, allocations: 41.87 MB / 11.5 GB, free: 149.6 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.717e-05/75.49, allocations: 2.625 kB / 11.5 GB, free: 149.6 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01061/75.5, allocations: 0.8442 MB / 11.51 GB, free: 149.6 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4617/75.96, allocations: 48.9 MB / 11.55 GB, free: 149.5 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002072/75.97, allocations: 88.39 kB / 11.55 GB, free: 149.5 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.235/76.2, allocations: 42.13 MB / 11.59 GB, free: 142.3 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.238e-05/76.2, allocations: 3.562 kB / 11.59 GB, free: 142.3 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1621/76.36, allocations: 30.07 MB / 11.62 GB, free: 140.5 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01315/76.38, allocations: 2.545 MB / 11.63 GB, free: 139.1 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007234/76.38, allocations: 6.5 kB / 11.63 GB, free: 139.1 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02626/76.41, allocations: 1.005 MB / 11.63 GB, free: 138.5 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003654/76.41, allocations: 366.7 kB / 11.63 GB, free: 138.3 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002057/76.42, allocations: 220.7 kB / 11.63 GB, free: 138.2 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.0248/76.44, allocations: 8.108 MB / 11.64 GB, free: 133.9 MB / 1.104 GB Notification: Performance of sort global known variables: time 8.62e-07/76.44, allocations: 4 kB / 11.64 GB, free: 133.9 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.06883/76.51, allocations: 6.134 MB / 11.64 GB, free: 128.2 MB / 1.104 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,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 (324): * Single equations (assignments): 303 * 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: 4 * 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: 4 {37 57,1 3,1 3,7 78} Notification: Performance of Backend phase and start with SimCode phase: time 0.1764/76.69, allocations: 35.22 MB / 11.68 GB, free: 108.5 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.1336/76.82, allocations: 30.09 MB / 11.71 GB, free: 84.7 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.662e-05/76.82, allocations: 1.312 kB / 11.71 GB, free: 84.7 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.04283/76.86, allocations: 8.812 MB / 11.71 GB, free: 76.83 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06084/76.92, allocations: 5.954 MB / 11.72 GB, free: 72.64 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1549/77.08, allocations: 26.84 MB / 11.75 GB, free: 50.57 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01618/77.09, allocations: 6.648 MB / 11.75 GB, free: 45.94 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.04826/77.14, allocations: 5.685 MB / 11.76 GB, free: 42.28 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01445/77.16, allocations: 5.434 MB / 11.76 GB, free: 37.27 MB / 1.104 GB Notification: Performance of SimCode: time 1.723e-06/77.16, allocations: 0 / 11.76 GB, free: 37.27 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.892/82.05, allocations: 0.4973 GB / 12.26 GB, free: 169.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002715/82.05, allocations: 184.5 kB / 12.26 GB, free: 169.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 35.49/117.5, allocations: 0 / 12.26 GB, free: 169.4 MB / 1.151 GB