Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") Notification: Performance of loadModel(Buildings): time 3.706/3.706, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.199e-05/3.217e-05, allocations: 4 kB / 0.499 GB, free: 13.46 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4777/0.4777, allocations: 92.69 MB / 0.5896 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.947/1.425, allocations: 424.9 MB / 1.005 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/1.425, allocations: 95.16 kB / 1.005 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.117/5.543, allocations: 0.9255 GB / 1.93 GB, free: 4.086 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.406e-06/5.543, allocations: 0 / 1.93 GB, free: 4.086 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002526/5.543, allocations: 59.86 kB / 1.93 GB, free: 4.027 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 308 * Number of variables: 308 Notification: Performance of Generate backend data structure: time 0.005368/5.548, allocations: 2.127 MB / 1.932 GB, free: 1.84 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/5.548, allocations: 12.03 kB / 1.932 GB, free: 1.828 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004792/5.553, allocations: 0.7348 MB / 1.933 GB, free: 1.09 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02717/5.58, allocations: 8.583 MB / 1.941 GB, free: 8.391 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001609/5.581, allocations: 102.4 kB / 1.941 GB, free: 8.289 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000426/5.581, allocations: 128 kB / 1.942 GB, free: 8.164 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003918/5.585, allocations: 1.463 MB / 1.943 GB, free: 6.566 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.663e-05/5.585, allocations: 3.938 kB / 1.943 GB, free: 6.562 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001992/5.585, allocations: 56 kB / 1.943 GB, free: 6.508 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.775e-05/5.585, allocations: 32 kB / 1.943 GB, free: 6.477 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003123/5.588, allocations: 1.015 MB / 1.944 GB, free: 5.457 MB / 0.7917 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.5226/6.111, allocations: 8.512 MB / 1.952 GB, free: 90.71 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004582/6.116, allocations: 0.9193 MB / 1.953 GB, free: 90.66 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/6.117, allocations: 390.2 kB / 1.954 GB, free: 90.64 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006069/6.123, allocations: 2.532 MB / 1.956 GB, free: 89.19 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00144/6.124, allocations: 0.493 MB / 1.957 GB, free: 89.11 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001419/6.126, allocations: 180.5 kB / 1.957 GB, free: 89.11 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=67): time 6.332e-06/6.126, allocations: 0.9688 kB / 1.957 GB, free: 89.11 MB / 0.7917 GB Notification: Performance of matching and sorting (n=69): time 0.007263/6.133, allocations: 2.339 MB / 1.959 GB, free: 88.37 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.704e-05/6.133, allocations: 171 kB / 1.959 GB, free: 88.18 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002592/6.136, allocations: 1.341 MB / 1.961 GB, free: 87.96 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.000223/6.136, allocations: 44.33 kB / 1.961 GB, free: 87.93 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008291/6.137, allocations: 0.9128 MB / 1.961 GB, free: 87.69 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002773/6.137, allocations: 252.2 kB / 1.962 GB, free: 87.57 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.062e-05/6.137, allocations: 21.78 kB / 1.962 GB, free: 87.57 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.136e-05/6.137, allocations: 348.4 kB / 1.962 GB, free: 87.26 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007966/6.138, allocations: 355.7 kB / 1.962 GB, free: 87.26 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/6.139, allocations: 0.8062 MB / 1.963 GB, free: 86.72 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009395/6.14, allocations: 477.5 kB / 1.964 GB, free: 86.68 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.385e-06/6.14, allocations: 3.188 kB / 1.964 GB, free: 86.68 MB / 0.7917 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002886/6.143, allocations: 1.281 MB / 1.965 GB, free: 86.52 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009495/6.144, allocations: 4.938 MB / 1.97 GB, free: 81.38 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.795e-05/6.144, allocations: 14.06 kB / 1.97 GB, free: 81.38 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.894e-05/6.144, allocations: 21.94 kB / 1.97 GB, free: 81.38 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001785/6.146, allocations: 304.6 kB / 1.97 GB, free: 81.38 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.218e-05/6.146, allocations: 19.25 kB / 1.97 GB, free: 81.38 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/6.149, allocations: 164.9 kB / 1.97 GB, free: 81.37 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002173/6.149, allocations: 65.58 kB / 1.97 GB, free: 81.37 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/6.149, allocations: 3.938 kB / 1.97 GB, free: 81.37 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00242/6.151, allocations: 1.087 MB / 1.971 GB, free: 81.32 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.109e-05/6.151, allocations: 20.5 kB / 1.971 GB, free: 81.32 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/6.151, allocations: 16.84 kB / 1.971 GB, free: 81.32 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/6.153, allocations: 303.7 kB / 1.972 GB, free: 81.32 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.711e-05/6.153, allocations: 22.66 kB / 1.972 GB, free: 81.32 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/6.155, allocations: 151.7 kB / 1.972 GB, free: 81.32 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001965/6.155, allocations: 65.86 kB / 1.972 GB, free: 81.32 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 130 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000365/6.156, allocations: 181.3 kB / 1.972 GB, free: 81.21 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003142/6.156, allocations: 180 kB / 1.972 GB, free: 81.12 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002787/6.159, allocations: 1.14 MB / 1.973 GB, free: 81.03 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-05/6.159, allocations: 7.75 kB / 1.973 GB, free: 81.03 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.023e-06/6.159, allocations: 3.953 kB / 1.973 GB, free: 81.03 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001615/6.161, allocations: 1.011 MB / 1.974 GB, free: 80.66 MB / 0.7917 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 postOpt removeSimpleEquations (simulation): time 0.007385/6.168, allocations: 2.83 MB / 1.977 GB, free: 80.12 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.335e-06/6.168, allocations: 0 / 1.977 GB, free: 80.12 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00137/6.169, allocations: 196.8 kB / 1.977 GB, free: 80.12 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-05/6.169, allocations: 3.906 kB / 1.977 GB, free: 80.12 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/6.17, allocations: 25.73 kB / 1.977 GB, free: 80.12 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.064e-05/6.17, allocations: 8.875 kB / 1.977 GB, free: 80.12 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/6.17, allocations: 2.812 kB / 1.977 GB, free: 80.12 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003194/6.173, allocations: 1.75 MB / 1.979 GB, free: 79.7 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009245/6.174, allocations: 359.3 kB / 1.979 GB, free: 79.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000302/6.174, allocations: 19.69 kB / 1.979 GB, free: 79.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001654/6.176, allocations: 159 kB / 1.98 GB, free: 79.5 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/6.176, allocations: 62.48 kB / 1.98 GB, free: 79.5 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/6.176, allocations: 34.25 kB / 1.98 GB, free: 79.5 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001841/6.178, allocations: 1.021 MB / 1.981 GB, free: 79.34 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9.96e-07/6.178, allocations: 5.703 kB / 1.981 GB, free: 79.34 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.004733/6.183, allocations: 0.9792 MB / 1.982 GB, free: 79.34 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (pla.coo.outCon.T,pla.hea.outCon.T,vol.ports[2].h_outflow,pum.filter.x[1],pum.filter.x[2],ECoo.y,EHea.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002346/6.185, allocations: 1.233 MB / 1.983 GB, free: 79.09 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.003427/6.188, allocations: 1.747 MB / 1.985 GB, free: 78.88 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/6.189, allocations: 0 / 1.985 GB, free: 78.88 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0009861/6.19, allocations: 480 kB / 1.985 GB, free: 78.88 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004273/6.194, allocations: 0.7798 MB / 1.986 GB, free: 78.87 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007181/6.201, allocations: 2.7 MB / 1.988 GB, free: 78.18 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/6.202, allocations: 1.425 MB / 1.99 GB, free: 77.46 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.004631/6.207, allocations: 0.617 MB / 1.99 GB, free: 77.43 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006113/6.208, allocations: 133.7 kB / 1.991 GB, free: 77.43 MB / 0.7917 GB Notification: Performance of SimCode: time 2.213e-06/6.208, allocations: 0 / 1.991 GB, free: 77.43 MB / 0.7917 GB Notification: Performance of Templates: time 0.09174/6.299, allocations: 44.89 MB / 2.034 GB, free: 75.59 MB / 0.7917 GB