Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Examples.AirDerivativeCheck.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadModel(Buildings): time 3.979/3.979, allocations: 432.7 MB / 445.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.934e-05/2.954e-05, allocations: 3.25 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1734, allocations: 98.72 MB / 0.6347 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.627/5.801, allocations: 2.204 GB / 2.839 GB, free: 116.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/5.801, allocations: 66.53 kB / 2.839 GB, free: 116.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09009/5.891, allocations: 29.57 MB / 2.868 GB, free: 91.89 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.685e-06/5.891, allocations: 0 / 2.868 GB, free: 91.89 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.582e-06/5.891, allocations: 3.938 kB / 2.868 GB, free: 91.89 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003348/5.891, allocations: 381.6 kB / 2.868 GB, free: 91.48 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/5.891, allocations: 8.031 kB / 2.868 GB, free: 91.47 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004552/5.892, allocations: 43.84 kB / 2.868 GB, free: 91.43 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.164e-05/5.892, allocations: 167 kB / 2.868 GB, free: 91.22 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/5.892, allocations: 3.5 kB / 2.868 GB, free: 91.22 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/5.892, allocations: 11.94 kB / 2.868 GB, free: 91.21 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/5.892, allocations: 73.02 kB / 2.868 GB, free: 91.15 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/5.892, allocations: 0 / 2.868 GB, free: 91.15 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/5.892, allocations: 0 / 2.868 GB, free: 91.15 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/5.892, allocations: 3.953 kB / 2.868 GB, free: 91.14 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.723e-05/5.892, allocations: 42.84 kB / 2.868 GB, free: 91.11 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/5.893, allocations: 184.2 kB / 2.868 GB, free: 90.89 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/5.893, allocations: 92.98 kB / 2.869 GB, free: 90.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.945e-05/5.893, allocations: 32.44 kB / 2.869 GB, free: 90.78 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002205/5.893, allocations: 173.9 kB / 2.869 GB, free: 90.57 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/5.893, allocations: 38.56 kB / 2.869 GB, free: 90.53 MB / 0.823 GB Notification: Performance of pre-optimization done (n=12): time 2.227e-06/5.893, allocations: 0 / 2.869 GB, free: 90.53 MB / 0.823 GB Notification: Performance of matching and sorting (n=19): time 0.001389/5.895, allocations: 0.5108 MB / 2.869 GB, free: 90.02 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/5.895, allocations: 63.36 kB / 2.869 GB, free: 89.95 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.722e-05/5.895, allocations: 92.25 kB / 2.869 GB, free: 89.86 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/5.895, allocations: 29.2 kB / 2.869 GB, free: 89.82 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.694e-05/5.895, allocations: 80.52 kB / 2.87 GB, free: 89.74 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 5.24e-05/5.895, allocations: 74 kB / 2.87 GB, free: 89.68 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.16e-06/5.895, allocations: 3.25 kB / 2.87 GB, free: 89.68 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.31e-05/5.895, allocations: 318.4 kB / 2.87 GB, free: 89.36 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.741e-05/5.895, allocations: 34.98 kB / 2.87 GB, free: 89.33 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.543e-05/5.895, allocations: 72.72 kB / 2.87 GB, free: 89.26 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.675e-05/5.895, allocations: 39.8 kB / 2.87 GB, free: 89.23 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.179e-06/5.895, allocations: 0 / 2.87 GB, free: 89.23 MB / 0.823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002706/5.895, allocations: 161.9 kB / 2.87 GB, free: 89.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/5.895, allocations: 8 kB / 2.87 GB, free: 89.09 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.186e-06/5.896, allocations: 0 / 2.87 GB, free: 89.09 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/5.896, allocations: 4 kB / 2.87 GB, free: 89.09 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/5.896, allocations: 35.98 kB / 2.87 GB, free: 89.05 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/5.896, allocations: 11.89 kB / 2.87 GB, free: 89.04 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.09e-05/5.896, allocations: 3.562 kB / 2.87 GB, free: 89.04 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/5.896, allocations: 11.44 kB / 2.87 GB, free: 89.03 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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 6.223e-05/5.896, allocations: 104.7 kB / 2.87 GB, free: 88.93 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/5.896, allocations: 8 kB / 2.87 GB, free: 88.92 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.726e-05/5.896, allocations: 26.75 kB / 2.87 GB, free: 88.91 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.151e-06/5.896, allocations: 0 / 2.87 GB, free: 88.91 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.287e-06/5.896, allocations: 0 / 2.87 GB, free: 88.91 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.426e-06/5.896, allocations: 11.95 kB / 2.87 GB, free: 88.89 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/5.896, allocations: 188.4 kB / 2.871 GB, free: 88.68 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.312e-06/5.896, allocations: 7.938 kB / 2.871 GB, free: 88.67 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002547/5.897, allocations: 31.98 kB / 2.871 GB, free: 88.64 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.145e-06/5.897, allocations: 0 / 2.871 GB, free: 88.64 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/5.897, allocations: 7.625 kB / 2.871 GB, free: 88.63 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.811e-06/5.897, allocations: 0 / 2.871 GB, free: 88.63 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.694e-06/5.897, allocations: 0 / 2.871 GB, free: 88.63 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003348/5.897, allocations: 216.4 kB / 2.871 GB, free: 88.44 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-05/5.897, allocations: 93 kB / 2.871 GB, free: 88.33 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/5.897, allocations: 7.438 kB / 2.871 GB, free: 88.33 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/5.897, allocations: 11.86 kB / 2.871 GB, free: 88.32 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.581e-05/5.897, allocations: 7.984 kB / 2.871 GB, free: 88.31 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/5.897, allocations: 7.75 kB / 2.871 GB, free: 88.31 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.411e-05/5.897, allocations: 79.28 kB / 2.871 GB, free: 88.23 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.13e-07/5.897, allocations: 0 / 2.871 GB, free: 88.23 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004131/5.898, allocations: 66.12 kB / 2.871 GB, free: 88.19 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0006358/5.898, allocations: 0.5594 MB / 2.872 GB, free: 87.64 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000232/5.899, allocations: 98.73 kB / 2.872 GB, free: 87.56 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.513e-06/5.899, allocations: 0 / 2.872 GB, free: 87.56 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.013e-05/5.899, allocations: 55.55 kB / 2.872 GB, free: 87.52 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/5.899, allocations: 11.89 kB / 2.872 GB, free: 87.51 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007568/5.9, allocations: 465.2 kB / 2.872 GB, free: 87.05 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/5.9, allocations: 0.705 MB / 2.873 GB, free: 86.31 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001888/5.9, allocations: 24.75 kB / 2.873 GB, free: 86.29 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/5.9, allocations: 15.44 kB / 2.873 GB, free: 86.27 MB / 0.823 GB Notification: Performance of SimCode: time 1.677e-06/5.9, allocations: 0 / 2.873 GB, free: 86.27 MB / 0.823 GB Notification: Performance of Templates: time 0.0165/5.917, allocations: 9.771 MB / 2.883 GB, free: 76.5 MB / 0.823 GB