Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.343/4.343, allocations: 464.6 MB / 476.8 MB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.457e-05/3.456e-05, allocations: 4 kB / 0.5732 GB, free: 5.645 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2604, allocations: 107.2 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.373/1.633, allocations: 389.3 MB / 1.058 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003802/1.633, allocations: 97.84 kB / 1.058 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.396/3.029, allocations: 229.6 MB / 1.282 GB, free: 181.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.784e-06/3.03, allocations: 4 kB / 1.282 GB, free: 181.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.823e-05/3.03, allocations: 19.98 kB / 1.282 GB, free: 181.2 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002266/3.032, allocations: 0.9655 MB / 1.283 GB, free: 180.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/3.032, allocations: 8.031 kB / 1.283 GB, free: 180.2 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001222/3.032, allocations: 90.52 kB / 1.283 GB, free: 180.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/3.032, allocations: 86.92 kB / 1.283 GB, free: 180 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/3.034, allocations: 0.5112 MB / 1.284 GB, free: 179.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.341e-05/3.034, allocations: 37 kB / 1.284 GB, free: 179.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/3.034, allocations: 52 kB / 1.284 GB, free: 179.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/3.035, allocations: 0.5568 MB / 1.285 GB, free: 178.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/3.035, allocations: 7.953 kB / 1.285 GB, free: 178.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.25e-05/3.035, allocations: 20 kB / 1.285 GB, free: 178.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/3.035, allocations: 16 kB / 1.285 GB, free: 178.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009536/3.036, allocations: 389.2 kB / 1.285 GB, free: 178.3 MB / 0.8855 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.004888/3.041, allocations: 3.205 MB / 1.288 GB, free: 174.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007019/3.042, allocations: 289 kB / 1.288 GB, free: 174.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004099/3.042, allocations: 184.8 kB / 1.289 GB, free: 174.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003359/3.042, allocations: 352.4 kB / 1.289 GB, free: 174 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/3.042, allocations: 34.56 kB / 1.289 GB, free: 174 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=38): time 3.497e-06/3.042, allocations: 0 / 1.289 GB, free: 174 MB / 0.8855 GB Notification: Performance of matching and sorting (n=38): time 0.001237/3.044, allocations: 421.7 kB / 1.289 GB, free: 173.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/3.044, allocations: 55.5 kB / 1.289 GB, free: 173.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008048/3.044, allocations: 0.4956 MB / 1.29 GB, free: 173 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.676e-05/3.045, allocations: 37.7 kB / 1.29 GB, free: 172.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/3.045, allocations: 332.4 kB / 1.29 GB, free: 172.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/3.045, allocations: 134.1 kB / 1.29 GB, free: 172.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/3.045, allocations: 12 kB / 1.29 GB, free: 172.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001136/3.045, allocations: 374.7 kB / 1.291 GB, free: 172.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004308/3.046, allocations: 161.5 kB / 1.291 GB, free: 171.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005476/3.046, allocations: 340.1 kB / 1.291 GB, free: 171.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005138/3.047, allocations: 205.5 kB / 1.291 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/3.047, allocations: 0 / 1.291 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001527/3.048, allocations: 0.6014 MB / 1.292 GB, free: 170.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003945/3.049, allocations: 1.751 MB / 1.294 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/3.049, allocations: 7.938 kB / 1.294 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008931/3.05, allocations: 140.7 kB / 1.294 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/3.051, allocations: 155.8 kB / 1.294 GB, free: 168.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007412/3.052, allocations: 0.6147 MB / 1.295 GB, free: 167.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/3.053, allocations: 103.4 kB / 1.295 GB, free: 167.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-05/3.053, allocations: 35.98 kB / 1.295 GB, free: 167.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/3.053, allocations: 4 kB / 1.295 GB, free: 167.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001255/3.054, allocations: 0.4946 MB / 1.295 GB, free: 167.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/3.054, allocations: 4.062 kB / 1.295 GB, free: 167.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/3.054, allocations: 19.89 kB / 1.295 GB, free: 167.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/3.056, allocations: 163.7 kB / 1.295 GB, free: 167 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/3.056, allocations: 8 kB / 1.295 GB, free: 167 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/3.057, allocations: 99.47 kB / 1.295 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.38e-05/3.057, allocations: 31.98 kB / 1.295 GB, free: 166.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.0001983/3.057, allocations: 140.8 kB / 1.296 GB, free: 166.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/3.057, allocations: 67.14 kB / 1.296 GB, free: 166.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/3.059, allocations: 0.5616 MB / 1.296 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/3.059, allocations: 11.94 kB / 1.296 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/3.059, allocations: 4 kB / 1.296 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/3.059, allocations: 3.984 kB / 1.296 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002937/3.062, allocations: 1.261 MB / 1.297 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/3.062, allocations: 0 / 1.297 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006718/3.063, allocations: 95.97 kB / 1.298 GB, free: 164.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005793/3.063, allocations: 112.8 kB / 1.298 GB, free: 164.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.507e-05/3.063, allocations: 16 kB / 1.298 GB, free: 164.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006729/3.064, allocations: 0.6225 MB / 1.298 GB, free: 163.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/3.064, allocations: 0 / 1.298 GB, free: 163.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/3.065, allocations: 0.6472 MB / 1.299 GB, free: 163.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003827/3.066, allocations: 204 kB / 1.299 GB, free: 163 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/3.066, allocations: 8 kB / 1.299 GB, free: 163 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008402/3.067, allocations: 63.88 kB / 1.299 GB, free: 162.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/3.067, allocations: 35.91 kB / 1.299 GB, free: 162.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-05/3.067, allocations: 16 kB / 1.299 GB, free: 162.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006049/3.067, allocations: 387.2 kB / 1.3 GB, free: 162.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.01e-07/3.068, allocations: 0 / 1.3 GB, free: 162.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00176/3.069, allocations: 423.3 kB / 1.3 GB, free: 162.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002558/3.072, allocations: 1.735 MB / 1.302 GB, free: 160.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002158/3.074, allocations: 0.7504 MB / 1.302 GB, free: 159.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/3.074, allocations: 0 / 1.302 GB, free: 159.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007703/3.075, allocations: 245.1 kB / 1.303 GB, free: 159.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/3.077, allocations: 258.8 kB / 1.303 GB, free: 159.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002587/3.08, allocations: 0.93 MB / 1.304 GB, free: 158.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/3.08, allocations: 0.9247 MB / 1.305 GB, free: 157.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001157/3.082, allocations: 180.8 kB / 1.305 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000416/3.082, allocations: 235.3 kB / 1.305 GB, free: 156.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.223e-06/3.082, allocations: 4 kB / 1.305 GB, free: 156.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06193/3.144, allocations: 20.46 MB / 1.325 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002662/3.144, allocations: 254.3 kB / 1.325 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.349/6.494, allocations: 3.938 kB / 1.325 GB, free: 136.2 MB / 0.8855 GB