Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadModel(Buildings): time 4.05/4.05, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.881e-05/2.897e-05, allocations: 3.797 kB / 0.5383 GB, free: 10.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1744, allocations: 98.72 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.97/12.15, allocations: 4.66 GB / 5.295 GB, free: 149.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/12.15, allocations: 81.5 kB / 5.295 GB, free: 149.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1051/12.25, allocations: 36.45 MB / 5.331 GB, free: 119 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.767e-06/12.25, allocations: 0 / 5.331 GB, free: 119 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.358e-06/12.25, allocations: 0 / 5.331 GB, free: 119 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002841/12.25, allocations: 342.3 kB / 5.331 GB, free: 118.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/12.26, allocations: 8.031 kB / 5.331 GB, free: 118.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002278/12.26, allocations: 19.17 kB / 5.331 GB, free: 118.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.609e-05/12.26, allocations: 159.1 kB / 5.331 GB, free: 118.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/12.26, allocations: 4 kB / 5.331 GB, free: 118.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/12.26, allocations: 7.688 kB / 5.331 GB, free: 118.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/12.26, allocations: 57.31 kB / 5.331 GB, free: 118.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.793e-06/12.26, allocations: 0 / 5.331 GB, free: 118.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/12.26, allocations: 3.812 kB / 5.331 GB, free: 118.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.172e-06/12.26, allocations: 0 / 5.331 GB, free: 118.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.321e-05/12.26, allocations: 15.98 kB / 5.331 GB, free: 118.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000139/12.26, allocations: 172.6 kB / 5.331 GB, free: 118.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.081e-05/12.26, allocations: 49.81 kB / 5.332 GB, free: 118.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.578e-05/12.26, allocations: 16.23 kB / 5.332 GB, free: 118.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/12.26, allocations: 0 / 5.332 GB, free: 118.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/12.26, allocations: 38.5 kB / 5.332 GB, free: 118 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.862e-06/12.26, allocations: 0 / 5.332 GB, free: 118 MB / 0.823 GB Notification: Performance of matching and sorting (n=11): time 0.0007074/12.26, allocations: 362 kB / 5.332 GB, free: 117.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/12.26, allocations: 51.41 kB / 5.332 GB, free: 117.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.657e-05/12.26, allocations: 85 kB / 5.332 GB, free: 117.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/12.26, allocations: 33.14 kB / 5.332 GB, free: 117.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.72e-05/12.26, allocations: 80.14 kB / 5.332 GB, free: 117.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/12.26, allocations: 42.61 kB / 5.332 GB, free: 117.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.374e-06/12.26, allocations: 0 / 5.332 GB, free: 117.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.15e-05/12.26, allocations: 322.8 kB / 5.333 GB, free: 117 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.193e-05/12.26, allocations: 15.56 kB / 5.333 GB, free: 117 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.497e-05/12.26, allocations: 35.97 kB / 5.333 GB, free: 117 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.54e-05/12.26, allocations: 22.8 kB / 5.333 GB, free: 117 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.738e-06/12.26, allocations: 3.938 kB / 5.333 GB, free: 117 MB / 0.823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001611/12.26, allocations: 94.67 kB / 5.333 GB, free: 116.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/12.26, allocations: 7.953 kB / 5.333 GB, free: 116.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.053e-06/12.26, allocations: 0 / 5.333 GB, free: 116.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/12.26, allocations: 4 kB / 5.333 GB, free: 116.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/12.26, allocations: 31.48 kB / 5.333 GB, free: 116.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/12.26, allocations: 0 / 5.333 GB, free: 116.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.286e-05/12.26, allocations: 0 / 5.333 GB, free: 116.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.814e-06/12.26, allocations: 4 kB / 5.333 GB, free: 116.8 MB / 0.823 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.772e-05/12.26, allocations: 112.4 kB / 5.333 GB, free: 116.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/12.26, allocations: 7.906 kB / 5.333 GB, free: 116.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.752e-05/12.26, allocations: 19.05 kB / 5.333 GB, free: 116.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/12.26, allocations: 0 / 5.333 GB, free: 116.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.985e-06/12.26, allocations: 4 kB / 5.333 GB, free: 116.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.198e-06/12.26, allocations: 7.922 kB / 5.333 GB, free: 116.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/12.26, allocations: 172.3 kB / 5.333 GB, free: 116.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.479e-06/12.26, allocations: 0 / 5.333 GB, free: 116.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/12.26, allocations: 23.92 kB / 5.333 GB, free: 116.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.062e-06/12.26, allocations: 4 kB / 5.333 GB, free: 116.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/12.26, allocations: 0 / 5.333 GB, free: 116.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/12.26, allocations: 3.953 kB / 5.333 GB, free: 116.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.676e-06/12.26, allocations: 0 / 5.333 GB, free: 116.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/12.26, allocations: 130.3 kB / 5.333 GB, free: 116.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.833e-05/12.26, allocations: 89.05 kB / 5.333 GB, free: 116.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/12.26, allocations: 3.562 kB / 5.333 GB, free: 116.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.512e-05/12.26, allocations: 4 kB / 5.333 GB, free: 116.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/12.26, allocations: 15.88 kB / 5.333 GB, free: 116.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/12.26, allocations: 7.75 kB / 5.333 GB, free: 116.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.273e-05/12.26, allocations: 75.28 kB / 5.333 GB, free: 116.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.93e-07/12.26, allocations: 3.938 kB / 5.333 GB, free: 116.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004006/12.26, allocations: 53.45 kB / 5.333 GB, free: 116.1 MB / 0.823 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.000676/12.26, allocations: 0.5575 MB / 5.334 GB, free: 115.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001663/12.26, allocations: 62.5 kB / 5.334 GB, free: 115.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.094e-06/12.26, allocations: 0 / 5.334 GB, free: 115.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.943e-05/12.26, allocations: 23.88 kB / 5.334 GB, free: 115.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001654/12.26, allocations: 10.62 kB / 5.334 GB, free: 115.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005232/12.26, allocations: 289.2 kB / 5.334 GB, free: 115.2 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/12.26, allocations: 0.6887 MB / 5.335 GB, free: 114.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001018/12.26, allocations: 8.672 kB / 5.335 GB, free: 114.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.567e-05/12.26, allocations: 11.44 kB / 5.335 GB, free: 114.4 MB / 0.823 GB Notification: Performance of SimCode: time 1.593e-06/12.26, allocations: 0 / 5.335 GB, free: 114.4 MB / 0.823 GB Notification: Performance of Templates: time 0.01655/12.28, allocations: 9.763 MB / 5.345 GB, free: 104.7 MB / 0.823 GB