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.PerfectGasTemperatureEnthalpyInversion.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.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01058/0.01058, allocations: 222.3 kB / 15.17 MB, free: 5.93 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.001137/0.001137, allocations: 181.3 kB / 16.06 MB, free: 5.828 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 3.663/3.663, allocations: 389.1 MB / 405.9 MB, free: 11.76 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.807/3.807, allocations: 472.3 MB / 0.9018 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004802/0.0004805, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1281, allocations: 98.72 MB / 1.104 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6015/0.7297, allocations: 133.9 MB / 1.235 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002306/0.73, allocations: 138.8 kB / 1.235 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.719e-05/0.73, allocations: 3.938 kB / 1.235 GB, free: 9.992 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.961e-05/0.7301, allocations: 7.094 kB / 1.235 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.841e-05/0.7302, allocations: 18.16 kB / 1.235 GB, free: 9.977 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.7305, allocations: 58.64 kB / 1.235 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7e-05/0.7306, allocations: 43.64 kB / 1.235 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.958e-05/0.7306, allocations: 3.984 kB / 1.235 GB, free: 9.934 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.532e-05/0.7307, allocations: 13.78 kB / 1.235 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.032e-05/0.7307, allocations: 9.719 kB / 1.235 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.7308, allocations: 7.031 kB / 1.235 GB, free: 9.926 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000211/0.731, allocations: 42 kB / 1.235 GB, free: 9.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.129e-05/0.731, allocations: 18.31 kB / 1.235 GB, free: 9.898 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.968e-05/0.7311, allocations: 28.83 kB / 1.235 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.047e-05/0.7312, allocations: 22.16 kB / 1.235 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.281e-06/0.7312, allocations: 3.312 kB / 1.235 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.092e-06/0.7312, allocations: 0 / 1.235 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.485e-06/0.7312, allocations: 0 / 1.235 GB, free: 9.867 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002842/0.7315, allocations: 329.8 kB / 1.236 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.7315, allocations: 8.656 kB / 1.236 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002638/0.7318, allocations: 26.25 kB / 1.236 GB, free: 9.512 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.644e-05/0.7319, allocations: 163.1 kB / 1.236 GB, free: 9.312 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.119e-05/0.732, allocations: 30.14 kB / 1.236 GB, free: 9.281 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.23e-06/0.732, allocations: 0 / 1.236 GB, free: 9.281 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.7322, allocations: 55.89 kB / 1.236 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.11e-06/0.7322, allocations: 3.469 kB / 1.236 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.7322, allocations: 0 / 1.236 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.7322, allocations: 9.328 kB / 1.236 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.185e-05/0.7323, allocations: 21.5 kB / 1.236 GB, free: 9.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003471/0.7327, allocations: 251.2 kB / 1.236 GB, free: 8.961 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.812e-05/0.7327, allocations: 29.5 kB / 1.236 GB, free: 8.926 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.844e-05/0.7327, allocations: 4.859 kB / 1.236 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.736e-06/0.7328, allocations: 0 / 1.236 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.7328, allocations: 42.5 kB / 1.236 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.724e-06/0.7328, allocations: 2.969 kB / 1.236 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001277/0.7329, allocations: 32.17 kB / 1.236 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/0.733, allocations: 51.41 kB / 1.236 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.1e-05/0.7331, allocations: 109 kB / 1.236 GB, free: 8.672 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.7331, allocations: 25.7 kB / 1.236 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.446e-05/0.7331, allocations: 91.92 kB / 1.236 GB, free: 8.547 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.138e-06/0.7332, allocations: 11.41 kB / 1.236 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-06/0.7332, allocations: 4 kB / 1.236 GB, free: 8.535 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.7333, allocations: 310.8 kB / 1.237 GB, free: 8.223 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.7334, allocations: 6.594 kB / 1.237 GB, free: 8.223 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.991e-05/0.7334, allocations: 25.23 kB / 1.237 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.722e-05/0.7334, allocations: 6.125 kB / 1.237 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.186e-06/0.7334, allocations: 4 kB / 1.237 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001025/0.7336, allocations: 56.2 kB / 1.237 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.7336, allocations: 10.59 kB / 1.237 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.293e-06/0.7336, allocations: 0 / 1.237 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.7336, allocations: 3 kB / 1.237 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.418e-05/0.7337, allocations: 6.156 kB / 1.237 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.7337, allocations: 0 / 1.237 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.543e-05/0.7338, allocations: 3.156 kB / 1.237 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.7338, allocations: 0 / 1.237 GB, free: 8.145 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 8.487e-05/0.7339, allocations: 116.8 kB / 1.237 GB, free: 8.023 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.7339, allocations: 3.953 kB / 1.237 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.224e-05/0.7339, allocations: 9.547 kB / 1.237 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.612e-06/0.734, allocations: 3.938 kB / 1.237 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.734, allocations: 2.531 kB / 1.237 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.259e-06/0.734, allocations: 0 / 1.237 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.7343, allocations: 347.3 kB / 1.237 GB, free: 7.629 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.196e-06/0.7343, allocations: 32 / 1.237 GB, free: 7.629 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.002e-05/0.7343, allocations: 7.328 kB / 1.237 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.7343, allocations: 3.031 kB / 1.237 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.948e-06/0.7343, allocations: 288 / 1.237 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.7343, allocations: 0 / 1.237 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.7343, allocations: 0 / 1.237 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.347e-05/0.7344, allocations: 63 kB / 1.237 GB, free: 7.551 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.318e-05/0.7344, allocations: 84.52 kB / 1.237 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.7345, allocations: 6.906 kB / 1.237 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.16e-05/0.7346, allocations: 1.438 kB / 1.237 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.512e-05/0.7346, allocations: 3.031 kB / 1.237 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-06/0.7346, allocations: 0 / 1.237 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.079e-05/0.7347, allocations: 85.56 kB / 1.238 GB, free: 7.371 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.74e-07/0.7347, allocations: 3.938 kB / 1.238 GB, free: 7.367 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002651/0.735, allocations: 6.094 kB / 1.238 GB, free: 7.367 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (1): * Single equations (assignments): 1 * 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 9.318e-05/0.7351, allocations: 100.4 kB / 1.238 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.471e-05/0.7351, allocations: 21.59 kB / 1.238 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.622e-06/0.7352, allocations: 0 / 1.238 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.005e-05/0.7352, allocations: 3.328 kB / 1.238 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.7354, allocations: 3.25 kB / 1.238 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002152/0.7357, allocations: 117.2 kB / 1.238 GB, free: 7.168 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.7361, allocations: 0.6824 MB / 1.238 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.342e-05/0.7362, allocations: 6.188 kB / 1.238 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.953e-05/0.7362, allocations: 10.84 kB / 1.238 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of SimCode: time 1.321e-06/0.7362, allocations: 0 / 1.238 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of Templates: time 0.002591/0.7388, allocations: 435.9 kB / 1.239 GB, free: 22.43 MB / 0.6355 GB