Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.386/3.386, allocations: 343.8 MB / 355.9 MB, free: 9.398 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.643e-05/4.647e-05, allocations: 8 kB / 436.7 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1815, allocations: 77.73 MB / 0.5023 GB, free: 4.496 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.465/1.646, allocations: 362.1 MB / 0.8559 GB, free: 163.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003476/1.647, allocations: 98.55 kB / 0.856 GB, free: 163.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.225/2.872, allocations: 227.3 MB / 1.078 GB, free: 177.6 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.863e-06/2.872, allocations: 0 / 1.078 GB, free: 177.6 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.846e-05/2.872, allocations: 13.84 kB / 1.078 GB, free: 177.6 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002336/2.874, allocations: 0.9649 MB / 1.079 GB, free: 177 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/2.874, allocations: 10.22 kB / 1.079 GB, free: 177 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001406/2.875, allocations: 81.16 kB / 1.079 GB, free: 177 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002215/2.875, allocations: 82.7 kB / 1.079 GB, free: 177 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/2.876, allocations: 0.5067 MB / 1.08 GB, free: 176.7 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.3e-05/2.876, allocations: 32.44 kB / 1.08 GB, free: 176.7 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/2.876, allocations: 57.19 kB / 1.08 GB, free: 176.7 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/2.877, allocations: 0.5497 MB / 1.08 GB, free: 176.5 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/2.877, allocations: 6.656 kB / 1.08 GB, free: 176.5 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-05/2.877, allocations: 23 kB / 1.08 GB, free: 176.5 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/2.878, allocations: 10.31 kB / 1.08 GB, free: 176.5 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009576/2.878, allocations: 378 kB / 1.081 GB, free: 176.5 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.005027/2.884, allocations: 3.191 MB / 1.084 GB, free: 174.3 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007093/2.884, allocations: 284.5 kB / 1.084 GB, free: 174.3 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004229/2.885, allocations: 178.5 kB / 1.084 GB, free: 174.3 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000352/2.885, allocations: 355.6 kB / 1.085 GB, free: 173.9 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/2.885, allocations: 34.75 kB / 1.085 GB, free: 173.9 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=38): time 4.208e-06/2.885, allocations: 0 / 1.085 GB, free: 173.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=38): time 0.001294/2.886, allocations: 420.9 kB / 1.085 GB, free: 173.8 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/2.886, allocations: 55.34 kB / 1.085 GB, free: 173.7 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007977/2.887, allocations: 0.4922 MB / 1.085 GB, free: 173.6 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.661e-05/2.887, allocations: 38.73 kB / 1.086 GB, free: 173.6 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002455/2.888, allocations: 325.2 kB / 1.086 GB, free: 173.4 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/2.888, allocations: 136.2 kB / 1.086 GB, free: 173.3 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/2.888, allocations: 11.06 kB / 1.086 GB, free: 173.3 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001172/2.888, allocations: 376 kB / 1.086 GB, free: 173 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004339/2.888, allocations: 163.2 kB / 1.086 GB, free: 173 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005865/2.889, allocations: 339.5 kB / 1.087 GB, free: 172.8 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005295/2.89, allocations: 205.7 kB / 1.087 GB, free: 172.8 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.896e-06/2.89, allocations: 7.5 kB / 1.087 GB, free: 172.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001603/2.891, allocations: 0.5958 MB / 1.088 GB, free: 172.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004022/2.892, allocations: 1.744 MB / 1.089 GB, free: 170.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/2.892, allocations: 3.594 kB / 1.089 GB, free: 170.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009117/2.893, allocations: 148.3 kB / 1.089 GB, free: 170.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/2.894, allocations: 154.2 kB / 1.09 GB, free: 170.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007662/2.895, allocations: 0.6135 MB / 1.09 GB, free: 170.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/2.896, allocations: 108.7 kB / 1.09 GB, free: 170.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.079e-05/2.896, allocations: 31.98 kB / 1.09 GB, free: 170.4 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/2.896, allocations: 3.906 kB / 1.09 GB, free: 170.4 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001276/2.897, allocations: 0.5005 MB / 1.091 GB, free: 170.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/2.897, allocations: 7.812 kB / 1.091 GB, free: 170.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/2.898, allocations: 11.22 kB / 1.091 GB, free: 170.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/2.899, allocations: 166.8 kB / 1.091 GB, free: 170.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/2.899, allocations: 14.8 kB / 1.091 GB, free: 170.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/2.9, allocations: 98.34 kB / 1.091 GB, free: 170.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-05/2.9, allocations: 29.34 kB / 1.091 GB, free: 170.3 MB / 0.6667 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.0002158/2.9, allocations: 138.5 kB / 1.091 GB, free: 170.2 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/2.9, allocations: 60.53 kB / 1.091 GB, free: 170.2 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/2.902, allocations: 0.5531 MB / 1.092 GB, free: 170.1 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/2.902, allocations: 6.531 kB / 1.092 GB, free: 170.1 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/2.902, allocations: 3.953 kB / 1.092 GB, free: 170.1 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/2.902, allocations: 7.594 kB / 1.092 GB, free: 170.1 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003471/2.906, allocations: 1.262 MB / 1.093 GB, free: 169.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/2.906, allocations: 3.25 kB / 1.093 GB, free: 169.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007279/2.906, allocations: 89.06 kB / 1.093 GB, free: 169.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000653/2.907, allocations: 128.4 kB / 1.093 GB, free: 169.7 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.72e-05/2.907, allocations: 12.31 kB / 1.093 GB, free: 169.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007743/2.908, allocations: 0.6256 MB / 1.094 GB, free: 169.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/2.908, allocations: 0 / 1.094 GB, free: 169.2 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/2.91, allocations: 0.6569 MB / 1.095 GB, free: 168.9 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005382/2.91, allocations: 190.2 kB / 1.095 GB, free: 168.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/2.91, allocations: 13.72 kB / 1.095 GB, free: 168.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008822/2.911, allocations: 58.58 kB / 1.095 GB, free: 168.8 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/2.911, allocations: 34.92 kB / 1.095 GB, free: 168.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-05/2.912, allocations: 18.12 kB / 1.095 GB, free: 168.8 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007015/2.912, allocations: 388.1 kB / 1.095 GB, free: 168.7 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.61e-07/2.912, allocations: 0 / 1.095 GB, free: 168.7 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002093/2.914, allocations: 415 kB / 1.096 GB, free: 168.6 MB / 0.6667 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.002896/2.917, allocations: 1.702 MB / 1.097 GB, free: 167.6 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002331/2.92, allocations: 0.7549 MB / 1.098 GB, free: 167.6 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/2.92, allocations: 0 / 1.098 GB, free: 167.6 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008141/2.921, allocations: 248.6 kB / 1.098 GB, free: 167.6 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00252/2.923, allocations: 265.1 kB / 1.099 GB, free: 167.5 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/2.926, allocations: 0.9188 MB / 1.099 GB, free: 167.2 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/2.926, allocations: 0.9163 MB / 1.1 GB, free: 166.5 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001178/2.927, allocations: 177.8 kB / 1.1 GB, free: 166.5 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004486/2.928, allocations: 232.9 kB / 1.101 GB, free: 166.5 MB / 0.6667 GB Notification: Performance of SimCode: time 1.183e-06/2.928, allocations: 0 / 1.101 GB, free: 166.5 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06409/2.992, allocations: 20.46 MB / 1.121 GB, free: 165.4 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003092/2.992, allocations: 260 kB / 1.121 GB, free: 165.1 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.461/6.454, allocations: 0 / 1.121 GB, free: 165.1 MB / 0.6667 GB