Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValves,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Examples_TwoWayValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.195/3.195, allocations: 343.8 MB / 355.9 MB, free: 9.402 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.026e-05/5.036e-05, allocations: 8 kB / 436.7 MB, free: 2.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.179, allocations: 77.73 MB / 0.5023 GB, free: 4.504 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.493/1.672, allocations: 366.2 MB / 0.86 GB, free: 159.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/1.672, allocations: 101.8 kB / 0.8601 GB, free: 159.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.63/3.302, allocations: 348.5 MB / 1.2 GB, free: 102.3 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.673e-06/3.302, allocations: 0 / 1.2 GB, free: 102.3 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.458e-05/3.302, allocations: 35.98 kB / 1.2 GB, free: 102.2 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.00255/3.304, allocations: 1.149 MB / 1.202 GB, free: 101 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/3.304, allocations: 8.031 kB / 1.202 GB, free: 101 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001561/3.305, allocations: 90.48 kB / 1.202 GB, free: 100.9 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003629/3.305, allocations: 118.8 kB / 1.202 GB, free: 100.8 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001818/3.307, allocations: 0.653 MB / 1.202 GB, free: 100.1 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.013e-05/3.307, allocations: 61 kB / 1.202 GB, free: 100.1 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/3.307, allocations: 84 kB / 1.203 GB, free: 99.99 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/3.308, allocations: 0.4965 MB / 1.203 GB, free: 99.47 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/3.308, allocations: 0 / 1.203 GB, free: 99.47 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-05/3.308, allocations: 23.95 kB / 1.203 GB, free: 99.45 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/3.308, allocations: 15.94 kB / 1.203 GB, free: 99.43 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008701/3.309, allocations: 329.9 kB / 1.203 GB, free: 99.11 MB / 0.6667 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.005727/3.315, allocations: 2.482 MB / 1.206 GB, free: 96.49 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006264/3.316, allocations: 238.7 kB / 1.206 GB, free: 96.24 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003012/3.316, allocations: 116.8 kB / 1.206 GB, free: 96.12 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003338/3.316, allocations: 348.6 kB / 1.206 GB, free: 95.71 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/3.316, allocations: 34.56 kB / 1.207 GB, free: 95.67 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=29): time 2.985e-06/3.316, allocations: 7.875 kB / 1.207 GB, free: 95.66 MB / 0.6667 GB Notification: Performance of matching and sorting (n=29): time 0.00122/3.318, allocations: 329.2 kB / 1.207 GB, free: 95.33 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/3.318, allocations: 55.41 kB / 1.207 GB, free: 95.27 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/3.319, allocations: 0.6413 MB / 1.208 GB, free: 94.62 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003248/3.319, allocations: 49.7 kB / 1.208 GB, free: 94.56 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004256/3.32, allocations: 426.7 kB / 1.208 GB, free: 94.13 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/3.32, allocations: 98.59 kB / 1.208 GB, free: 94.04 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/3.32, allocations: 12 kB / 1.208 GB, free: 94.02 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.888e-05/3.32, allocations: 326 kB / 1.208 GB, free: 93.7 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003818/3.32, allocations: 125.1 kB / 1.209 GB, free: 93.57 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/3.321, allocations: 0.7691 MB / 1.209 GB, free: 92.59 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005043/3.322, allocations: 221.4 kB / 1.209 GB, free: 92.37 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/3.322, allocations: 4 kB / 1.209 GB, free: 92.37 MB / 0.6667 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001516/3.323, allocations: 0.4988 MB / 1.21 GB, free: 91.86 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001842/3.324, allocations: 0.7985 MB / 1.211 GB, free: 91 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/3.324, allocations: 0 / 1.211 GB, free: 91 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.658e-05/3.324, allocations: 4 kB / 1.211 GB, free: 91 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001952/3.326, allocations: 179.7 kB / 1.211 GB, free: 90.82 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/3.327, allocations: 2.36 MB / 1.213 GB, free: 88.37 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003462/3.331, allocations: 399.7 kB / 1.214 GB, free: 87.98 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001837/3.331, allocations: 27.98 kB / 1.214 GB, free: 87.95 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/3.331, allocations: 4 kB / 1.214 GB, free: 87.95 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001087/3.332, allocations: 386.2 kB / 1.214 GB, free: 87.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/3.332, allocations: 0 / 1.214 GB, free: 87.57 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/3.332, allocations: 7.984 kB / 1.214 GB, free: 87.56 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/3.333, allocations: 140 kB / 1.214 GB, free: 87.43 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/3.333, allocations: 8 kB / 1.214 GB, free: 87.42 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003172/3.336, allocations: 379.6 kB / 1.215 GB, free: 87.05 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000217/3.337, allocations: 23.98 kB / 1.215 GB, free: 87.02 MB / 0.6667 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.0003047/3.337, allocations: 149.4 kB / 1.215 GB, free: 86.87 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/3.337, allocations: 79.05 kB / 1.215 GB, free: 86.79 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/3.338, allocations: 438 kB / 1.215 GB, free: 86.36 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/3.338, allocations: 4 kB / 1.215 GB, free: 86.35 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/3.338, allocations: 3.938 kB / 1.215 GB, free: 86.35 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/3.338, allocations: 0 / 1.215 GB, free: 86.35 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002406/3.341, allocations: 1.083 MB / 1.216 GB, free: 85.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/3.341, allocations: 0 / 1.216 GB, free: 85.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008329/3.342, allocations: 103.8 kB / 1.216 GB, free: 85.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/3.342, allocations: 4 kB / 1.216 GB, free: 85.09 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.504e-05/3.342, allocations: 11.95 kB / 1.216 GB, free: 85.08 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009298/3.343, allocations: 2.352 MB / 1.219 GB, free: 82.64 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/3.343, allocations: 12.08 kB / 1.219 GB, free: 82.62 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009731/3.344, allocations: 0.5197 MB / 1.219 GB, free: 82.05 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004086/3.344, allocations: 195.9 kB / 1.219 GB, free: 81.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/3.344, allocations: 12.14 kB / 1.219 GB, free: 81.83 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000913/3.345, allocations: 59.84 kB / 1.219 GB, free: 81.77 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.08e-05/3.345, allocations: 27.89 kB / 1.219 GB, free: 81.74 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-05/3.345, allocations: 23.98 kB / 1.219 GB, free: 81.72 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008358/3.346, allocations: 499.1 kB / 1.22 GB, free: 81.24 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.91e-07/3.346, allocations: 4 kB / 1.22 GB, free: 81.23 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002017/3.348, allocations: 0.4954 MB / 1.22 GB, free: 80.74 MB / 0.6667 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.002238/3.351, allocations: 1.719 MB / 1.222 GB, free: 78.97 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002641/3.353, allocations: 0.6409 MB / 1.223 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/3.353, allocations: 0 / 1.223 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006366/3.354, allocations: 175.8 kB / 1.223 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003749/3.358, allocations: 408.4 kB / 1.223 GB, free: 77.75 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/3.361, allocations: 1.105 MB / 1.224 GB, free: 76.6 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/3.361, allocations: 0.9798 MB / 1.225 GB, free: 75.59 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001477/3.363, allocations: 217.8 kB / 1.226 GB, free: 75.38 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004525/3.363, allocations: 299.3 kB / 1.226 GB, free: 75.08 MB / 0.6667 GB Notification: Performance of SimCode: time 1.352e-06/3.363, allocations: 0 / 1.226 GB, free: 75.08 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08362/3.447, allocations: 29.72 MB / 1.255 GB, free: 45.71 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002547/3.447, allocations: 233.8 kB / 1.255 GB, free: 45.4 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.977/7.424, allocations: 0 / 1.255 GB, free: 45.4 MB / 0.6667 GB