Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadModel(Buildings): time 3.633/3.633, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.193e-05/3.201e-05, allocations: 4 kB / 0.499 GB, free: 13.44 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5286/0.5287, allocations: 92.67 MB / 0.5895 GB, free: 14.51 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.34/11.87, allocations: 4.644 GB / 5.234 GB, free: 28.16 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/11.87, allocations: 84.94 kB / 5.234 GB, free: 28.11 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.5371/12.41, allocations: 36.39 MB / 5.269 GB, free: 279.5 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.919e-06/12.41, allocations: 0 / 5.269 GB, free: 279.5 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.042e-06/12.41, allocations: 1.469 kB / 5.269 GB, free: 279.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002942/12.41, allocations: 345.5 kB / 5.269 GB, free: 279.1 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/12.41, allocations: 10.06 kB / 5.269 GB, free: 279.1 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000233/12.41, allocations: 12.45 kB / 5.27 GB, free: 279.1 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.852e-05/12.41, allocations: 161.8 kB / 5.27 GB, free: 278.9 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/12.41, allocations: 3.562 kB / 5.27 GB, free: 278.9 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/12.41, allocations: 8.188 kB / 5.27 GB, free: 278.9 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/12.41, allocations: 47.03 kB / 5.27 GB, free: 278.9 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.777e-06/12.41, allocations: 0 / 5.27 GB, free: 278.9 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/12.41, allocations: 5.312 kB / 5.27 GB, free: 278.9 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/12.41, allocations: 6.719 kB / 5.27 GB, free: 278.9 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.381e-05/12.41, allocations: 12.89 kB / 5.27 GB, free: 278.9 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001475/12.41, allocations: 171.3 kB / 5.27 GB, free: 278.7 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/12.41, allocations: 45.02 kB / 5.27 GB, free: 278.7 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.83e-05/12.41, allocations: 17.39 kB / 5.27 GB, free: 278.7 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/12.41, allocations: 0 / 5.27 GB, free: 278.7 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/12.41, allocations: 36.39 kB / 5.27 GB, free: 278.7 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 3.237e-06/12.41, allocations: 3.406 kB / 5.27 GB, free: 278.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0007302/12.41, allocations: 359.9 kB / 5.27 GB, free: 278.4 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/12.41, allocations: 64.42 kB / 5.27 GB, free: 278.3 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.738e-05/12.41, allocations: 88.98 kB / 5.27 GB, free: 278.2 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/12.41, allocations: 25.7 kB / 5.271 GB, free: 278.2 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 1.974e-05/12.41, allocations: 85.7 kB / 5.271 GB, free: 278.1 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/12.41, allocations: 40.52 kB / 5.271 GB, free: 278.1 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.36e-06/12.41, allocations: 1.031 kB / 5.271 GB, free: 278.1 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 5.061e-05/12.41, allocations: 317.9 kB / 5.271 GB, free: 277.8 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.73e-05/12.41, allocations: 16.09 kB / 5.271 GB, free: 277.8 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-05/12.41, allocations: 35.67 kB / 5.271 GB, free: 277.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.157e-05/12.41, allocations: 24.27 kB / 5.271 GB, free: 277.8 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/12.41, allocations: 1.188 kB / 5.271 GB, free: 277.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001717/12.41, allocations: 93.52 kB / 5.271 GB, free: 277.7 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/12.41, allocations: 4.344 kB / 5.271 GB, free: 277.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.873e-06/12.41, allocations: 1.031 kB / 5.271 GB, free: 277.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/12.41, allocations: 3.5 kB / 5.271 GB, free: 277.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/12.41, allocations: 18.66 kB / 5.271 GB, free: 277.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/12.41, allocations: 1.031 kB / 5.271 GB, free: 277.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.462e-05/12.41, allocations: 5.078 kB / 5.271 GB, free: 277.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/12.41, allocations: 10.34 kB / 5.271 GB, free: 277.7 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 5.727e-05/12.41, allocations: 120.7 kB / 5.271 GB, free: 277.6 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/12.41, allocations: 6.594 kB / 5.271 GB, free: 277.6 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.64e-05/12.41, allocations: 9.25 kB / 5.271 GB, free: 277.6 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/12.41, allocations: 1.406 kB / 5.271 GB, free: 277.6 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.057e-06/12.41, allocations: 0 / 5.271 GB, free: 277.6 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.032e-06/12.41, allocations: 3.938 kB / 5.271 GB, free: 277.6 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/12.41, allocations: 181 kB / 5.271 GB, free: 277.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-06/12.41, allocations: 0 / 5.271 GB, free: 277.4 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/12.41, allocations: 26.25 kB / 5.271 GB, free: 277.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.631e-06/12.41, allocations: 0 / 5.271 GB, free: 277.4 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/12.41, allocations: 1.5 kB / 5.271 GB, free: 277.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/12.41, allocations: 7.75 kB / 5.271 GB, free: 277.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.72e-06/12.41, allocations: 4.406 kB / 5.271 GB, free: 277.4 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/12.41, allocations: 126.9 kB / 5.272 GB, free: 277.4 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.686e-05/12.41, allocations: 88.12 kB / 5.272 GB, free: 277.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/12.41, allocations: 4.969 kB / 5.272 GB, free: 277.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.514e-05/12.41, allocations: 2.219 kB / 5.272 GB, free: 277.3 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/12.41, allocations: 18.19 kB / 5.272 GB, free: 277.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/12.41, allocations: 6.562 kB / 5.272 GB, free: 277.3 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.111e-05/12.41, allocations: 76.31 kB / 5.272 GB, free: 277.2 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.18e-07/12.41, allocations: 0 / 5.272 GB, free: 277.2 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003956/12.41, allocations: 53.23 kB / 5.272 GB, free: 277.2 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0007406/12.41, allocations: 0.578 MB / 5.272 GB, free: 277.1 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001549/12.41, allocations: 44.34 kB / 5.272 GB, free: 277.1 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/12.41, allocations: 3.094 kB / 5.272 GB, free: 277.1 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.661e-05/12.41, allocations: 26.34 kB / 5.272 GB, free: 277.1 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/12.41, allocations: 9.953 kB / 5.272 GB, free: 277 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005344/12.41, allocations: 292.9 kB / 5.273 GB, free: 276.9 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/12.41, allocations: 0.6928 MB / 5.273 GB, free: 276.2 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001014/12.41, allocations: 8.734 kB / 5.273 GB, free: 276.2 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/12.41, allocations: 12.69 kB / 5.273 GB, free: 276.2 MB / 0.7761 GB Notification: Performance of SimCode: time 1.357e-06/12.41, allocations: 0 / 5.273 GB, free: 276.2 MB / 0.7761 GB Notification: Performance of Templates: time 0.01779/12.43, allocations: 9.787 MB / 5.283 GB, free: 275.4 MB / 0.7761 GB