Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadModel(Buildings): time 4.589/4.589, allocations: 431.3 MB / 445.8 MB, free: 7.254 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.07e-05/4.061e-05, allocations: 4 kB / 0.5354 GB, free: 1.246 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7571/0.7571, allocations: 98.7 MB / 0.6318 GB, free: 0.8516 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.05621/0.8134, allocations: 21.51 MB / 0.6528 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0198/0.8333, allocations: 8.593 MB / 0.6612 GB, free: 2.672 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/0.8349, allocations: 43.69 kB / 0.6612 GB, free: 2.629 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.002102/0.837, allocations: 0.5133 MB / 0.6617 GB, free: 2.113 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.005119/0.8422, allocations: 1.078 MB / 0.6628 GB, free: 1.031 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.009791/0.852, allocations: 2.395 MB / 0.6651 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.003463/0.8555, allocations: 1.267 MB / 0.6664 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.8568, allocations: 0.6625 MB / 0.667 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00202/0.8588, allocations: 0.8574 MB / 0.6679 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002097/0.861, allocations: 0.7286 MB / 0.6686 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002987/0.864, allocations: 0.8581 MB / 0.6694 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0006684/0.8647, allocations: 56 kB / 0.6695 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0005625/0.8653, allocations: 207.2 kB / 0.6697 GB, free: 9.996 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0007611/0.8661, allocations: 100 kB / 0.6698 GB, free: 9.898 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.003608/0.8697, allocations: 1.115 MB / 0.6708 GB, free: 8.781 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.8698, allocations: 0 / 0.6708 GB, free: 8.781 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.046e-06/0.8698, allocations: 0 / 0.6708 GB, free: 8.781 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.113e-05/0.8698, allocations: 0 / 0.6708 GB, free: 8.781 MB / 0.5417 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.003566/0.8734, allocations: 1.01 MB / 0.6718 GB, free: 7.723 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/0.8735, allocations: 11.97 kB / 0.6718 GB, free: 7.711 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006822/0.8742, allocations: 122.8 kB / 0.672 GB, free: 7.59 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002461/0.8767, allocations: 0.6201 MB / 0.6726 GB, free: 6.93 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.8768, allocations: 57 kB / 0.6726 GB, free: 6.875 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004272/0.8773, allocations: 80 kB / 0.6727 GB, free: 6.797 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002395/0.8797, allocations: 0.5529 MB / 0.6732 GB, free: 6.215 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/0.8798, allocations: 4 kB / 0.6732 GB, free: 6.211 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/0.8799, allocations: 20 kB / 0.6733 GB, free: 6.191 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.573e-05/0.8799, allocations: 12 kB / 0.6733 GB, free: 6.18 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002031/0.882, allocations: 407.6 kB / 0.6737 GB, free: 5.781 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.009806/0.8918, allocations: 2.49 MB / 0.6761 GB, free: 3.148 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/0.8935, allocations: 280.9 kB / 0.6764 GB, free: 2.867 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005427/0.8941, allocations: 344.6 kB / 0.6767 GB, free: 2.457 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.8941, allocations: 31.27 kB / 0.6767 GB, free: 2.418 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=27): time 4.769e-06/0.8942, allocations: 0 / 0.6767 GB, free: 2.418 MB / 0.5417 GB Notification: Performance of matching and sorting (n=27): time 0.002792/0.897, allocations: 471.9 kB / 0.6772 GB, free: 1.953 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.8971, allocations: 51.41 kB / 0.6772 GB, free: 1.891 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/0.899, allocations: 0.6606 MB / 0.6779 GB, free: 1.219 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003182/0.8993, allocations: 45.7 kB / 0.6779 GB, free: 1.168 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007975/0.9002, allocations: 429.4 kB / 0.6783 GB, free: 0.7461 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/0.9003, allocations: 98.64 kB / 0.6784 GB, free: 0.6484 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/0.9004, allocations: 8 kB / 0.6784 GB, free: 0.6406 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.9006, allocations: 326.4 kB / 0.6787 GB, free: 324 kB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008449/0.9015, allocations: 149 kB / 0.6789 GB, free: 176 kB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002369/0.9039, allocations: 0.775 MB / 0.6796 GB, free: 15.19 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009213/0.9048, allocations: 225.2 kB / 0.6798 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.9048, allocations: 3.938 kB / 0.6798 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002704/0.9076, allocations: 0.5535 MB / 0.6804 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004228/0.908, allocations: 0.7939 MB / 0.6812 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.908, allocations: 4 kB / 0.6812 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/0.9081, allocations: 4 kB / 0.6812 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002267/0.9104, allocations: 167.7 kB / 0.6813 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/0.9127, allocations: 2.364 MB / 0.6836 GB, free: 10.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008229/0.921, allocations: 0.6867 MB / 0.6843 GB, free: 10.24 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001932/0.9213, allocations: 27.98 kB / 0.6843 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.9213, allocations: 4 kB / 0.6843 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001567/0.9229, allocations: 434.1 kB / 0.6847 GB, free: 9.781 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.9229, allocations: 4 kB / 0.6847 GB, free: 9.777 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.9229, allocations: 4.188 kB / 0.6848 GB, free: 9.773 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.924, allocations: 140 kB / 0.6849 GB, free: 9.637 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.9241, allocations: 8 kB / 0.6849 GB, free: 9.629 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0055/0.9296, allocations: 0.6788 MB / 0.6856 GB, free: 8.949 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.553e-05/0.9297, allocations: 27.97 kB / 0.6856 GB, free: 8.922 MB / 0.5573 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.0005359/0.9302, allocations: 218.2 kB / 0.6858 GB, free: 8.695 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/0.9304, allocations: 82.97 kB / 0.6859 GB, free: 8.613 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.9318, allocations: 442.6 kB / 0.6863 GB, free: 8.172 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.9319, allocations: 7.984 kB / 0.6863 GB, free: 8.164 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.9319, allocations: 0 / 0.6863 GB, free: 8.164 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.9319, allocations: 3.953 kB / 0.6863 GB, free: 8.16 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002543/0.9345, allocations: 1.081 MB / 0.6874 GB, free: 7.016 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.9345, allocations: 0 / 0.6874 GB, free: 7.016 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007903/0.9353, allocations: 99.86 kB / 0.6875 GB, free: 6.918 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.9353, allocations: 0 / 0.6875 GB, free: 6.918 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/0.9354, allocations: 11.95 kB / 0.6875 GB, free: 6.906 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001378/0.9367, allocations: 2.356 MB / 0.6898 GB, free: 4.457 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.9368, allocations: 0 / 0.6898 GB, free: 4.457 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.938, allocations: 0.5152 MB / 0.6903 GB, free: 3.906 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003668/0.9384, allocations: 199.9 kB / 0.6905 GB, free: 3.691 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.9386, allocations: 8 kB / 0.6905 GB, free: 3.684 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009028/0.9395, allocations: 63.84 kB / 0.6905 GB, free: 3.621 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.766e-05/0.9396, allocations: 31.8 kB / 0.6906 GB, free: 3.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.56e-05/0.9397, allocations: 19.94 kB / 0.6906 GB, free: 3.57 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0009468/0.9406, allocations: 0.499 MB / 0.6911 GB, free: 3.078 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9406, allocations: 0 / 0.6911 GB, free: 3.078 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001733/0.9424, allocations: 463.2 kB / 0.6915 GB, free: 2.625 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 26 * 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.0009107/0.9433, allocations: 310.8 kB / 0.6918 GB, free: 2.316 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00295/0.9463, allocations: 0.6746 MB / 0.6925 GB, free: 1.641 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.9463, allocations: 0 / 0.6925 GB, free: 1.641 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008296/0.9471, allocations: 201.7 kB / 0.6927 GB, free: 1.445 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003813/0.9509, allocations: 411.1 kB / 0.693 GB, free: 1.043 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003507/0.9545, allocations: 1.45 MB / 0.6945 GB, free: 15.55 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007602/0.9553, allocations: 0.98 MB / 0.6954 GB, free: 14.54 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00175/0.9571, allocations: 214 kB / 0.6956 GB, free: 14.33 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.9573, allocations: 51.44 kB / 0.6957 GB, free: 14.28 MB / 0.573 GB Notification: Performance of SimCode: time 1.462e-06/0.9573, allocations: 3.938 kB / 0.6957 GB, free: 14.28 MB / 0.573 GB Notification: Performance of Templates: time 0.08851/1.046, allocations: 20.98 MB / 0.7162 GB, free: 9.527 MB / 0.5886 GB