Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadModel(Buildings): time 3.497/3.497, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.005e-05/3.022e-05, allocations: 4 kB / 0.499 GB, free: 13.48 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.475/0.475, allocations: 92.68 MB / 0.5895 GB, free: 14.51 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8403/1.315, allocations: 344.1 MB / 0.9256 GB, free: 16.61 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/1.316, allocations: 69.02 kB / 0.9256 GB, free: 16.58 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06205/1.378, allocations: 12.29 MB / 0.9376 GB, free: 6.969 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.207e-06/1.378, allocations: 4 kB / 0.9376 GB, free: 6.965 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.143e-05/1.378, allocations: 0 / 0.9376 GB, free: 6.965 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004722/1.378, allocations: 338.2 kB / 0.938 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.882e-05/1.378, allocations: 12.03 kB / 0.938 GB, free: 6.582 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002072/1.379, allocations: 7.953 kB / 0.938 GB, free: 6.574 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/1.379, allocations: 167 kB / 0.9381 GB, free: 6.371 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/1.379, allocations: 3.812 kB / 0.9381 GB, free: 6.371 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.944e-05/1.379, allocations: 7.984 kB / 0.9382 GB, free: 6.363 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/1.379, allocations: 56.86 kB / 0.9382 GB, free: 6.309 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/1.379, allocations: 0 / 0.9382 GB, free: 6.309 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/1.379, allocations: 4 kB / 0.9382 GB, free: 6.305 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/1.379, allocations: 0 / 0.9382 GB, free: 6.305 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/1.379, allocations: 23.75 kB / 0.9382 GB, free: 6.285 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002762/1.38, allocations: 168.9 kB / 0.9384 GB, free: 6.078 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/1.38, allocations: 42.44 kB / 0.9384 GB, free: 6.031 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.872e-05/1.38, allocations: 20.36 kB / 0.9385 GB, free: 6.012 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/1.381, allocations: 0.6128 MB / 0.9391 GB, free: 5.305 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/1.381, allocations: 38.02 kB / 0.9391 GB, free: 5.262 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=5): time 3.881e-06/1.381, allocations: 0 / 0.9391 GB, free: 5.262 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.001038/1.383, allocations: 295.6 kB / 0.9394 GB, free: 4.938 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.992e-05/1.383, allocations: 59.39 kB / 0.9394 GB, free: 4.867 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.887e-05/1.383, allocations: 96.75 kB / 0.9395 GB, free: 4.77 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/1.383, allocations: 25.7 kB / 0.9395 GB, free: 4.738 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.215e-05/1.383, allocations: 87.48 kB / 0.9396 GB, free: 4.652 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/1.383, allocations: 27.14 kB / 0.9397 GB, free: 4.629 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.901e-06/1.383, allocations: 0 / 0.9397 GB, free: 4.629 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.132e-05/1.383, allocations: 318.3 kB / 0.94 GB, free: 4.312 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.142e-05/1.383, allocations: 15.44 kB / 0.94 GB, free: 4.301 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/1.383, allocations: 53.02 kB / 0.94 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/1.383, allocations: 15.25 kB / 0.94 GB, free: 4.223 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.627e-06/1.383, allocations: 4 kB / 0.94 GB, free: 4.219 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000378/1.384, allocations: 103.3 kB / 0.9401 GB, free: 4.125 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/1.384, allocations: 8 kB / 0.9401 GB, free: 4.117 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/1.384, allocations: 0 / 0.9401 GB, free: 4.117 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-05/1.384, allocations: 4 kB / 0.9402 GB, free: 4.113 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/1.384, allocations: 19.98 kB / 0.9402 GB, free: 4.094 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/1.384, allocations: 0 / 0.9402 GB, free: 4.094 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/1.384, allocations: 4 kB / 0.9402 GB, free: 4.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/1.384, allocations: 4 kB / 0.9402 GB, free: 4.086 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.000102/1.385, allocations: 112.6 kB / 0.9403 GB, free: 3.973 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.473e-05/1.385, allocations: 7.953 kB / 0.9403 GB, free: 3.965 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.873e-05/1.385, allocations: 15.86 kB / 0.9403 GB, free: 3.957 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.039e-06/1.385, allocations: 0 / 0.9403 GB, free: 3.957 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.146e-06/1.385, allocations: 4 kB / 0.9403 GB, free: 3.953 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/1.385, allocations: 3.984 kB / 0.9403 GB, free: 3.949 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005916/1.385, allocations: 173 kB / 0.9405 GB, free: 3.734 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.418e-06/1.385, allocations: 256 / 0.9405 GB, free: 3.734 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/1.386, allocations: 12 kB / 0.9405 GB, free: 3.723 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-06/1.386, allocations: 8 kB / 0.9405 GB, free: 3.715 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/1.386, allocations: 7.578 kB / 0.9405 GB, free: 3.711 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.756e-06/1.386, allocations: 0 / 0.9405 GB, free: 3.711 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.197e-06/1.386, allocations: 4 kB / 0.9405 GB, free: 3.707 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/1.386, allocations: 170.1 kB / 0.9407 GB, free: 3.535 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.504e-05/1.386, allocations: 81.11 kB / 0.9408 GB, free: 3.438 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/1.386, allocations: 48 / 0.9408 GB, free: 3.438 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003101/1.387, allocations: 11.94 kB / 0.9408 GB, free: 3.426 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/1.387, allocations: 7.688 kB / 0.9408 GB, free: 3.422 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/1.387, allocations: 4 kB / 0.9408 GB, free: 3.418 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.691e-05/1.387, allocations: 75.28 kB / 0.9408 GB, free: 3.344 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.446e-06/1.387, allocations: 4 kB / 0.9408 GB, free: 3.34 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000873/1.388, allocations: 15.61 kB / 0.9409 GB, free: 3.328 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0002771/1.388, allocations: 130.9 kB / 0.941 GB, free: 3.195 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002472/1.388, allocations: 43.36 kB / 0.941 GB, free: 3.156 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.128e-06/1.388, allocations: 0 / 0.941 GB, free: 3.156 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.851e-05/1.389, allocations: 19.97 kB / 0.941 GB, free: 3.141 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/1.389, allocations: 5.969 kB / 0.9411 GB, free: 3.137 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/1.39, allocations: 277 kB / 0.9413 GB, free: 2.852 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/1.39, allocations: 0.6848 MB / 0.942 GB, free: 2.141 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001758/1.391, allocations: 11.98 kB / 0.942 GB, free: 2.129 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/1.391, allocations: 11.44 kB / 0.942 GB, free: 2.117 MB / 0.6511 GB Notification: Performance of SimCode: time 2.739e-06/1.391, allocations: 0 / 0.942 GB, free: 2.117 MB / 0.6511 GB Notification: Performance of Templates: time 0.007359/1.398, allocations: 0.9078 MB / 0.9429 GB, free: 1.219 MB / 0.6511 GB