Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation") Notification: Performance of loadModel(Buildings): time 3.682/3.682, allocations: 403.9 MB / 411 MB, free: 388 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.938e-05/1.959e-05, allocations: 0 / 0.4942 GB, free: 1.395 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5157/0.5158, allocations: 92.69 MB / 0.5847 GB, free: 2.379 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8761/1.392, allocations: 327.4 MB / 0.9044 GB, free: 39.68 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/1.392, allocations: 83.5 kB / 0.9045 GB, free: 39.64 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.2542/1.647, allocations: 65.06 MB / 0.9681 GB, free: 1.117 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.676e-06/1.647, allocations: 0 / 0.9681 GB, free: 1.117 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.207e-05/1.647, allocations: 4 kB / 0.9681 GB, free: 1.113 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00102/1.648, allocations: 0.5808 MB / 0.9686 GB, free: 500 kB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/1.648, allocations: 8.031 kB / 0.9686 GB, free: 492 kB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007592/1.648, allocations: 71.56 kB / 0.9687 GB, free: 420 kB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004787/1.649, allocations: 278.5 kB / 0.969 GB, free: 100 kB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/1.649, allocations: 11.94 kB / 0.969 GB, free: 88 kB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.376e-05/1.649, allocations: 16 kB / 0.969 GB, free: 72 kB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000492/1.65, allocations: 177 kB / 0.9692 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005896/1.65, allocations: 285.2 kB / 0.9694 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/1.65, allocations: 3.953 kB / 0.9694 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.458e-05/1.65, allocations: 4 kB / 0.9694 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/1.65, allocations: 4 kB / 0.9694 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002421/1.653, allocations: 1.632 MB / 0.971 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003579/1.653, allocations: 163 kB / 0.9712 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/1.653, allocations: 73.23 kB / 0.9713 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/1.653, allocations: 8.172 kB / 0.9713 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/1.653, allocations: 34.75 kB / 0.9713 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=21): time 3.032e-06/1.653, allocations: 4 kB / 0.9713 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=27): time 0.003052/1.656, allocations: 0.8345 MB / 0.9721 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/1.657, allocations: 55.41 kB / 0.9722 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/1.657, allocations: 199.1 kB / 0.9724 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/1.657, allocations: 25.7 kB / 0.9724 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/1.657, allocations: 187.8 kB / 0.9726 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.365e-05/1.657, allocations: 90.64 kB / 0.9727 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/1.657, allocations: 0 / 0.9727 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001645/1.657, allocations: 338.8 kB / 0.973 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/1.658, allocations: 79.94 kB / 0.9731 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/1.658, allocations: 157.4 kB / 0.9732 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/1.658, allocations: 104 kB / 0.9733 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.232e-06/1.658, allocations: 0 / 0.9733 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001218/1.659, allocations: 397.7 kB / 0.9737 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/1.659, allocations: 7.953 kB / 0.9737 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/1.659, allocations: 11.92 kB / 0.9737 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006316/1.66, allocations: 133 kB / 0.9738 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/1.661, allocations: 63.89 kB / 0.9739 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003468/1.664, allocations: 1.935 MB / 0.9758 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004954/1.665, allocations: 28.03 kB / 0.9758 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/1.665, allocations: 8 kB / 0.9758 GB, free: 8.652 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: shortPipe.m_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 32 * 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 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002268/1.665, allocations: 134.8 kB / 0.9759 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.744e-05/1.665, allocations: 23.72 kB / 0.976 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/1.665, allocations: 31.17 kB / 0.976 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.918e-06/1.665, allocations: 4 kB / 0.976 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.118e-06/1.665, allocations: 0 / 0.976 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001033/1.666, allocations: 0.5893 MB / 0.9766 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/1.668, allocations: 0.7297 MB / 0.9773 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.127e-06/1.668, allocations: 128 / 0.9773 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/1.668, allocations: 39.98 kB / 0.9773 GB, free: 6.953 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007158/1.669, allocations: 132.7 kB / 0.9774 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.851e-05/1.669, allocations: 12.08 kB / 0.9775 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00305/1.672, allocations: 1.83 MB / 0.9792 GB, free: 4.863 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.779e-06/1.672, allocations: 3.953 kB / 0.9793 GB, free: 4.859 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/1.673, allocations: 0.5412 MB / 0.9798 GB, free: 4.262 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/1.673, allocations: 104.8 kB / 0.9799 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.692e-05/1.674, allocations: 4 kB / 0.9799 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003679/1.674, allocations: 16.11 kB / 0.9799 GB, free: 4.121 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.126e-05/1.674, allocations: 27.97 kB / 0.9799 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/1.674, allocations: 8 kB / 0.9799 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002198/1.674, allocations: 161.6 kB / 0.9801 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.26e-07/1.674, allocations: 0 / 0.9801 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008469/1.675, allocations: 96 kB / 0.9802 GB, free: 3.836 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002937/1.675, allocations: 175 kB / 0.9803 GB, free: 3.656 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001099/1.677, allocations: 393.1 kB / 0.9807 GB, free: 3.266 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.664e-06/1.677, allocations: 0 / 0.9807 GB, free: 3.266 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000699/1.677, allocations: 266.9 kB / 0.981 GB, free: 2.996 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008635/1.678, allocations: 109.5 kB / 0.9811 GB, free: 2.891 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/1.679, allocations: 440.9 kB / 0.9815 GB, free: 2.426 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/1.68, allocations: 0.7717 MB / 0.9823 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004298/1.68, allocations: 51.27 kB / 0.9823 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.98e-05/1.68, allocations: 27.42 kB / 0.9823 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of SimCode: time 1.559e-06/1.68, allocations: 0 / 0.9823 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of Templates: time 0.01554/1.696, allocations: 5.897 MB / 0.9881 GB, free: 11.7 MB / 0.698 GB