Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.568/4.568, allocations: 464.6 MB / 476.8 MB, free: 2.188 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.823e-05/3.817e-05, allocations: 4 kB / 0.5732 GB, free: 5.625 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2573, allocations: 107.2 MB / 0.6778 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.302/1.56, allocations: 393.5 MB / 1.062 GB, free: 8.305 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00038/1.56, allocations: 96.81 kB / 1.062 GB, free: 8.254 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.788/3.348, allocations: 352 MB / 1.406 GB, free: 53.52 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.114e-06/3.348, allocations: 0 / 1.406 GB, free: 53.52 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.879e-05/3.348, allocations: 28 kB / 1.406 GB, free: 53.5 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002702/3.351, allocations: 1.167 MB / 1.407 GB, free: 52.28 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/3.351, allocations: 11.97 kB / 1.407 GB, free: 52.27 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000133/3.351, allocations: 90.52 kB / 1.407 GB, free: 52.17 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003333/3.351, allocations: 122.6 kB / 1.407 GB, free: 52.05 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/3.353, allocations: 0.6569 MB / 1.408 GB, free: 51.36 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.019e-05/3.353, allocations: 64.94 kB / 1.408 GB, free: 51.29 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002002/3.353, allocations: 88 kB / 1.408 GB, free: 51.21 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/3.355, allocations: 0.5082 MB / 1.409 GB, free: 50.67 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/3.355, allocations: 0 / 1.409 GB, free: 50.67 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.474e-05/3.355, allocations: 23.98 kB / 1.409 GB, free: 50.65 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/3.355, allocations: 12 kB / 1.409 GB, free: 50.64 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008663/3.356, allocations: 333.9 kB / 1.409 GB, free: 50.31 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.005661/3.361, allocations: 2.525 MB / 1.411 GB, free: 47.65 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006144/3.362, allocations: 244.5 kB / 1.412 GB, free: 47.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/3.362, allocations: 120.8 kB / 1.412 GB, free: 47.28 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003365/3.363, allocations: 348.3 kB / 1.412 GB, free: 46.86 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/3.363, allocations: 39.28 kB / 1.412 GB, free: 46.82 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=29): time 3.947e-06/3.363, allocations: 0 / 1.412 GB, free: 46.82 MB / 0.8855 GB Notification: Performance of matching and sorting (n=29): time 0.001085/3.364, allocations: 336.7 kB / 1.412 GB, free: 46.48 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/3.364, allocations: 55.41 kB / 1.412 GB, free: 46.41 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/3.365, allocations: 0.653 MB / 1.413 GB, free: 45.75 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001494/3.365, allocations: 49.7 kB / 1.413 GB, free: 45.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004009/3.365, allocations: 430.6 kB / 1.414 GB, free: 45.27 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.399e-05/3.366, allocations: 98.55 kB / 1.414 GB, free: 45.17 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/3.366, allocations: 12 kB / 1.414 GB, free: 45.16 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.991e-05/3.366, allocations: 322 kB / 1.414 GB, free: 44.84 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00037/3.366, allocations: 137.1 kB / 1.414 GB, free: 44.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/3.367, allocations: 0.7691 MB / 1.415 GB, free: 43.71 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004933/3.368, allocations: 212.2 kB / 1.415 GB, free: 43.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/3.368, allocations: 0 / 1.415 GB, free: 43.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001397/3.369, allocations: 0.5028 MB / 1.416 GB, free: 42.99 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001865/3.369, allocations: 0.7979 MB / 1.416 GB, free: 42.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/3.369, allocations: 0 / 1.416 GB, free: 42.13 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/3.369, allocations: 8.094 kB / 1.416 GB, free: 42.12 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/3.371, allocations: 171.7 kB / 1.417 GB, free: 41.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/3.373, allocations: 2.368 MB / 1.419 GB, free: 39.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003369/3.376, allocations: 399.6 kB / 1.419 GB, free: 39.11 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001627/3.376, allocations: 27.98 kB / 1.419 GB, free: 39.08 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/3.376, allocations: 4 kB / 1.419 GB, free: 39.07 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001075/3.377, allocations: 386.2 kB / 1.42 GB, free: 38.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/3.377, allocations: 4 kB / 1.42 GB, free: 38.69 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/3.377, allocations: 4 kB / 1.42 GB, free: 38.69 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/3.378, allocations: 148 kB / 1.42 GB, free: 38.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/3.378, allocations: 4 kB / 1.42 GB, free: 38.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003222/3.382, allocations: 379.6 kB / 1.42 GB, free: 38.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/3.382, allocations: 23.98 kB / 1.42 GB, free: 38.14 MB / 0.8855 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.0002794/3.382, allocations: 153.4 kB / 1.42 GB, free: 37.98 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/3.382, allocations: 78.97 kB / 1.42 GB, free: 37.91 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/3.384, allocations: 445.4 kB / 1.421 GB, free: 37.46 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/3.384, allocations: 4 kB / 1.421 GB, free: 37.46 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/3.384, allocations: 0 / 1.421 GB, free: 37.46 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/3.384, allocations: 7.922 kB / 1.421 GB, free: 37.45 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/3.386, allocations: 1.098 MB / 1.422 GB, free: 36.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/3.386, allocations: 3.984 kB / 1.422 GB, free: 36.28 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008418/3.387, allocations: 111.8 kB / 1.422 GB, free: 36.17 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/3.387, allocations: 4 kB / 1.422 GB, free: 36.17 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.505e-05/3.387, allocations: 11.95 kB / 1.422 GB, free: 36.16 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009085/3.388, allocations: 2.356 MB / 1.424 GB, free: 33.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/3.388, allocations: 0 / 1.424 GB, free: 33.71 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000952/3.389, allocations: 0.5239 MB / 1.425 GB, free: 33.13 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004093/3.389, allocations: 203.9 kB / 1.425 GB, free: 32.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/3.39, allocations: 7.953 kB / 1.425 GB, free: 32.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009123/3.39, allocations: 63.78 kB / 1.425 GB, free: 32.84 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.875e-05/3.391, allocations: 27.91 kB / 1.425 GB, free: 32.81 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.036e-05/3.391, allocations: 11.98 kB / 1.425 GB, free: 32.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008545/3.391, allocations: 0.4991 MB / 1.426 GB, free: 32.31 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.92e-07/3.391, allocations: 4 kB / 1.426 GB, free: 32.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002201/3.394, allocations: 0.4954 MB / 1.426 GB, free: 31.81 MB / 0.8855 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.002318/3.396, allocations: 1.736 MB / 1.428 GB, free: 30.02 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002858/3.399, allocations: 0.6372 MB / 1.428 GB, free: 29.38 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/3.399, allocations: 8.188 kB / 1.428 GB, free: 29.37 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006878/3.4, allocations: 171.8 kB / 1.429 GB, free: 29.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003886/3.404, allocations: 410.9 kB / 1.429 GB, free: 28.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003387/3.407, allocations: 1.116 MB / 1.43 GB, free: 27.63 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/3.408, allocations: 0.9954 MB / 1.431 GB, free: 26.61 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001547/3.409, allocations: 210.2 kB / 1.431 GB, free: 26.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004664/3.41, allocations: 295.3 kB / 1.432 GB, free: 26.11 MB / 0.8855 GB Notification: Performance of SimCode: time 1.443e-06/3.41, allocations: 0 / 1.432 GB, free: 26.11 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9218/4.331, allocations: 29.78 MB / 1.461 GB, free: 221 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002544/4.332, allocations: 225.4 kB / 1.461 GB, free: 220.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.052/8.384, allocations: 2.938 kB / 1.461 GB, free: 220.8 MB / 0.8855 GB