Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.54/4.54, allocations: 460.4 MB / 472.6 MB, free: 5.391 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.753e-05/3.754e-05, allocations: 4 kB / 0.5682 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2506, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.225/1.475, allocations: 393 MB / 1.056 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003642/1.476, allocations: 100.6 kB / 1.056 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.764/3.24, allocations: 351.9 MB / 1.4 GB, free: 36.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.943e-06/3.24, allocations: 0 / 1.4 GB, free: 36.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001246/3.24, allocations: 35.92 kB / 1.4 GB, free: 36.27 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.003211/3.243, allocations: 1.161 MB / 1.401 GB, free: 35.06 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/3.243, allocations: 8.031 kB / 1.401 GB, free: 35.05 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001999/3.243, allocations: 94.52 kB / 1.401 GB, free: 34.95 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005015/3.244, allocations: 118.7 kB / 1.401 GB, free: 34.83 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002056/3.246, allocations: 0.6568 MB / 1.402 GB, free: 34.13 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.216e-05/3.246, allocations: 68.94 kB / 1.402 GB, free: 34.06 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002303/3.246, allocations: 88 kB / 1.402 GB, free: 33.98 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/3.248, allocations: 0.5004 MB / 1.402 GB, free: 33.45 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/3.248, allocations: 0 / 1.402 GB, free: 33.45 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.616e-05/3.248, allocations: 31.89 kB / 1.402 GB, free: 33.42 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/3.248, allocations: 12 kB / 1.402 GB, free: 33.41 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008868/3.249, allocations: 341.9 kB / 1.403 GB, free: 33.07 MB / 0.8698 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.006078/3.255, allocations: 2.521 MB / 1.405 GB, free: 30.41 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006322/3.255, allocations: 239.5 kB / 1.405 GB, free: 30.17 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007249/3.256, allocations: 116.8 kB / 1.405 GB, free: 30.05 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005154/3.257, allocations: 344.9 kB / 1.406 GB, free: 29.64 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/3.257, allocations: 38.56 kB / 1.406 GB, free: 29.59 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=29): time 4.048e-06/3.257, allocations: 4 kB / 1.406 GB, free: 29.59 MB / 0.8698 GB Notification: Performance of matching and sorting (n=29): time 0.00172/3.259, allocations: 336.7 kB / 1.406 GB, free: 29.25 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/3.259, allocations: 59.34 kB / 1.406 GB, free: 29.18 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/3.26, allocations: 0.6452 MB / 1.407 GB, free: 28.53 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002336/3.261, allocations: 49.7 kB / 1.407 GB, free: 28.48 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006374/3.261, allocations: 434.5 kB / 1.407 GB, free: 28.04 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/3.261, allocations: 94.64 kB / 1.407 GB, free: 27.95 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.443e-05/3.262, allocations: 12 kB / 1.407 GB, free: 27.93 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001004/3.262, allocations: 333.9 kB / 1.408 GB, free: 27.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006145/3.262, allocations: 129.1 kB / 1.408 GB, free: 27.48 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001775/3.264, allocations: 0.7613 MB / 1.408 GB, free: 26.49 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008093/3.265, allocations: 211.8 kB / 1.409 GB, free: 26.29 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/3.265, allocations: 7.984 kB / 1.409 GB, free: 26.28 MB / 0.8698 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002226/3.267, allocations: 0.4989 MB / 1.409 GB, free: 25.77 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002613/3.267, allocations: 0.7979 MB / 1.41 GB, free: 24.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/3.267, allocations: 3.953 kB / 1.41 GB, free: 24.91 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.62e-05/3.268, allocations: 4 kB / 1.41 GB, free: 24.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002425/3.27, allocations: 175.7 kB / 1.41 GB, free: 24.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/3.271, allocations: 2.356 MB / 1.412 GB, free: 22.28 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003227/3.275, allocations: 399.7 kB / 1.413 GB, free: 21.89 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/3.275, allocations: 23.98 kB / 1.413 GB, free: 21.87 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/3.275, allocations: 4.219 kB / 1.413 GB, free: 21.86 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001022/3.276, allocations: 394.3 kB / 1.413 GB, free: 21.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/3.276, allocations: 3.938 kB / 1.413 GB, free: 21.47 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/3.276, allocations: 4 kB / 1.413 GB, free: 21.47 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/3.277, allocations: 143.7 kB / 1.413 GB, free: 21.33 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/3.277, allocations: 8 kB / 1.413 GB, free: 21.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00304/3.28, allocations: 383.7 kB / 1.414 GB, free: 20.95 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-05/3.28, allocations: 23.98 kB / 1.414 GB, free: 20.92 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002398/3.28, allocations: 141.4 kB / 1.414 GB, free: 20.78 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/3.28, allocations: 82.97 kB / 1.414 GB, free: 20.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/3.282, allocations: 429.7 kB / 1.414 GB, free: 20.27 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/3.282, allocations: 7.984 kB / 1.414 GB, free: 20.26 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/3.282, allocations: 3.953 kB / 1.414 GB, free: 20.25 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/3.282, allocations: 4 kB / 1.414 GB, free: 20.25 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002188/3.284, allocations: 1.086 MB / 1.415 GB, free: 19.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/3.284, allocations: 8 kB / 1.415 GB, free: 19.09 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008154/3.285, allocations: 107.8 kB / 1.416 GB, free: 18.98 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/3.285, allocations: 4.312 kB / 1.416 GB, free: 18.98 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/3.285, allocations: 15.98 kB / 1.416 GB, free: 18.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008831/3.286, allocations: 2.348 MB / 1.418 GB, free: 16.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/3.286, allocations: 3.938 kB / 1.418 GB, free: 16.52 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009086/3.287, allocations: 0.5354 MB / 1.418 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003869/3.287, allocations: 203.9 kB / 1.419 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/3.287, allocations: 8 kB / 1.419 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009059/3.288, allocations: 55.84 kB / 1.419 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.963e-05/3.288, allocations: 31.91 kB / 1.419 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/3.288, allocations: 19.98 kB / 1.419 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008258/3.289, allocations: 0.4913 MB / 1.419 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.7e-07/3.289, allocations: 0 / 1.419 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002014/3.291, allocations: 0.5032 MB / 1.42 GB, free: 14.61 MB / 0.8698 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 (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002207/3.293, allocations: 1.725 MB / 1.421 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002613/3.296, allocations: 0.6369 MB / 1.422 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/3.296, allocations: 0 / 1.422 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006303/3.297, allocations: 171.8 kB / 1.422 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003645/3.3, allocations: 413.8 kB / 1.423 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/3.304, allocations: 1.112 MB / 1.424 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/3.304, allocations: 0.9915 MB / 1.425 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001518/3.306, allocations: 213.9 kB / 1.425 GB, free: 9.223 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004547/3.306, allocations: 299.3 kB / 1.425 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of SimCode: time 1.182e-06/3.306, allocations: 0 / 1.425 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7289/4.035, allocations: 29.72 MB / 1.454 GB, free: 208 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002915/4.035, allocations: 231.3 kB / 1.454 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.887/7.922, allocations: 0 / 1.454 GB, free: 207.8 MB / 0.8698 GB