Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadModel(Buildings): time 3.772/3.772, allocations: 402 MB / 416.6 MB, free: 10.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.293e-05/4.31e-05, allocations: 7.938 kB / 0.5009 GB, free: 8.227 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2145, allocations: 92.7 MB / 0.5915 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.763/0.9776, allocations: 156.3 MB / 0.7441 GB, free: 2.477 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0228/1.001, allocations: 11.7 MB / 0.7555 GB, free: 6.758 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/1.002, allocations: 35.81 kB / 0.7556 GB, free: 6.723 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002158/1.004, allocations: 0.5054 MB / 0.756 GB, free: 6.215 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005383/1.009, allocations: 1.293 MB / 0.7573 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004166/1.014, allocations: 0.9008 MB / 0.7582 GB, free: 4.016 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003985/1.018, allocations: 1.376 MB / 0.7595 GB, free: 2.637 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001859/1.02, allocations: 0.7903 MB / 0.7603 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004113/1.024, allocations: 1.254 MB / 0.7615 GB, free: 0.5781 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001902/1.026, allocations: 0.6624 MB / 0.7622 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00184/1.028, allocations: 355.5 kB / 0.7625 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004427/1.028, allocations: 60 kB / 0.7626 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0008272/1.029, allocations: 498.7 kB / 0.763 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000666/1.03, allocations: 156 kB / 0.7632 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002738/1.032, allocations: 1.538 MB / 0.7647 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/1.032, allocations: 0 / 0.7647 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.276e-06/1.032, allocations: 4 kB / 0.7647 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.344e-05/1.032, allocations: 0 / 0.7647 GB, free: 13.32 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.003391/1.036, allocations: 1.261 MB / 0.7659 GB, free: 12 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/1.036, allocations: 12.03 kB / 0.7659 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002047/1.038, allocations: 246.2 kB / 0.7662 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002413/1.04, allocations: 0.7694 MB / 0.7669 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/1.041, allocations: 90.11 kB / 0.767 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002795/1.041, allocations: 116 kB / 0.7671 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003438/1.044, allocations: 1.373 MB / 0.7685 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.241e-05/1.044, allocations: 0 / 0.7685 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001868/1.045, allocations: 48 kB / 0.7685 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.437e-05/1.045, allocations: 42 kB / 0.7686 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00295/1.048, allocations: 1.077 MB / 0.7696 GB, free: 8.105 MB / 0.6355 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.01192/1.06, allocations: 6.443 MB / 0.7759 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/1.061, allocations: 0.5685 MB / 0.7765 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006412/1.062, allocations: 145.5 kB / 0.7766 GB, free: 396 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/1.062, allocations: 39 kB / 0.7766 GB, free: 348 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=54): time 4.398e-06/1.062, allocations: 0 / 0.7766 GB, free: 348 kB / 0.6355 GB Notification: Performance of matching and sorting (n=54): time 0.002534/1.064, allocations: 0.8064 MB / 0.7774 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.44e-05/1.064, allocations: 115.4 kB / 0.7775 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/1.066, allocations: 0.7623 MB / 0.7783 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001615/1.066, allocations: 45.7 kB / 0.7783 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006794/1.067, allocations: 0.5723 MB / 0.7789 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002832/1.067, allocations: 193.2 kB / 0.7791 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.694e-05/1.067, allocations: 16 kB / 0.7791 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001927/1.068, allocations: 345.9 kB / 0.7794 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008011/1.068, allocations: 293.8 kB / 0.7797 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/1.07, allocations: 0.6452 MB / 0.7803 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/1.071, allocations: 443.5 kB / 0.7807 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/1.071, allocations: 7.938 kB / 0.7807 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002754/1.074, allocations: 1.031 MB / 0.7818 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.025e-05/1.074, allocations: 45.64 kB / 0.7818 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/1.074, allocations: 8 kB / 0.7818 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.074e-05/1.074, allocations: 16 kB / 0.7818 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/1.075, allocations: 195.7 kB / 0.782 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.13e-05/1.075, allocations: 16.47 kB / 0.782 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/1.077, allocations: 166.7 kB / 0.7822 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/1.077, allocations: 43.98 kB / 0.7822 GB, free: 10.38 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 1 * 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.0008773/1.078, allocations: 367.5 kB / 0.7826 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003239/1.078, allocations: 98.88 kB / 0.7827 GB, free: 9.91 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/1.08, allocations: 0.6147 MB / 0.7833 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001228/1.081, allocations: 0.5172 MB / 0.7838 GB, free: 8.758 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/1.081, allocations: 4 kB / 0.7838 GB, free: 8.754 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007893/1.082, allocations: 255.8 kB / 0.784 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001921/1.082, allocations: 8.062 kB / 0.784 GB, free: 8.477 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/1.084, allocations: 83.77 kB / 0.7841 GB, free: 8.395 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.852e-05/1.084, allocations: 28.41 kB / 0.7841 GB, free: 8.367 MB / 0.6511 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002321/1.086, allocations: 0.8652 MB / 0.785 GB, free: 7.492 MB / 0.6511 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002592/1.089, allocations: 1.308 MB / 0.7863 GB, free: 6.152 MB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006026/1.09, allocations: 271.4 kB / 0.7865 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001293/1.091, allocations: 0.5732 MB / 0.7871 GB, free: 5.32 MB / 0.6511 GB Notification: Performance of Backend: time 4.71e-07/1.091, allocations: 4 kB / 0.7871 GB, free: 5.316 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002689/1.094, allocations: 0.778 MB / 0.7878 GB, free: 4.531 MB / 0.6511 GB Notification: Performance of SimCode: time 0.008903/1.103, allocations: 3.164 MB / 0.7909 GB, free: 1.309 MB / 0.6511 GB Notification: Performance of Templates: time 0.05407/1.157, allocations: 18.37 MB / 0.8089 GB, free: 15.15 MB / 0.6823 GB