Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.855/3.855, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.929e-05/4.944e-05, allocations: 11.94 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.708/0.7081, allocations: 92.69 MB / 0.5896 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.3/2.008, allocations: 372.2 MB / 0.9531 GB, free: 0.8828 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003668/2.009, allocations: 90.56 kB / 0.9531 GB, free: 0.8359 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.336/3.345, allocations: 222.5 MB / 1.17 GB, free: 212.7 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.733e-06/3.345, allocations: 0 / 1.17 GB, free: 212.7 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.826e-05/3.345, allocations: 26.83 kB / 1.171 GB, free: 212.7 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.002465/3.347, allocations: 0.9755 MB / 1.171 GB, free: 211.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/3.347, allocations: 12.03 kB / 1.171 GB, free: 211.7 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001554/3.347, allocations: 94.52 kB / 1.172 GB, free: 211.6 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002733/3.35, allocations: 262.8 kB / 1.172 GB, free: 211.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/3.352, allocations: 0.5217 MB / 1.172 GB, free: 210.8 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.054e-05/3.352, allocations: 41.31 kB / 1.172 GB, free: 210.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/3.352, allocations: 56 kB / 1.172 GB, free: 210.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006671/3.358, allocations: 1.131 MB / 1.174 GB, free: 209.4 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/3.359, allocations: 4 kB / 1.174 GB, free: 209.4 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.311e-05/3.359, allocations: 26.42 kB / 1.174 GB, free: 209.4 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.991e-05/3.359, allocations: 16 kB / 1.174 GB, free: 209.4 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006257/3.365, allocations: 0.881 MB / 1.174 GB, free: 208.5 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006397/3.371, allocations: 4.422 MB / 1.179 GB, free: 203.9 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00603/3.378, allocations: 0.7401 MB / 1.179 GB, free: 203.1 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005588/3.378, allocations: 224.8 kB / 1.18 GB, free: 202.9 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.916e-05/3.378, allocations: 19.66 kB / 1.18 GB, free: 202.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/3.378, allocations: 38.84 kB / 1.18 GB, free: 202.8 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=38): time 3.306e-06/3.378, allocations: 4 kB / 1.18 GB, free: 202.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=38): time 0.01195/3.39, allocations: 1.221 MB / 1.181 GB, free: 201.6 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/3.39, allocations: 158.2 kB / 1.181 GB, free: 201.4 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000908/3.391, allocations: 0.5346 MB / 1.182 GB, free: 200.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.00018/3.392, allocations: 37.83 kB / 1.182 GB, free: 200.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002741/3.392, allocations: 370.7 kB / 1.182 GB, free: 200.4 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/3.392, allocations: 139.9 kB / 1.182 GB, free: 200.3 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.002e-05/3.392, allocations: 12 kB / 1.182 GB, free: 200.3 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001263/3.392, allocations: 378.7 kB / 1.182 GB, free: 199.9 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007562/3.393, allocations: 257.5 kB / 1.183 GB, free: 199.7 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008822/3.394, allocations: 0.4942 MB / 1.183 GB, free: 199.1 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008235/3.395, allocations: 297.7 kB / 1.184 GB, free: 198.8 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/3.395, allocations: 4 kB / 1.184 GB, free: 198.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002522/3.397, allocations: 0.8664 MB / 1.184 GB, free: 197.9 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006039/3.398, allocations: 2.799 MB / 1.187 GB, free: 194.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/3.398, allocations: 8 kB / 1.187 GB, free: 194.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000743/3.399, allocations: 176.8 kB / 1.187 GB, free: 194.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002469/3.401, allocations: 247.6 kB / 1.188 GB, free: 194.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002574/3.404, allocations: 0.7514 MB / 1.188 GB, free: 193.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00259/3.406, allocations: 191.1 kB / 1.188 GB, free: 193.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/3.407, allocations: 47.95 kB / 1.188 GB, free: 193.4 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/3.407, allocations: 4 kB / 1.188 GB, free: 193.4 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002113/3.409, allocations: 0.7398 MB / 1.189 GB, free: 192.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/3.409, allocations: 8.953 kB / 1.189 GB, free: 192.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/3.409, allocations: 12 kB / 1.189 GB, free: 192.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002586/3.411, allocations: 279.5 kB / 1.189 GB, free: 192.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-05/3.412, allocations: 19.92 kB / 1.189 GB, free: 192.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002421/3.414, allocations: 175.3 kB / 1.19 GB, free: 192.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/3.414, allocations: 40.02 kB / 1.19 GB, free: 192.2 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * 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 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003116/3.414, allocations: 152.7 kB / 1.19 GB, free: 192 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003158/3.415, allocations: 71.14 kB / 1.19 GB, free: 191.9 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002167/3.417, allocations: 0.6332 MB / 1.191 GB, free: 191.3 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/3.417, allocations: 4 kB / 1.191 GB, free: 191.3 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/3.417, allocations: 7.953 kB / 1.191 GB, free: 191.3 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/3.417, allocations: 3.984 kB / 1.191 GB, free: 191.3 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00959/3.427, allocations: 2.21 MB / 1.193 GB, free: 189 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/3.427, allocations: 0 / 1.193 GB, free: 189 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001749/3.429, allocations: 159.9 kB / 1.193 GB, free: 188.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006252/3.429, allocations: 172.7 kB / 1.193 GB, free: 188.7 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/3.429, allocations: 19.97 kB / 1.193 GB, free: 188.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002491/3.432, allocations: 0.7475 MB / 1.194 GB, free: 187.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/3.432, allocations: 4.031 kB / 1.194 GB, free: 187.9 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005784/3.438, allocations: 1.103 MB / 1.195 GB, free: 186.7 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007608/3.438, allocations: 215.9 kB / 1.195 GB, free: 186.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/3.439, allocations: 8 kB / 1.195 GB, free: 186.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002205/3.441, allocations: 135.9 kB / 1.195 GB, free: 186.3 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/3.441, allocations: 35.89 kB / 1.195 GB, free: 186.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.496e-05/3.441, allocations: 27.97 kB / 1.195 GB, free: 186.3 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0007065/3.442, allocations: 403.2 kB / 1.196 GB, free: 185.9 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.71e-07/3.442, allocations: 0 / 1.196 GB, free: 185.9 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002058/3.444, allocations: 415.5 kB / 1.196 GB, free: 185.5 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.006723/3.451, allocations: 2.142 MB / 1.198 GB, free: 183.3 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.005114/3.456, allocations: 1.151 MB / 1.199 GB, free: 182.2 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/3.456, allocations: 0.5625 kB / 1.199 GB, free: 182.2 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.002659/3.459, allocations: 387.9 kB / 1.2 GB, free: 181.8 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002786/3.461, allocations: 289.3 kB / 1.2 GB, free: 181.5 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0036/3.465, allocations: 1.015 MB / 1.201 GB, free: 180.4 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/3.466, allocations: 0.9242 MB / 1.202 GB, free: 179.5 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001925/3.467, allocations: 209.5 kB / 1.202 GB, free: 179.3 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006796/3.468, allocations: 255.3 kB / 1.202 GB, free: 179 MB / 0.7761 GB Notification: Performance of SimCode: time 1.102e-06/3.468, allocations: 4 kB / 1.202 GB, free: 179 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08881/3.557, allocations: 23.3 MB / 1.225 GB, free: 155.9 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002511/3.557, allocations: 258.7 kB / 1.225 GB, free: 155.6 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.663/7.221, allocations: 0 / 1.225 GB, free: 155.6 MB / 0.7761 GB