Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example2,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.693/3.693, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.886e-05/3.9e-05, allocations: 11.92 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.596/0.596, allocations: 92.69 MB / 0.5896 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.076/1.672, allocations: 384.2 MB / 0.9649 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/1.672, allocations: 92.19 kB / 0.965 GB, free: 4.879 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.625/4.297, allocations: 477.7 MB / 1.431 GB, free: 187.9 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.024e-06/4.297, allocations: 0 / 1.431 GB, free: 187.9 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002433/4.297, allocations: 40.94 kB / 1.431 GB, free: 187.9 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.004352/4.302, allocations: 1.524 MB / 1.433 GB, free: 187.1 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/4.302, allocations: 9.875 kB / 1.433 GB, free: 187.1 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003417/4.302, allocations: 130.4 kB / 1.433 GB, free: 187.1 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002658/4.305, allocations: 282.2 kB / 1.433 GB, free: 187 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007575/4.312, allocations: 1.976 MB / 1.435 GB, free: 186.7 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.558e-05/4.313, allocations: 66.72 kB / 1.435 GB, free: 186.6 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/4.313, allocations: 92 kB / 1.435 GB, free: 186.6 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004347/4.317, allocations: 1.118 MB / 1.437 GB, free: 186.4 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.161e-05/4.317, allocations: 0 / 1.437 GB, free: 186.4 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/4.317, allocations: 39.12 kB / 1.437 GB, free: 186.4 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.277e-05/4.317, allocations: 21.28 kB / 1.437 GB, free: 186.4 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003801/4.321, allocations: 0.7872 MB / 1.437 GB, free: 186.4 MB / 0.7761 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.009122/4.33, allocations: 5.124 MB / 1.442 GB, free: 183.5 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003132/4.334, allocations: 0.6627 MB / 1.443 GB, free: 183.4 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007455/4.334, allocations: 304.3 kB / 1.443 GB, free: 183.4 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003046/4.337, allocations: 1.405 MB / 1.445 GB, free: 182.7 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002624/4.34, allocations: 496.7 kB / 1.445 GB, free: 182.6 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001017/4.341, allocations: 122.1 kB / 1.445 GB, free: 182.6 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=47): time 3.737e-06/4.341, allocations: 2.875 kB / 1.445 GB, free: 182.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=52): time 0.01418/4.355, allocations: 2.325 MB / 1.448 GB, free: 181.9 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.876e-05/4.356, allocations: 139.8 kB / 1.448 GB, free: 181.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002232/4.358, allocations: 1.115 MB / 1.449 GB, free: 181.6 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002389/4.358, allocations: 39.52 kB / 1.449 GB, free: 181.5 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007321/4.359, allocations: 0.6517 MB / 1.449 GB, free: 181.3 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003032/4.359, allocations: 186.8 kB / 1.45 GB, free: 181.2 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.958e-05/4.359, allocations: 18.28 kB / 1.45 GB, free: 181.2 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.91e-05/4.359, allocations: 339.2 kB / 1.45 GB, free: 180.9 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007028/4.36, allocations: 264.6 kB / 1.45 GB, free: 180.9 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008976/4.361, allocations: 0.6249 MB / 1.451 GB, free: 180.4 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008904/4.362, allocations: 389.2 kB / 1.451 GB, free: 180.4 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/4.362, allocations: 0 / 1.451 GB, free: 180.4 MB / 0.7761 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00758/4.369, allocations: 1.267 MB / 1.452 GB, free: 180.2 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.00081/4.37, allocations: 3.406 MB / 1.456 GB, free: 176.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.482e-05/4.37, allocations: 9.281 kB / 1.456 GB, free: 176.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007641/4.371, allocations: 218.6 kB / 1.456 GB, free: 176.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/4.372, allocations: 167.1 kB / 1.456 GB, free: 176.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003898/4.376, allocations: 0.9549 MB / 1.457 GB, free: 176.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002207/4.379, allocations: 89.03 kB / 1.457 GB, free: 176.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/4.379, allocations: 54.03 kB / 1.457 GB, free: 176.2 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/4.379, allocations: 3.594 kB / 1.457 GB, free: 176.2 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002205/4.381, allocations: 0.9161 MB / 1.458 GB, free: 176.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/4.381, allocations: 7.438 kB / 1.458 GB, free: 176.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003118/4.381, allocations: 108 kB / 1.458 GB, free: 176.1 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/4.383, allocations: 166.8 kB / 1.458 GB, free: 176.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00261/4.385, allocations: 2.15 MB / 1.46 GB, free: 174.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/4.387, allocations: 79.91 kB / 1.461 GB, free: 174.6 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/4.387, allocations: 42.55 kB / 1.461 GB, free: 174.6 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 81 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003421/4.387, allocations: 157 kB / 1.461 GB, free: 174.5 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002461/4.388, allocations: 125.5 kB / 1.461 GB, free: 174.5 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00713/4.395, allocations: 1.138 MB / 1.462 GB, free: 174.4 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.39e-05/4.395, allocations: 8.062 kB / 1.462 GB, free: 174.4 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/4.395, allocations: 2.344 kB / 1.462 GB, free: 174.4 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006365/4.401, allocations: 1.122 MB / 1.463 GB, free: 174 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009875/4.411, allocations: 2.382 MB / 1.465 GB, free: 173.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/4.411, allocations: 2.156 kB / 1.465 GB, free: 173.4 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009181/4.412, allocations: 96.19 kB / 1.466 GB, free: 173.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005953/4.413, allocations: 200 kB / 1.466 GB, free: 173.4 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.525e-05/4.413, allocations: 23.27 kB / 1.466 GB, free: 173.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01394/4.427, allocations: 3.301 MB / 1.469 GB, free: 172 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/4.427, allocations: 7.906 kB / 1.469 GB, free: 172 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008427/4.435, allocations: 1.578 MB / 1.47 GB, free: 171.6 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001417/4.437, allocations: 283.7 kB / 1.471 GB, free: 171.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005544/4.437, allocations: 12.06 kB / 1.471 GB, free: 171.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00251/4.44, allocations: 85.19 kB / 1.471 GB, free: 171.5 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002921/4.44, allocations: 56.31 kB / 1.471 GB, free: 171.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/4.44, allocations: 29.16 kB / 1.471 GB, free: 171.5 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001737/4.442, allocations: 0.864 MB / 1.472 GB, free: 171.3 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.21e-07/4.442, allocations: 2.969 kB / 1.472 GB, free: 171.3 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004107/4.446, allocations: 0.7253 MB / 1.472 GB, free: 171.3 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (pump_dp.vol.dynBal.medium.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00981/4.456, allocations: 3.071 MB / 1.475 GB, free: 170.1 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.006227/4.462, allocations: 1.464 MB / 1.477 GB, free: 169.8 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/4.463, allocations: 0 / 1.477 GB, free: 169.8 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.003774/4.466, allocations: 0.5844 MB / 1.477 GB, free: 169.6 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004467/4.471, allocations: 0.5875 MB / 1.478 GB, free: 169.6 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006485/4.477, allocations: 2.184 MB / 1.48 GB, free: 168.7 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000958/4.478, allocations: 1.31 MB / 1.481 GB, free: 168 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003582/4.482, allocations: 0.5756 MB / 1.482 GB, free: 167.9 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009784/4.483, allocations: 0.4932 MB / 1.483 GB, free: 167.6 MB / 0.7761 GB Notification: Performance of SimCode: time 1.744e-06/4.483, allocations: 3.844 kB / 1.483 GB, free: 167.6 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1366/4.62, allocations: 48.08 MB / 1.529 GB, free: 140.9 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002917/4.62, allocations: 228.4 kB / 1.53 GB, free: 140.6 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.569/9.189, allocations: 0 / 1.53 GB, free: 140.6 MB / 0.7761 GB