Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadModel(Buildings): time 4.225/4.225, allocations: 464.7 MB / 476.8 MB, free: 2.215 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.979e-05/3.995e-05, allocations: 7.984 kB / 0.5731 GB, free: 5.762 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2211, allocations: 107.2 MB / 0.6777 GB, free: 10.42 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.208/6.43, allocations: 2.246 GB / 2.924 GB, free: 284.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/6.43, allocations: 91.95 kB / 2.924 GB, free: 284.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.97/9.4, allocations: 0.6375 GB / 3.561 GB, free: 169.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.129e-06/9.4, allocations: 0 / 3.561 GB, free: 169.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001108/9.4, allocations: 33.06 kB / 3.562 GB, free: 169.6 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.003601/9.403, allocations: 1.332 MB / 3.563 GB, free: 169.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/9.403, allocations: 8.75 kB / 3.563 GB, free: 169.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002125/9.406, allocations: 245.5 kB / 3.563 GB, free: 169.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003979/9.41, allocations: 1.114 MB / 3.564 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/9.41, allocations: 73.59 kB / 3.564 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003287/9.41, allocations: 100.8 kB / 3.564 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002346/9.413, allocations: 1.098 MB / 3.565 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.82e-05/9.413, allocations: 7.219 kB / 3.565 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/9.413, allocations: 37.19 kB / 3.565 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.188e-05/9.413, allocations: 38.38 kB / 3.565 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/9.415, allocations: 0.81 MB / 3.566 GB, free: 168.7 MB / 0.8855 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.007013/9.422, allocations: 5.703 MB / 3.572 GB, free: 165 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/9.423, allocations: 0.5134 MB / 3.572 GB, free: 165 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005656/9.423, allocations: 298.2 kB / 3.573 GB, free: 165 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005664/9.424, allocations: 311.6 kB / 3.573 GB, free: 164.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/9.424, allocations: 41.67 kB / 3.573 GB, free: 164.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=49): time 4.017e-06/9.424, allocations: 0 / 3.573 GB, free: 164.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=49): time 0.001625/9.426, allocations: 0.5746 MB / 3.574 GB, free: 164.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/9.426, allocations: 59.69 kB / 3.574 GB, free: 164.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/9.427, allocations: 0.6484 MB / 3.574 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001123/9.427, allocations: 40.73 kB / 3.574 GB, free: 164.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003596/9.427, allocations: 0.5017 MB / 3.575 GB, free: 164.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/9.428, allocations: 182.8 kB / 3.575 GB, free: 164 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/9.428, allocations: 13.69 kB / 3.575 GB, free: 164 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.706e-05/9.428, allocations: 335 kB / 3.575 GB, free: 163.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004656/9.428, allocations: 232.5 kB / 3.575 GB, free: 163.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006821/9.429, allocations: 0.5615 MB / 3.576 GB, free: 163.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006678/9.43, allocations: 350.4 kB / 3.576 GB, free: 163.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.499e-06/9.43, allocations: 3.875 kB / 3.576 GB, free: 163.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001774/9.431, allocations: 0.796 MB / 3.577 GB, free: 163.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/9.432, allocations: 6.562 kB / 3.577 GB, free: 163.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/9.432, allocations: 9.938 kB / 3.577 GB, free: 163.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.98e-05/9.432, allocations: 10.34 kB / 3.577 GB, free: 163.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007337/9.432, allocations: 156.9 kB / 3.577 GB, free: 163.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.076e-05/9.432, allocations: 18.72 kB / 3.577 GB, free: 163.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/9.434, allocations: 138.7 kB / 3.577 GB, free: 163.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/9.434, allocations: 40.27 kB / 3.577 GB, free: 163.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002129/9.434, allocations: 156.3 kB / 3.578 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/9.434, allocations: 84.03 kB / 3.578 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/9.436, allocations: 0.5951 MB / 3.578 GB, free: 163 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.633e-06/9.436, allocations: 10.47 kB / 3.578 GB, free: 163 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.046e-06/9.436, allocations: 3.844 kB / 3.578 GB, free: 163 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008617/9.437, allocations: 0.4942 MB / 3.579 GB, free: 162.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003413/9.44, allocations: 1.642 MB / 3.58 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.516e-06/9.44, allocations: 2.844 kB / 3.58 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007043/9.441, allocations: 116.2 kB / 3.581 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-05/9.441, allocations: 7.375 kB / 3.581 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.319e-05/9.441, allocations: 15.44 kB / 3.581 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.313e-06/9.441, allocations: 7.266 kB / 3.581 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.306e-06/9.441, allocations: 3.375 kB / 3.581 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/9.443, allocations: 1.099 MB / 3.582 GB, free: 162.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005636/9.443, allocations: 235.3 kB / 3.582 GB, free: 162.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/9.444, allocations: 10.66 kB / 3.582 GB, free: 162.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008306/9.444, allocations: 65.25 kB / 3.582 GB, free: 162.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.616e-05/9.444, allocations: 34.14 kB / 3.582 GB, free: 162.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.534e-05/9.445, allocations: 23.42 kB / 3.582 GB, free: 162.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008396/9.445, allocations: 0.4965 MB / 3.582 GB, free: 162 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.93e-07/9.445, allocations: 0 / 3.582 GB, free: 162 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002021/9.447, allocations: 489.8 kB / 3.583 GB, free: 161.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003056/9.451, allocations: 1.955 MB / 3.585 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001325/9.452, allocations: 0.5662 MB / 3.585 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.873e-06/9.452, allocations: 5.141 kB / 3.585 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004816/9.452, allocations: 257.8 kB / 3.586 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/9.455, allocations: 434.1 kB / 3.586 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003374/9.458, allocations: 1.523 MB / 3.588 GB, free: 160.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00073/9.459, allocations: 1.144 MB / 3.589 GB, free: 160.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001374/9.46, allocations: 265.3 kB / 3.589 GB, free: 160.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/9.461, allocations: 79.78 kB / 3.589 GB, free: 160.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.647e-06/9.461, allocations: 0 / 3.589 GB, free: 160.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.08255/9.543, allocations: 41.7 MB / 3.63 GB, free: 158.9 MB / 0.8855 GB