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.998/3.998, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.102e-05/4.106e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6198/0.6199, allocations: 92.68 MB / 0.5897 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.103/1.723, allocations: 372.2 MB / 0.9531 GB, free: 0.6758 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003666/1.724, allocations: 95.2 kB / 0.9532 GB, free: 0.625 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.337/3.061, allocations: 222.5 MB / 1.171 GB, free: 212.5 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.824e-06/3.061, allocations: 0 / 1.171 GB, free: 212.5 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.648e-05/3.061, allocations: 22.12 kB / 1.171 GB, free: 212.5 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.002592/3.064, allocations: 0.9851 MB / 1.171 GB, free: 211.5 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/3.064, allocations: 8.031 kB / 1.171 GB, free: 211.5 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001733/3.064, allocations: 94.52 kB / 1.172 GB, free: 211.4 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002862/3.067, allocations: 262.8 kB / 1.172 GB, free: 211.1 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/3.068, allocations: 0.5204 MB / 1.172 GB, free: 210.6 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.402e-05/3.068, allocations: 45.31 kB / 1.172 GB, free: 210.5 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/3.068, allocations: 56 kB / 1.172 GB, free: 210.5 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006777/3.075, allocations: 1.123 MB / 1.174 GB, free: 209.2 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/3.075, allocations: 7.938 kB / 1.174 GB, free: 209.2 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.195e-05/3.075, allocations: 28 kB / 1.174 GB, free: 209.2 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.949e-05/3.075, allocations: 16 kB / 1.174 GB, free: 209.2 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006499/3.082, allocations: 0.8562 MB / 1.174 GB, free: 208.3 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006624/3.089, allocations: 4.422 MB / 1.179 GB, free: 203.7 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006116/3.095, allocations: 0.7439 MB / 1.179 GB, free: 202.9 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005945/3.095, allocations: 228.7 kB / 1.18 GB, free: 202.7 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-05/3.096, allocations: 19 kB / 1.18 GB, free: 202.6 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/3.096, allocations: 38.84 kB / 1.18 GB, free: 202.6 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=38): time 3.557e-06/3.096, allocations: 0 / 1.18 GB, free: 202.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=38): time 0.01193/3.108, allocations: 1.222 MB / 1.181 GB, free: 201.4 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/3.108, allocations: 158.2 kB / 1.181 GB, free: 201.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008976/3.109, allocations: 0.5269 MB / 1.182 GB, free: 200.6 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001506/3.109, allocations: 37.7 kB / 1.182 GB, free: 200.6 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002663/3.109, allocations: 375.3 kB / 1.182 GB, free: 200.2 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/3.109, allocations: 137.3 kB / 1.182 GB, free: 200.1 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.966e-05/3.109, allocations: 12 kB / 1.182 GB, free: 200.1 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001227/3.109, allocations: 382.7 kB / 1.182 GB, free: 199.7 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007454/3.11, allocations: 253.5 kB / 1.183 GB, free: 199.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008815/3.111, allocations: 0.4888 MB / 1.183 GB, free: 198.9 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008126/3.112, allocations: 304.6 kB / 1.184 GB, free: 198.6 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/3.112, allocations: 4 kB / 1.184 GB, free: 198.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002509/3.114, allocations: 0.8475 MB / 1.184 GB, free: 197.7 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006152/3.115, allocations: 2.791 MB / 1.187 GB, free: 194.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/3.115, allocations: 11.94 kB / 1.187 GB, free: 194.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007433/3.116, allocations: 168.8 kB / 1.187 GB, free: 194.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002474/3.118, allocations: 247.6 kB / 1.187 GB, free: 194.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002575/3.121, allocations: 0.7514 MB / 1.188 GB, free: 193.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00257/3.124, allocations: 195.1 kB / 1.188 GB, free: 193.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/3.124, allocations: 47.95 kB / 1.188 GB, free: 193.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/3.124, allocations: 4 kB / 1.188 GB, free: 193.3 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002031/3.126, allocations: 0.7244 MB / 1.189 GB, free: 192.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/3.126, allocations: 8 kB / 1.189 GB, free: 192.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/3.126, allocations: 12 kB / 1.189 GB, free: 192.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002539/3.128, allocations: 272.3 kB / 1.189 GB, free: 192.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.029e-05/3.128, allocations: 19.92 kB / 1.189 GB, free: 192.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002341/3.131, allocations: 175.3 kB / 1.19 GB, free: 192.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/3.131, allocations: 51.97 kB / 1.19 GB, free: 192 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.0002889/3.131, allocations: 148.2 kB / 1.19 GB, free: 191.9 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002588/3.132, allocations: 71.14 kB / 1.19 GB, free: 191.8 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002056/3.134, allocations: 0.6332 MB / 1.19 GB, free: 191.1 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/3.134, allocations: 4 kB / 1.19 GB, free: 191.1 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/3.134, allocations: 7.953 kB / 1.191 GB, free: 191.1 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/3.134, allocations: 3.984 kB / 1.191 GB, free: 191.1 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009101/3.143, allocations: 2.202 MB / 1.193 GB, free: 188.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/3.143, allocations: 3.984 kB / 1.193 GB, free: 188.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001786/3.145, allocations: 159.9 kB / 1.193 GB, free: 188.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006302/3.145, allocations: 168.8 kB / 1.193 GB, free: 188.5 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/3.145, allocations: 27.91 kB / 1.193 GB, free: 188.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00251/3.148, allocations: 0.7475 MB / 1.194 GB, free: 187.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/3.148, allocations: 4.031 kB / 1.194 GB, free: 187.7 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005753/3.154, allocations: 1.095 MB / 1.195 GB, free: 186.6 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006597/3.154, allocations: 211.9 kB / 1.195 GB, free: 186.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/3.155, allocations: 16 kB / 1.195 GB, free: 186.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002214/3.157, allocations: 139.7 kB / 1.195 GB, free: 186.2 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/3.157, allocations: 39.89 kB / 1.195 GB, free: 186.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.001e-05/3.157, allocations: 27.97 kB / 1.195 GB, free: 186.1 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0006681/3.158, allocations: 403.2 kB / 1.196 GB, free: 185.7 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4.1e-07/3.158, allocations: 0 / 1.196 GB, free: 185.7 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00196/3.16, allocations: 407.6 kB / 1.196 GB, free: 185.3 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.006702/3.167, allocations: 2.148 MB / 1.198 GB, free: 183.2 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.004927/3.172, allocations: 1.126 MB / 1.199 GB, free: 182 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/3.172, allocations: 4 kB / 1.199 GB, free: 182 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.002637/3.174, allocations: 380 kB / 1.2 GB, free: 181.7 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/3.177, allocations: 288.5 kB / 1.2 GB, free: 181.4 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003462/3.181, allocations: 1.003 MB / 1.201 GB, free: 180.3 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/3.181, allocations: 0.9241 MB / 1.202 GB, free: 179.4 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.00189/3.183, allocations: 221.4 kB / 1.202 GB, free: 179.1 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006439/3.184, allocations: 255.3 kB / 1.202 GB, free: 178.9 MB / 0.7761 GB Notification: Performance of SimCode: time 1.152e-06/3.184, allocations: 0 / 1.202 GB, free: 178.9 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07972/3.263, allocations: 23.28 MB / 1.225 GB, free: 155.9 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002287/3.264, allocations: 250.4 kB / 1.225 GB, free: 155.5 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.509/6.772, allocations: 0 / 1.225 GB, free: 155.5 MB / 0.7761 GB