Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified5,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Examples_FlowSystem_Simplified5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.729/3.729, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.48e-05/5.494e-05, allocations: 11.92 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6256/0.6257, allocations: 92.67 MB / 0.5896 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.229/1.855, allocations: 438.2 MB / 1.018 GB, free: 336 kB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003391/1.855, allocations: 96.7 kB / 1.018 GB, free: 288 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 54.43/56.29, allocations: 9.655 GB / 10.67 GB, free: 91.87 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.044e-06/56.29, allocations: 0 / 10.67 GB, free: 91.87 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.003227/56.29, allocations: 343.1 kB / 10.67 GB, free: 91.8 MB / 1.042 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.05666/56.35, allocations: 10.92 MB / 10.68 GB, free: 87.2 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/56.35, allocations: 9.344 kB / 10.68 GB, free: 87.2 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004559/56.35, allocations: 0.7687 MB / 10.68 GB, free: 87.12 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02201/56.37, allocations: 2.345 MB / 10.69 GB, free: 86.36 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08919/56.46, allocations: 18.48 MB / 10.7 GB, free: 84.28 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001033/56.46, allocations: 0.5195 MB / 10.7 GB, free: 84.27 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004735/56.47, allocations: 0.6985 MB / 10.71 GB, free: 84.27 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05994/56.53, allocations: 15 MB / 10.72 GB, free: 83.6 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003574/56.53, allocations: 9.719 kB / 10.72 GB, free: 83.6 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003652/56.53, allocations: 250.1 kB / 10.72 GB, free: 83.6 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001988/56.53, allocations: 146.1 kB / 10.72 GB, free: 83.6 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06182/56.59, allocations: 19.4 MB / 10.74 GB, free: 83.55 MB / 1.042 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.1739/56.77, allocations: 69.83 MB / 10.81 GB, free: 51.73 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04139/56.81, allocations: 11.99 MB / 10.82 GB, free: 51.54 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01927/56.83, allocations: 8.438 MB / 10.83 GB, free: 51.47 MB / 1.042 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.116/56.94, allocations: 39.04 MB / 10.87 GB, free: 40.38 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03831/56.98, allocations: 10.25 MB / 10.88 GB, free: 40.23 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0815/57.06, allocations: 16.3 MB / 10.89 GB, free: 39.63 MB / 1.042 GB Notification: Performance of pre-optimization done (n=395): time 3.709e-05/57.06, allocations: 0 / 10.89 GB, free: 39.63 MB / 1.042 GB Notification: Performance of matching and sorting (n=589): time 0.6024/57.67, allocations: 103.8 MB / 10.99 GB, free: 3.84 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/57.67, allocations: 167.4 kB / 10.99 GB, free: 3.648 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06117/57.73, allocations: 13 MB / 11.01 GB, free: 13.16 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.004699/57.73, allocations: 181.7 kB / 11.01 GB, free: 12.98 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.01355/57.75, allocations: 5.962 MB / 11.01 GB, free: 7.539 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.007282/57.75, allocations: 1.977 MB / 11.01 GB, free: 5.746 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004628/57.76, allocations: 148 kB / 11.01 GB, free: 5.602 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.000923/57.76, allocations: 0.5946 MB / 11.01 GB, free: 5.094 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0374/57.8, allocations: 8.876 MB / 11.02 GB, free: 0 / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.043/58.84, allocations: 10.62 MB / 11.03 GB, free: 104.8 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02506/58.86, allocations: 9.035 MB / 11.04 GB, free: 104.6 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.684e-05/58.87, allocations: 13.19 kB / 11.04 GB, free: 104.6 MB / 1.057 GB Notification: Performance of matching and sorting (n=973) (initialization): time 0.1711/59.04, allocations: 34.22 MB / 11.08 GB, free: 104.3 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.006144/59.04, allocations: 30.26 MB / 11.11 GB, free: 72.87 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000215/59.04, allocations: 49.69 kB / 11.11 GB, free: 72.87 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553/60.6, allocations: 171.9 MB / 11.27 GB, free: 71.48 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0194/60.61, allocations: 1.733 MB / 11.28 GB, free: 71.46 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1266/60.74, allocations: 40.34 MB / 11.31 GB, free: 58.36 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03257/60.77, allocations: 1.437 MB / 11.32 GB, free: 57.12 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004987/60.78, allocations: 0.8173 MB / 11.32 GB, free: 56.36 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/60.78, allocations: 4.875 kB / 11.32 GB, free: 56.36 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2177/61, allocations: 36.48 MB / 11.35 GB, free: 29.36 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002136/61, allocations: 45.75 kB / 11.35 GB, free: 29.32 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.607/63.6, allocations: 171 MB / 11.52 GB, free: 143.9 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01451/63.62, allocations: 1.573 MB / 11.52 GB, free: 143.9 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1339/63.75, allocations: 41.99 MB / 11.56 GB, free: 139.8 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02809/63.78, allocations: 1.046 MB / 11.56 GB, free: 139.8 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004885/63.79, allocations: 0.7603 MB / 11.56 GB, free: 139.8 MB / 1.104 GB 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 (673): * Single equations (assignments): 660 * 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 {(7,75.5%) 78} * Non-linear torn systems: 2 {40 56,6 79} Notification: Performance of prepare postOptimizeDAE: time 0.007397/63.79, allocations: 0.5246 MB / 11.56 GB, free: 139.7 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006783/63.8, allocations: 1.184 MB / 11.57 GB, free: 139.7 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1616/63.96, allocations: 30.14 MB / 11.59 GB, free: 139.2 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001747/63.96, allocations: 77.94 kB / 11.59 GB, free: 139.2 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.324e-05/63.96, allocations: 18.08 kB / 11.59 GB, free: 139.2 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1315/64.09, allocations: 24.76 MB / 11.62 GB, free: 138.4 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4593/64.55, allocations: 75.84 MB / 11.69 GB, free: 131.5 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001186/64.55, allocations: 11.12 kB / 11.69 GB, free: 131.5 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01246/64.57, allocations: 1.244 MB / 11.69 GB, free: 131.5 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4051/64.97, allocations: 50.39 MB / 11.74 GB, free: 97.06 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00249/64.97, allocations: 214.4 kB / 11.74 GB, free: 96.99 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2513/65.23, allocations: 50.98 MB / 11.79 GB, free: 58.14 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.339e-05/65.23, allocations: 12.22 kB / 11.79 GB, free: 58.14 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.463/66.69, allocations: 62.92 MB / 11.86 GB, free: 130.2 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01377/66.7, allocations: 2.924 MB / 11.86 GB, free: 130.1 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006697/66.71, allocations: 138.9 kB / 11.86 GB, free: 130.1 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02575/66.73, allocations: 1.21 MB / 11.86 GB, free: 130.1 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004166/66.74, allocations: 0.5569 MB / 11.86 GB, free: 130 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002706/66.74, allocations: 304.8 kB / 11.86 GB, free: 130 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.02619/66.77, allocations: 8.793 MB / 11.87 GB, free: 129.7 MB / 1.104 GB Notification: Performance of sort global known variables: time 7.91e-07/66.77, allocations: 1.688 kB / 11.87 GB, free: 129.7 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.08114/66.85, allocations: 7.221 MB / 11.88 GB, free: 129.7 MB / 1.104 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * Number of states: 3 (valSouth.port_3.h_outflow,valNorth.port_3.h_outflow,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 (500): * Single equations (assignments): 478 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * 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 {(7,75.5%) 74} * Non-linear torn systems: 2 {37 57,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.4281/67.28, allocations: 68.6 MB / 11.94 GB, free: 123.3 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.1372/67.41, allocations: 36.09 MB / 11.98 GB, free: 122.1 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 2.341e-05/67.41, allocations: 6 kB / 11.98 GB, free: 122.1 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.04246/67.46, allocations: 11.12 MB / 11.99 GB, free: 121.6 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05218/67.51, allocations: 6.132 MB / 11.99 GB, free: 121.5 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1373/67.65, allocations: 30.17 MB / 12.02 GB, free: 117 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01426/67.66, allocations: 7.201 MB / 12.03 GB, free: 116 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.0452/67.71, allocations: 6.271 MB / 12.04 GB, free: 115.8 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01358/67.72, allocations: 5.806 MB / 12.04 GB, free: 115.8 MB / 1.104 GB Notification: Performance of SimCode: time 1.453e-06/67.72, allocations: 0 / 12.04 GB, free: 115.8 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.414/71.13, allocations: 0.5809 GB / 12.62 GB, free: 7.777 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003883/71.13, allocations: 238.6 kB / 12.62 GB, free: 7.504 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 34.76/105.9, allocations: 0 / 12.62 GB, free: 7.504 MB / 1.151 GB