Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.798/3.798, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.799e-05/4.814e-05, allocations: 5.875 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6168/0.6169, allocations: 92.68 MB / 0.5896 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.145/1.762, allocations: 374.9 MB / 0.9558 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/1.762, allocations: 92.02 kB / 0.9559 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.489/3.251, allocations: 279.5 MB / 1.229 GB, free: 153 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.884e-06/3.251, allocations: 0 / 1.229 GB, free: 153 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.546e-05/3.251, allocations: 27.98 kB / 1.229 GB, free: 153 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002166/3.253, allocations: 1.013 MB / 1.23 GB, free: 151.9 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/3.253, allocations: 12.03 kB / 1.23 GB, free: 151.9 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001247/3.254, allocations: 86.52 kB / 1.23 GB, free: 151.8 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/3.255, allocations: 158.9 kB / 1.23 GB, free: 151.7 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/3.256, allocations: 0.5579 MB / 1.231 GB, free: 151.1 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.296e-05/3.256, allocations: 37 kB / 1.231 GB, free: 151 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/3.257, allocations: 63.95 kB / 1.231 GB, free: 151 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003887/3.26, allocations: 0.8007 MB / 1.231 GB, free: 150.1 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/3.26, allocations: 3.938 kB / 1.231 GB, free: 150.1 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.439e-05/3.261, allocations: 20 kB / 1.231 GB, free: 150.1 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.512e-05/3.261, allocations: 16 kB / 1.231 GB, free: 150.1 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00359/3.264, allocations: 0.5688 MB / 1.232 GB, free: 149.5 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005238/3.269, allocations: 3.192 MB / 1.235 GB, free: 146.1 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003293/3.273, allocations: 481.2 kB / 1.236 GB, free: 145.6 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002568/3.273, allocations: 120.2 kB / 1.236 GB, free: 145.5 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003238/3.273, allocations: 101.4 kB / 1.236 GB, free: 145.4 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/3.273, allocations: 46.52 kB / 1.236 GB, free: 145.3 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=23): time 2.695e-06/3.273, allocations: 0 / 1.236 GB, free: 145.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.006259/3.28, allocations: 0.7031 MB / 1.237 GB, free: 144.6 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/3.28, allocations: 158.2 kB / 1.237 GB, free: 144.4 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009496/3.281, allocations: 0.59 MB / 1.237 GB, free: 143.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.997e-05/3.281, allocations: 33.7 kB / 1.237 GB, free: 143.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002826/3.281, allocations: 383.6 kB / 1.238 GB, free: 143.4 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.333e-05/3.281, allocations: 82.84 kB / 1.238 GB, free: 143.3 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.295e-05/3.281, allocations: 8 kB / 1.238 GB, free: 143.3 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001127/3.281, allocations: 386.7 kB / 1.238 GB, free: 142.9 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004592/3.282, allocations: 157.1 kB / 1.238 GB, free: 142.8 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005863/3.283, allocations: 362.5 kB / 1.239 GB, free: 142.3 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005255/3.283, allocations: 206.5 kB / 1.239 GB, free: 142.1 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/3.283, allocations: 0 / 1.239 GB, free: 142.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001452/3.285, allocations: 0.5782 MB / 1.239 GB, free: 141.5 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003407/3.285, allocations: 1.829 MB / 1.241 GB, free: 139.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/3.285, allocations: 4 kB / 1.241 GB, free: 139.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.923e-05/3.285, allocations: 8 kB / 1.241 GB, free: 139.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005497/3.29, allocations: 439.5 kB / 1.242 GB, free: 139.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002746/3.293, allocations: 1.922 MB / 1.243 GB, free: 137.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/3.295, allocations: 143.3 kB / 1.244 GB, free: 137 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.125e-05/3.295, allocations: 31.98 kB / 1.244 GB, free: 137 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/3.295, allocations: 8 kB / 1.244 GB, free: 136.9 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001163/3.296, allocations: 467.4 kB / 1.244 GB, free: 136.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/3.296, allocations: 4.062 kB / 1.244 GB, free: 136.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/3.296, allocations: 12 kB / 1.244 GB, free: 136.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/3.298, allocations: 171.7 kB / 1.244 GB, free: 136.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/3.298, allocations: 8 kB / 1.244 GB, free: 136.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/3.299, allocations: 123.4 kB / 1.244 GB, free: 136.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.987e-05/3.299, allocations: 27.98 kB / 1.244 GB, free: 136.1 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002034/3.3, allocations: 139 kB / 1.245 GB, free: 136 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/3.3, allocations: 71.16 kB / 1.245 GB, free: 135.9 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/3.301, allocations: 357.1 kB / 1.245 GB, free: 135.6 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/3.301, allocations: 4 kB / 1.245 GB, free: 135.6 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/3.301, allocations: 7.984 kB / 1.245 GB, free: 135.6 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/3.301, allocations: 0 / 1.245 GB, free: 135.6 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002923/3.304, allocations: 1.357 MB / 1.246 GB, free: 134.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/3.304, allocations: 0 / 1.246 GB, free: 134.1 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005057/3.309, allocations: 407.7 kB / 1.247 GB, free: 133.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/3.309, allocations: 0 / 1.247 GB, free: 133.7 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.683e-05/3.309, allocations: 7.984 kB / 1.247 GB, free: 133.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008051/3.317, allocations: 4.323 MB / 1.251 GB, free: 129 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/3.317, allocations: 0 / 1.251 GB, free: 129 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/3.318, allocations: 0.51 MB / 1.251 GB, free: 128.5 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003925/3.319, allocations: 196 kB / 1.252 GB, free: 128.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/3.319, allocations: 4 kB / 1.252 GB, free: 128.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/3.32, allocations: 91.91 kB / 1.252 GB, free: 128.2 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/3.321, allocations: 31.89 kB / 1.252 GB, free: 128.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.286e-05/3.321, allocations: 11.98 kB / 1.252 GB, free: 128.1 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0007582/3.321, allocations: 463.1 kB / 1.252 GB, free: 127.7 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.71e-07/3.321, allocations: 0 / 1.252 GB, free: 127.7 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001701/3.323, allocations: 419.6 kB / 1.253 GB, free: 127.2 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00195/3.325, allocations: 1.598 MB / 1.254 GB, free: 125.6 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.005556/3.331, allocations: 0.889 MB / 1.255 GB, free: 124.7 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/3.331, allocations: 4.062 kB / 1.255 GB, free: 124.7 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.004238/3.335, allocations: 429.1 kB / 1.255 GB, free: 124.3 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003255/3.338, allocations: 361.8 kB / 1.256 GB, free: 123.9 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/3.341, allocations: 0.9632 MB / 1.257 GB, free: 122.9 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/3.342, allocations: 0.9317 MB / 1.258 GB, free: 122 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001404/3.343, allocations: 197.4 kB / 1.258 GB, free: 121.8 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000476/3.344, allocations: 251.3 kB / 1.258 GB, free: 121.5 MB / 0.7761 GB Notification: Performance of SimCode: time 1.072e-06/3.344, allocations: 0 / 1.258 GB, free: 121.5 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06312/3.407, allocations: 23.82 MB / 1.281 GB, free: 97.96 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002544/3.407, allocations: 228.5 kB / 1.282 GB, free: 97.71 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.596/7.003, allocations: 0 / 1.282 GB, free: 97.71 MB / 0.7761 GB