Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009548/0.009552, allocations: 108.5 kB / 15.06 MB, free: 5.562 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.001217/0.001217, allocations: 180.2 kB / 15.95 MB, free: 5.523 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 2.136/2.136, allocations: 194.5 MB / 211.3 MB, free: 11.3 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.292/2.292, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004865/0.0004867, allocations: 12 kB / 0.5869 GB, free: 2.219 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.545/0.5455, allocations: 98.72 MB / 0.6833 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1848/0.7303, allocations: 125.2 MB / 0.8056 GB, free: 0.9062 MB / 0.6199 GB Notification: Performance of NFInst.instExpressions: time 0.0002706/0.7306, allocations: 131.7 kB / 0.8057 GB, free: 0.7773 MB / 0.6199 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.307e-05/0.7307, allocations: 0 / 0.8057 GB, free: 0.7773 MB / 0.6199 GB Notification: Performance of NFTyping.typeComponents: time 9.248e-05/0.7308, allocations: 0 / 0.8057 GB, free: 0.7773 MB / 0.6199 GB Notification: Performance of NFTyping.typeBindings: time 4.053e-05/0.7308, allocations: 3.984 kB / 0.8057 GB, free: 0.7734 MB / 0.6199 GB Notification: Performance of NFTyping.typeClassSections: time 0.000629/0.7315, allocations: 151.5 kB / 0.8059 GB, free: 0.625 MB / 0.6199 GB Notification: Performance of NFFlatten.flatten: time 5.732e-05/0.7315, allocations: 19.95 kB / 0.8059 GB, free: 0.6055 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 3.816e-05/0.7316, allocations: 0 / 0.8059 GB, free: 0.6055 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 3.817e-05/0.7316, allocations: 15.98 kB / 0.8059 GB, free: 0.5898 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 4.669e-05/0.7317, allocations: 4 kB / 0.8059 GB, free: 0.5859 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.7317, allocations: 0 / 0.8059 GB, free: 0.5859 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003951/0.7321, allocations: 107.8 kB / 0.806 GB, free: 492 kB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 3.341e-05/0.7322, allocations: 12 kB / 0.806 GB, free: 480 kB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 2.899e-05/0.7322, allocations: 33.64 kB / 0.8061 GB, free: 440 kB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.7324, allocations: 41.2 kB / 0.8061 GB, free: 400 kB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 2.562e-06/0.7324, allocations: 0 / 0.8061 GB, free: 400 kB / 0.6199 GB Notification: Performance of FrontEnd: time 2.317e-06/0.7324, allocations: 4 kB / 0.8061 GB, free: 396 kB / 0.6199 GB Notification: Performance of Transformations before backend: time 4.762e-06/0.7324, allocations: 0 / 0.8061 GB, free: 396 kB / 0.6199 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.0004005/0.7328, allocations: 331.2 kB / 0.8064 GB, free: 20 kB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.7329, allocations: 12.03 kB / 0.8064 GB, free: 8 kB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003838/0.7333, allocations: 27.97 kB / 0.8065 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.7334, allocations: 167 kB / 0.8066 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.107e-05/0.7335, allocations: 33.62 kB / 0.8067 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.7336, allocations: 0 / 0.8067 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.7337, allocations: 45.67 kB / 0.8067 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.7337, allocations: 3.953 kB / 0.8067 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.7338, allocations: 8 kB / 0.8067 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.7338, allocations: 0 / 0.8067 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.735e-05/0.7339, allocations: 19.98 kB / 0.8067 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.7343, allocations: 256.8 kB / 0.807 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.091e-05/0.7344, allocations: 34.5 kB / 0.807 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.7344, allocations: 0 / 0.807 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.7345, allocations: 30.56 kB / 0.807 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.953e-06/0.7345, allocations: 8.062 kB / 0.807 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002871/0.7348, allocations: 49.69 kB / 0.8071 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.7348, allocations: 55.34 kB / 0.8071 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.639e-05/0.7349, allocations: 101.8 kB / 0.8072 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.735, allocations: 29.7 kB / 0.8073 GB, free: 15 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.994e-05/0.735, allocations: 87.98 kB / 0.8074 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.293e-05/0.7351, allocations: 7.906 kB / 0.8074 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-06/0.7351, allocations: 0 / 0.8074 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.7352, allocations: 319 kB / 0.8077 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.183e-05/0.7353, allocations: 4 kB / 0.8077 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.022e-05/0.7353, allocations: 25.72 kB / 0.8077 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.663e-05/0.7354, allocations: 11.98 kB / 0.8077 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.39e-06/0.7354, allocations: 0 / 0.8077 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001325/0.7355, allocations: 57.58 kB / 0.8078 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.7356, allocations: 8 kB / 0.8078 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.7356, allocations: 32 / 0.8078 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.7356, allocations: 4 kB / 0.8078 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.522e-05/0.7357, allocations: 4 kB / 0.8078 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.845e-06/0.7357, allocations: 4 kB / 0.8078 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.73e-05/0.7357, allocations: 0 / 0.8078 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.7358, allocations: 0 / 0.8078 GB, free: 14.45 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 (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 0.0001052/0.7359, allocations: 117.8 kB / 0.8079 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.7359, allocations: 11.83 kB / 0.8079 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.125e-05/0.736, allocations: 3.453 kB / 0.8079 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.301e-06/0.736, allocations: 8 kB / 0.8079 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.101e-06/0.736, allocations: 0 / 0.8079 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.08e-06/0.736, allocations: 3.984 kB / 0.8079 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004304/0.7365, allocations: 371.4 kB / 0.8083 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.7365, allocations: 4 kB / 0.8083 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.049e-05/0.7365, allocations: 4 kB / 0.8083 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.916e-06/0.7365, allocations: 0 / 0.8083 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.7366, allocations: 3.984 kB / 0.8083 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.884e-06/0.7366, allocations: 8 kB / 0.8083 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.154e-06/0.7366, allocations: 4 kB / 0.8083 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.7367, allocations: 83.66 kB / 0.8084 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.7368, allocations: 81.11 kB / 0.8084 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.851e-05/0.7368, allocations: 0 / 0.8084 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.946e-05/0.7369, allocations: 8.031 kB / 0.8085 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.721e-05/0.737, allocations: 0 / 0.8085 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.034e-06/0.737, allocations: 0 / 0.8085 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.592e-05/0.737, allocations: 83.27 kB / 0.8085 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.53e-07/0.737, allocations: 0 / 0.8085 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002625/0.7373, allocations: 8 kB / 0.8085 GB, free: 13.55 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001529/0.7375, allocations: 107.2 kB / 0.8086 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.7376, allocations: 19.98 kB / 0.8087 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.29e-06/0.7376, allocations: 0 / 0.8087 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.655e-05/0.7377, allocations: 4 kB / 0.8087 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.7379, allocations: 15.89 kB / 0.8087 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003057/0.7382, allocations: 137.5 kB / 0.8088 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.7385, allocations: 0.6731 MB / 0.8095 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.788e-05/0.7386, allocations: 7.984 kB / 0.8095 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.7387, allocations: 11.44 kB / 0.8095 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of SimCode: time 1.435e-06/0.7387, allocations: 0 / 0.8095 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of Templates: time 0.003245/0.7419, allocations: 0.5064 MB / 0.81 GB, free: 12.02 MB / 0.6355 GB