Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01607/0.01608, allocations: 104.5 kB / 15.06 MB, free: 5.602 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.00189/0.00189, allocations: 188.1 kB / 15.95 MB, free: 5.539 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.998/1.998, allocations: 194.6 MB / 211.3 MB, free: 11.24 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.28/2.28, allocations: 236.2 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005028/0.000503, allocations: 16 kB / 0.5869 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5427/0.5432, allocations: 98.71 MB / 0.6833 GB, free: 16.85 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001255/0.5445, allocations: 0.9722 MB / 0.6843 GB, free: 16.12 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.2/0.7446, allocations: 124.3 MB / 0.8056 GB, free: 0.8555 MB / 0.6199 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.305e-05/0.7447, allocations: 0 / 0.8056 GB, free: 0.8555 MB / 0.6199 GB Notification: Performance of NFTyping.typeComponents: time 1.487e-05/0.7447, allocations: 0 / 0.8056 GB, free: 0.8555 MB / 0.6199 GB Notification: Performance of NFTyping.typeBindings: time 5.33e-05/0.7447, allocations: 3.984 kB / 0.8056 GB, free: 0.8516 MB / 0.6199 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.7451, allocations: 83.72 kB / 0.8057 GB, free: 0.7695 MB / 0.6199 GB Notification: Performance of NFFlatten.flatten: time 5.325e-05/0.7452, allocations: 19.98 kB / 0.8057 GB, free: 0.75 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 4.076e-05/0.7453, allocations: 11.97 kB / 0.8057 GB, free: 0.7383 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 4.045e-05/0.7453, allocations: 15.94 kB / 0.8058 GB, free: 0.7227 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 5.696e-05/0.7454, allocations: 11.92 kB / 0.8058 GB, free: 0.7109 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.7454, allocations: 0 / 0.8058 GB, free: 0.7109 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002947/0.7457, allocations: 83.81 kB / 0.8059 GB, free: 0.6289 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.7457, allocations: 11.98 kB / 0.8059 GB, free: 0.6172 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.7458, allocations: 29.7 kB / 0.8059 GB, free: 0.582 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.7459, allocations: 37.22 kB / 0.8059 GB, free: 0.5469 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.7459, allocations: 0 / 0.8059 GB, free: 0.5469 MB / 0.6199 GB Notification: Performance of FrontEnd: time 2.075e-06/0.7459, allocations: 4 kB / 0.8059 GB, free: 0.543 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 4.942e-06/0.746, allocations: 0 / 0.8059 GB, free: 0.543 MB / 0.6199 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.0004001/0.7464, allocations: 343.4 kB / 0.8063 GB, free: 164 kB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.7464, allocations: 8.031 kB / 0.8063 GB, free: 156 kB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002326/0.7467, allocations: 15.98 kB / 0.8063 GB, free: 140 kB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.7468, allocations: 170.9 kB / 0.8064 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.7468, allocations: 0 / 0.8064 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.7469, allocations: 8 kB / 0.8065 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.747, allocations: 57.61 kB / 0.8065 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.058e-06/0.747, allocations: 0 / 0.8065 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.7471, allocations: 3.953 kB / 0.8065 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.616e-06/0.7471, allocations: 4 kB / 0.8065 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.673e-05/0.7471, allocations: 15.98 kB / 0.8065 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002031/0.7474, allocations: 169.7 kB / 0.8067 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.7475, allocations: 46.5 kB / 0.8067 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.7475, allocations: 7.938 kB / 0.8067 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.7475, allocations: 34.56 kB / 0.8068 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.968e-06/0.7476, allocations: 0 / 0.8068 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0008845/0.7485, allocations: 374.8 kB / 0.8071 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.7485, allocations: 51.41 kB / 0.8072 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.44e-05/0.7486, allocations: 97.86 kB / 0.8073 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.7486, allocations: 33.64 kB / 0.8073 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.324e-05/0.7487, allocations: 84.12 kB / 0.8074 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.903e-05/0.7488, allocations: 35.45 kB / 0.8074 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.168e-06/0.7488, allocations: 8 kB / 0.8074 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.7489, allocations: 314.8 kB / 0.8077 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.2e-05/0.749, allocations: 20 kB / 0.8078 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.18e-05/0.7491, allocations: 33.64 kB / 0.8078 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.892e-05/0.7492, allocations: 32.11 kB / 0.8078 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.7492, allocations: 0 / 0.8078 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002011/0.7494, allocations: 97.56 kB / 0.8079 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.7494, allocations: 4 kB / 0.8079 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.427e-06/0.7494, allocations: 0 / 0.8079 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.7494, allocations: 7.953 kB / 0.8079 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.7496, allocations: 23.88 kB / 0.8079 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.7496, allocations: 7.984 kB / 0.808 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.365e-05/0.7497, allocations: 4 kB / 0.808 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.7497, allocations: 4 kB / 0.808 GB, free: 14.2 MB / 0.6355 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 () * Number of clocked 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 0.0001066/0.7498, allocations: 117.8 kB / 0.8081 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/0.7498, allocations: 4 kB / 0.8081 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.485e-05/0.7499, allocations: 7.969 kB / 0.8081 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.992e-06/0.7499, allocations: 7.953 kB / 0.8081 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.632e-06/0.7499, allocations: 0 / 0.8081 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.611e-06/0.7499, allocations: 3.938 kB / 0.8081 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.7501, allocations: 169.7 kB / 0.8083 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.7501, allocations: 0 / 0.8083 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.7503, allocations: 23.98 kB / 0.8083 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.414e-06/0.7503, allocations: 4 kB / 0.8083 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.7503, allocations: 0 / 0.8083 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.27e-06/0.7504, allocations: 4 kB / 0.8083 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.023e-06/0.7504, allocations: 3.953 kB / 0.8083 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.7507, allocations: 129 kB / 0.8084 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.996e-05/0.7508, allocations: 85.14 kB / 0.8085 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.7508, allocations: 3.938 kB / 0.8085 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.7509, allocations: 8 kB / 0.8085 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.341e-05/0.7509, allocations: 11.98 kB / 0.8085 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.751, allocations: 3.953 kB / 0.8085 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.825e-05/0.751, allocations: 79.28 kB / 0.8086 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.49e-07/0.751, allocations: 0 / 0.8086 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002724/0.7513, allocations: 16 kB / 0.8086 GB, free: 13.44 MB / 0.6355 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 () * Number of clocked 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.000127/0.7515, allocations: 103.3 kB / 0.8087 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001584/0.7516, allocations: 60.14 kB / 0.8088 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.7516, allocations: 8 kB / 0.8088 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.848e-05/0.7517, allocations: 27.94 kB / 0.8088 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.7519, allocations: 7.984 kB / 0.8088 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007316/0.7527, allocations: 392 kB / 0.8092 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.753, allocations: 0.6887 MB / 0.8099 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001004/0.7531, allocations: 8.672 kB / 0.8099 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.7532, allocations: 15.44 kB / 0.8099 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of SimCode: time 1.371e-06/0.7532, allocations: 0 / 0.8099 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of Templates: time 0.003141/0.7563, allocations: 0.586 MB / 0.8105 GB, free: 11.49 MB / 0.6355 GB