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.01511/0.01511, allocations: 105 kB / 15.06 MB, free: 5.559 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.002396/0.002396, allocations: 176.6 kB / 15.94 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 1.983/1.983, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.322/2.322, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008149/0.0008152, allocations: 16 kB / 0.5869 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5502/0.5511, allocations: 98.71 MB / 0.6833 GB, free: 16.58 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1775/0.7286, allocations: 124.9 MB / 0.8053 GB, free: 1.133 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002708/0.7289, allocations: 127.7 kB / 0.8054 GB, free: 1.008 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.283e-05/0.729, allocations: 0 / 0.8054 GB, free: 1.008 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.723e-05/0.7291, allocations: 11.92 kB / 0.8054 GB, free: 0.9961 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.4e-05/0.7291, allocations: 3.984 kB / 0.8054 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.7295, allocations: 67.83 kB / 0.8055 GB, free: 0.9258 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.882e-05/0.7296, allocations: 31.83 kB / 0.8055 GB, free: 0.8945 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.7296, allocations: 4 kB / 0.8055 GB, free: 0.8906 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.191e-05/0.7297, allocations: 4 kB / 0.8055 GB, free: 0.8867 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.938e-05/0.7297, allocations: 7.984 kB / 0.8055 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.7297, allocations: 0 / 0.8055 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002268/0.73, allocations: 51.89 kB / 0.8056 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.874e-05/0.73, allocations: 4 kB / 0.8056 GB, free: 0.8242 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.7301, allocations: 29.64 kB / 0.8056 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.7302, allocations: 39.95 kB / 0.8056 GB, free: 0.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.501e-06/0.7302, allocations: 0 / 0.8056 GB, free: 0.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.772e-06/0.7303, allocations: 0 / 0.8056 GB, free: 0.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.7303, allocations: 0 / 0.8056 GB, free: 0.75 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.0003807/0.7307, allocations: 324.6 kB / 0.806 GB, free: 396 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.7307, allocations: 12.03 kB / 0.806 GB, free: 384 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004008/0.7311, allocations: 19.98 kB / 0.806 GB, free: 364 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.7313, allocations: 163.1 kB / 0.8061 GB, free: 160 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.7315, allocations: 33.69 kB / 0.8062 GB, free: 120 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.7315, allocations: 0 / 0.8062 GB, free: 120 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.7317, allocations: 45.69 kB / 0.8062 GB, free: 68 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.7318, allocations: 3.953 kB / 0.8062 GB, free: 64 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.7318, allocations: 0 / 0.8062 GB, free: 64 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/0.7319, allocations: 0 / 0.8062 GB, free: 64 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.732, allocations: 23.92 kB / 0.8062 GB, free: 40 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006382/0.7326, allocations: 260.9 kB / 0.8065 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.813e-05/0.7327, allocations: 22.47 kB / 0.8065 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.7328, allocations: 0 / 0.8065 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.867e-05/0.7328, allocations: 34.62 kB / 0.8065 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 3.879e-06/0.7329, allocations: 0 / 0.8065 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0002311/0.7331, allocations: 41.62 kB / 0.8066 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.7332, allocations: 51.41 kB / 0.8066 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.7334, allocations: 105.8 kB / 0.8067 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.7334, allocations: 25.7 kB / 0.8068 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.78e-05/0.7335, allocations: 95.97 kB / 0.8069 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.7336, allocations: 7.891 kB / 0.8069 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.724e-06/0.7336, allocations: 4 kB / 0.8069 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002177/0.7338, allocations: 310.8 kB / 0.8072 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.746e-05/0.7339, allocations: 8.125 kB / 0.8072 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.559e-05/0.734, allocations: 26.56 kB / 0.8072 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.604e-05/0.734, allocations: 7.938 kB / 0.8072 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.72e-06/0.7341, allocations: 0 / 0.8072 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002429/0.7343, allocations: 61.58 kB / 0.8073 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.7344, allocations: 4 kB / 0.8073 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.7344, allocations: 12.03 kB / 0.8073 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.7344, allocations: 0 / 0.8073 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.7346, allocations: 4 kB / 0.8073 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.7346, allocations: 4 kB / 0.8073 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.262e-05/0.7347, allocations: 0 / 0.8073 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.7348, allocations: 0 / 0.8073 GB, free: 14.84 MB / 0.6355 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 0.0001594/0.7349, allocations: 113.8 kB / 0.8074 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.604e-05/0.735, allocations: 3.953 kB / 0.8074 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.503e-05/0.7351, allocations: 11.12 kB / 0.8074 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.356e-06/0.7351, allocations: 4 kB / 0.8074 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.421e-06/0.7351, allocations: 0 / 0.8074 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.78e-06/0.7352, allocations: 0 / 0.8074 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000547/0.7357, allocations: 350.6 kB / 0.8077 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.498e-06/0.7357, allocations: 0 / 0.8077 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.788e-05/0.7358, allocations: 0 / 0.8077 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.347e-06/0.7358, allocations: 3.984 kB / 0.8077 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.922e-06/0.7358, allocations: 4 kB / 0.8078 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.031e-06/0.7358, allocations: 4 kB / 0.8078 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.618e-06/0.7359, allocations: 7.969 kB / 0.8078 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.736, allocations: 53.14 kB / 0.8078 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.794e-05/0.7361, allocations: 85.06 kB / 0.8079 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.7361, allocations: 0 / 0.8079 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.7363, allocations: 7.922 kB / 0.8079 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.388e-05/0.7363, allocations: 0 / 0.8079 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.922e-06/0.7363, allocations: 4 kB / 0.8079 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.748e-05/0.7364, allocations: 83.31 kB / 0.808 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.35e-07/0.7364, allocations: 0 / 0.808 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004823/0.7369, allocations: 4 kB / 0.808 GB, free: 14.02 MB / 0.6355 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 0.0001577/0.7371, allocations: 104.8 kB / 0.8081 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001147/0.7372, allocations: 12 kB / 0.8081 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.906e-06/0.7373, allocations: 0 / 0.8081 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.907e-05/0.7373, allocations: 8.125 kB / 0.8081 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.7376, allocations: 11.25 kB / 0.8081 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003363/0.7379, allocations: 112.6 kB / 0.8082 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.7384, allocations: 0.6809 MB / 0.8089 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001494/0.7386, allocations: 12.41 kB / 0.8089 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.7387, allocations: 7.438 kB / 0.8089 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of SimCode: time 2.42e-06/0.7387, allocations: 0 / 0.8089 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of Templates: time 0.004049/0.7427, allocations: 419.8 kB / 0.8093 GB, free: 12.61 MB / 0.6355 GB