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.914/3.914, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.144e-05/4.153e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.678/0.678, allocations: 92.68 MB / 0.5896 GB, free: 14.41 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.124/1.802, allocations: 374.9 MB / 0.9558 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000374/1.803, allocations: 95.62 kB / 0.9559 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.493/3.296, allocations: 279.5 MB / 1.229 GB, free: 152.8 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.963e-06/3.296, allocations: 0 / 1.229 GB, free: 152.8 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.378e-05/3.296, allocations: 27.98 kB / 1.229 GB, free: 152.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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002233/3.298, allocations: 1.013 MB / 1.23 GB, free: 151.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/3.298, allocations: 8.031 kB / 1.23 GB, free: 151.7 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001251/3.298, allocations: 90.45 kB / 1.23 GB, free: 151.6 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/3.299, allocations: 162.9 kB / 1.23 GB, free: 151.4 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/3.301, allocations: 0.5501 MB / 1.231 GB, free: 150.8 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.272e-05/3.301, allocations: 41 kB / 1.231 GB, free: 150.8 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/3.301, allocations: 59.95 kB / 1.231 GB, free: 150.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003927/3.305, allocations: 0.7988 MB / 1.231 GB, free: 149.9 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/3.305, allocations: 4 kB / 1.231 GB, free: 149.9 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.413e-05/3.305, allocations: 20 kB / 1.231 GB, free: 149.8 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/3.305, allocations: 20 kB / 1.232 GB, free: 149.8 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003615/3.309, allocations: 0.5556 MB / 1.232 GB, free: 149.3 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005425/3.314, allocations: 3.196 MB / 1.235 GB, free: 145.9 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003382/3.318, allocations: 464.9 kB / 1.236 GB, free: 145.4 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002657/3.318, allocations: 120.2 kB / 1.236 GB, free: 145.3 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003241/3.318, allocations: 101.1 kB / 1.236 GB, free: 145.1 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/3.318, allocations: 47.23 kB / 1.236 GB, free: 145.1 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=23): time 3.236e-06/3.318, allocations: 0 / 1.236 GB, free: 145.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.006324/3.325, allocations: 0.6915 MB / 1.237 GB, free: 144.4 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/3.325, allocations: 162.2 kB / 1.237 GB, free: 144.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009911/3.326, allocations: 0.5939 MB / 1.237 GB, free: 143.6 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.84e-05/3.326, allocations: 33.7 kB / 1.237 GB, free: 143.6 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000288/3.326, allocations: 383.6 kB / 1.238 GB, free: 143.2 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.611e-05/3.326, allocations: 78.91 kB / 1.238 GB, free: 143.1 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.288e-05/3.326, allocations: 12 kB / 1.238 GB, free: 143.1 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001176/3.327, allocations: 382.8 kB / 1.238 GB, free: 142.7 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004803/3.327, allocations: 153.1 kB / 1.238 GB, free: 142.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000594/3.328, allocations: 365.3 kB / 1.239 GB, free: 142.1 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005324/3.328, allocations: 206.5 kB / 1.239 GB, free: 141.9 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/3.328, allocations: 0 / 1.239 GB, free: 141.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0015/3.33, allocations: 0.5627 MB / 1.239 GB, free: 141.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003635/3.33, allocations: 1.833 MB / 1.241 GB, free: 139.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/3.33, allocations: 4 kB / 1.241 GB, free: 139.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.927e-05/3.33, allocations: 8 kB / 1.241 GB, free: 139.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005583/3.336, allocations: 439.5 kB / 1.242 GB, free: 138.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002787/3.339, allocations: 1.914 MB / 1.243 GB, free: 136.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/3.341, allocations: 151.2 kB / 1.244 GB, free: 136.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-05/3.341, allocations: 28.08 kB / 1.244 GB, free: 136.8 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/3.341, allocations: 13.34 kB / 1.244 GB, free: 136.7 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001157/3.342, allocations: 447.6 kB / 1.244 GB, free: 136.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/3.342, allocations: 16.03 kB / 1.244 GB, free: 136.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/3.342, allocations: 11.98 kB / 1.244 GB, free: 136.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/3.343, allocations: 167.8 kB / 1.244 GB, free: 136.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/3.343, allocations: 7.938 kB / 1.244 GB, free: 136.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/3.345, allocations: 119.5 kB / 1.244 GB, free: 136 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.271e-05/3.345, allocations: 27.98 kB / 1.244 GB, free: 136 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.0002269/3.345, allocations: 140.8 kB / 1.245 GB, free: 135.8 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002299/3.346, allocations: 75.09 kB / 1.245 GB, free: 135.7 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/3.347, allocations: 351.6 kB / 1.245 GB, free: 135.4 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/3.347, allocations: 4 kB / 1.245 GB, free: 135.4 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/3.347, allocations: 4 kB / 1.245 GB, free: 135.4 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/3.347, allocations: 3.984 kB / 1.245 GB, free: 135.4 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003086/3.35, allocations: 1.363 MB / 1.246 GB, free: 133.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/3.35, allocations: 4 kB / 1.246 GB, free: 133.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005127/3.355, allocations: 399.7 kB / 1.247 GB, free: 133.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/3.355, allocations: 0 / 1.247 GB, free: 133.6 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.763e-05/3.355, allocations: 11.98 kB / 1.247 GB, free: 133.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008174/3.363, allocations: 4.308 MB / 1.251 GB, free: 128.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/3.363, allocations: 7.984 kB / 1.251 GB, free: 128.8 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/3.365, allocations: 0.5123 MB / 1.251 GB, free: 128.3 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004097/3.365, allocations: 176.2 kB / 1.252 GB, free: 128.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/3.365, allocations: 11.98 kB / 1.252 GB, free: 128.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001498/3.367, allocations: 95.75 kB / 1.252 GB, free: 128 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/3.367, allocations: 31.95 kB / 1.252 GB, free: 127.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.368e-05/3.367, allocations: 11.98 kB / 1.252 GB, free: 127.9 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0007583/3.368, allocations: 459.2 kB / 1.252 GB, free: 127.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4.91e-07/3.368, allocations: 0 / 1.252 GB, free: 127.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001774/3.369, allocations: 415.5 kB / 1.253 GB, free: 127.1 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.002015/3.371, allocations: 1.604 MB / 1.254 GB, free: 125.4 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.005693/3.377, allocations: 0.8645 MB / 1.255 GB, free: 124.6 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/3.377, allocations: 1.5 kB / 1.255 GB, free: 124.6 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.004314/3.382, allocations: 428.7 kB / 1.255 GB, free: 124.1 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003289/3.385, allocations: 367.9 kB / 1.256 GB, free: 123.8 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/3.388, allocations: 0.9631 MB / 1.257 GB, free: 122.8 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/3.388, allocations: 0.9356 MB / 1.258 GB, free: 121.8 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001482/3.39, allocations: 201.5 kB / 1.258 GB, free: 121.6 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004782/3.39, allocations: 247.3 kB / 1.258 GB, free: 121.4 MB / 0.7761 GB Notification: Performance of SimCode: time 1.172e-06/3.39, allocations: 0 / 1.258 GB, free: 121.4 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06249/3.453, allocations: 23.8 MB / 1.281 GB, free: 97.82 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/3.453, allocations: 231.2 kB / 1.281 GB, free: 97.59 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.662/7.116, allocations: 4 kB / 1.281 GB, free: 97.58 MB / 0.7761 GB