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.004192/0.004197, allocations: 241.6 kB / 15.81 MB, free: 6.277 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.001105/0.001105, allocations: 184.7 kB / 16.69 MB, free: 5.449 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.935/3.935, allocations: 389.1 MB / 406.5 MB, free: 11.84 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 4.161/4.161, allocations: 472.3 MB / 0.9024 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000472/0.0004721, allocations: 19.3 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1643, allocations: 98.73 MB / 1.105 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.7082/0.8725, allocations: 133.9 MB / 1.235 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002466/0.8728, allocations: 141.3 kB / 1.236 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.999e-05/0.8729, allocations: 6.875 kB / 1.236 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.873, allocations: 0 / 1.236 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.947e-05/0.8731, allocations: 14.12 kB / 1.236 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.8734, allocations: 70.92 kB / 1.236 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.389e-05/0.8735, allocations: 44.72 kB / 1.236 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.571e-05/0.8736, allocations: 0 / 1.236 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.785e-05/0.8736, allocations: 16.48 kB / 1.236 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.418e-05/0.8737, allocations: 6.281 kB / 1.236 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.8737, allocations: 0 / 1.236 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002239/0.874, allocations: 59.67 kB / 1.236 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.039e-05/0.874, allocations: 5.984 kB / 1.236 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.174e-05/0.874, allocations: 28.14 kB / 1.236 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.8741, allocations: 28.55 kB / 1.236 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.8742, allocations: 0 / 1.236 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8742, allocations: 0 / 1.236 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.8742, allocations: 0 / 1.236 GB, free: 10.04 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.0003271/0.8745, allocations: 328.2 kB / 1.236 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.8746, allocations: 9.844 kB / 1.236 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002803/0.8749, allocations: 30.2 kB / 1.236 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.79e-05/0.8749, allocations: 161.1 kB / 1.236 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.918e-05/0.875, allocations: 34.38 kB / 1.236 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.8751, allocations: 0 / 1.236 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.8752, allocations: 45.52 kB / 1.236 GB, free: 9.414 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.8752, allocations: 2.625 kB / 1.236 GB, free: 9.414 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.8753, allocations: 0 / 1.236 GB, free: 9.414 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.8753, allocations: 12.69 kB / 1.236 GB, free: 9.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.027e-05/0.8754, allocations: 15.14 kB / 1.236 GB, free: 9.406 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004095/0.8758, allocations: 254.5 kB / 1.237 GB, free: 9.133 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.425e-05/0.8758, allocations: 21.59 kB / 1.237 GB, free: 9.105 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.779e-05/0.8759, allocations: 8.859 kB / 1.237 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.103e-06/0.8759, allocations: 4 kB / 1.237 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.8759, allocations: 37.31 kB / 1.237 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.523e-06/0.8759, allocations: 0 / 1.237 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001309/0.8761, allocations: 35.55 kB / 1.237 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.792e-05/0.8761, allocations: 51.41 kB / 1.237 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.868e-05/0.8762, allocations: 107.3 kB / 1.237 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.8762, allocations: 29.64 kB / 1.237 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.159e-05/0.8763, allocations: 95.23 kB / 1.237 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.834e-06/0.8763, allocations: 7.906 kB / 1.237 GB, free: 8.715 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.8763, allocations: 0 / 1.237 GB, free: 8.715 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.8764, allocations: 317.5 kB / 1.237 GB, free: 8.402 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.053e-05/0.8765, allocations: 3.281 kB / 1.237 GB, free: 8.402 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.352e-05/0.8765, allocations: 28.95 kB / 1.237 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.201e-05/0.8765, allocations: 10.19 kB / 1.237 GB, free: 8.367 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.8766, allocations: 0 / 1.237 GB, free: 8.367 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.924e-05/0.8767, allocations: 56.22 kB / 1.237 GB, free: 8.324 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.8767, allocations: 6.094 kB / 1.237 GB, free: 8.324 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.8767, allocations: 2.938 kB / 1.237 GB, free: 8.324 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.8767, allocations: 0 / 1.237 GB, free: 8.324 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.901e-05/0.8768, allocations: 9.938 kB / 1.237 GB, free: 8.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.8768, allocations: 0 / 1.237 GB, free: 8.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.923e-05/0.8769, allocations: 7.25 kB / 1.237 GB, free: 8.316 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.8769, allocations: 4.094 kB / 1.237 GB, free: 8.312 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.081e-05/0.877, allocations: 112.2 kB / 1.238 GB, free: 8.199 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.877, allocations: 4.469 kB / 1.238 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.842e-05/0.8771, allocations: 6.094 kB / 1.238 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.8771, allocations: 0 / 1.238 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.8771, allocations: 0 / 1.238 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.696e-05/0.8771, allocations: 81.02 kB / 1.238 GB, free: 8.098 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.8771, allocations: 8.219 kB / 1.238 GB, free: 8.098 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.8773, allocations: 0 / 1.238 GB, free: 8.098 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.188e-05/0.8773, allocations: 8 kB / 1.238 GB, free: 8.09 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.985e-05/0.8774, allocations: 111.6 kB / 1.238 GB, free: 7.98 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001203/0.8775, allocations: 208.3 kB / 1.238 GB, free: 7.77 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.541e-05/0.8776, allocations: 0 / 1.238 GB, free: 7.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.159e-05/0.8776, allocations: 81.78 kB / 1.238 GB, free: 7.695 MB / 0.6198 GB Notification: Performance of Backend: time 6.61e-07/0.8776, allocations: 64 / 1.238 GB, free: 7.695 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004527/0.8781, allocations: 117.6 kB / 1.238 GB, free: 7.621 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0006127/0.8787, allocations: 0.5685 MB / 1.239 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of Templates: time 0.003403/0.8821, allocations: 0.6347 MB / 1.239 GB, free: 23 MB / 0.6355 GB