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.01056/0.01057, allocations: 221.3 kB / 15.17 MB, free: 5.996 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.001086/0.001086, allocations: 179 kB / 16.06 MB, free: 5.867 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.668/3.668, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.179/4.179, allocations: 472.3 MB / 0.9017 GB, free: 3.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004872/0.0004874, allocations: 16 kB / 1.008 GB, free: 10.26 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6093/0.6098, allocations: 98.71 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1507/0.7605, allocations: 134.3 MB / 1.235 GB, free: 104 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002315/0.7608, allocations: 139.7 kB / 1.235 GB, free: 103.9 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.854e-05/0.7609, allocations: 0 / 1.235 GB, free: 103.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 8.709e-05/0.761, allocations: 3.938 kB / 1.235 GB, free: 103.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.364e-05/0.761, allocations: 11.97 kB / 1.235 GB, free: 103.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005552/0.7616, allocations: 143.3 kB / 1.235 GB, free: 103.7 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.718e-05/0.7617, allocations: 39.88 kB / 1.236 GB, free: 103.7 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.26e-05/0.7617, allocations: 0 / 1.236 GB, free: 103.7 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.367e-05/0.7618, allocations: 15.94 kB / 1.236 GB, free: 103.7 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.919e-05/0.7618, allocations: 15.97 kB / 1.236 GB, free: 103.6 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.7619, allocations: 0 / 1.236 GB, free: 103.6 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003071/0.7622, allocations: 91.67 kB / 1.236 GB, free: 103.5 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.121e-05/0.7622, allocations: 11.98 kB / 1.236 GB, free: 103.5 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.844e-05/0.7623, allocations: 29.7 kB / 1.236 GB, free: 103.5 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.7624, allocations: 41.22 kB / 1.236 GB, free: 103.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.698e-06/0.7624, allocations: 8 kB / 1.236 GB, free: 103.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.999e-06/0.7624, allocations: 0 / 1.236 GB, free: 103.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.924e-06/0.7624, allocations: 0 / 1.236 GB, free: 103.5 MB / 0.7292 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.0002923/0.7627, allocations: 335.3 kB / 1.236 GB, free: 103.1 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.7628, allocations: 12.02 kB / 1.236 GB, free: 103.1 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003678/0.7632, allocations: 19.98 kB / 1.236 GB, free: 103 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.205e-05/0.7633, allocations: 163.1 kB / 1.236 GB, free: 102.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.43e-05/0.7633, allocations: 37.7 kB / 1.236 GB, free: 102.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.7634, allocations: 3.984 kB / 1.236 GB, free: 102.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.7635, allocations: 53.61 kB / 1.236 GB, free: 102.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.463e-06/0.7636, allocations: 3.953 kB / 1.236 GB, free: 102.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.7636, allocations: 0 / 1.236 GB, free: 102.7 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.7636, allocations: 4 kB / 1.236 GB, free: 102.7 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.882e-05/0.7637, allocations: 19.98 kB / 1.236 GB, free: 102.7 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003099/0.764, allocations: 260.4 kB / 1.237 GB, free: 102.4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.113e-05/0.7641, allocations: 26.56 kB / 1.237 GB, free: 102.4 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.232e-05/0.7641, allocations: 8.797 kB / 1.237 GB, free: 102.4 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000143/0.7642, allocations: 97.16 kB / 1.237 GB, free: 102.3 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.7643, allocations: 30.56 kB / 1.237 GB, free: 102.2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 2.179e-06/0.7643, allocations: 4 kB / 1.237 GB, free: 102.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0002654/0.7646, allocations: 52.12 kB / 1.237 GB, free: 102.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/0.7646, allocations: 51.41 kB / 1.237 GB, free: 102.1 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.952e-05/0.7647, allocations: 97.86 kB / 1.237 GB, free: 102 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.7647, allocations: 25.7 kB / 1.237 GB, free: 102 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.187e-05/0.7647, allocations: 95.97 kB / 1.237 GB, free: 101.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.176e-06/0.7648, allocations: 3.906 kB / 1.237 GB, free: 101.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-06/0.7648, allocations: 128 / 1.237 GB, free: 101.9 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.809e-05/0.7648, allocations: 318.8 kB / 1.237 GB, free: 101.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2e-05/0.7649, allocations: 7.938 kB / 1.237 GB, free: 101.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.819e-05/0.7649, allocations: 22.56 kB / 1.237 GB, free: 101.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.884e-05/0.7649, allocations: 8 kB / 1.237 GB, free: 101.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.25e-06/0.7649, allocations: 4 kB / 1.237 GB, free: 101.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001055/0.7651, allocations: 57.58 kB / 1.237 GB, free: 101.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.7651, allocations: 8 kB / 1.237 GB, free: 101.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-06/0.7651, allocations: 3.438 kB / 1.237 GB, free: 101.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.7651, allocations: 3.938 kB / 1.237 GB, free: 101.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.491e-05/0.7652, allocations: 8 kB / 1.237 GB, free: 101.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.079e-06/0.7652, allocations: 0 / 1.237 GB, free: 101.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.63e-05/0.7653, allocations: 0 / 1.237 GB, free: 101.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.837e-06/0.7653, allocations: 4 kB / 1.237 GB, free: 101.4 MB / 0.7292 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 6.038e-05/0.7653, allocations: 121.9 kB / 1.238 GB, free: 101.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/0.7654, allocations: 7.953 kB / 1.238 GB, free: 101.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.128e-05/0.7654, allocations: 6.719 kB / 1.238 GB, free: 101.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.46e-06/0.7654, allocations: 0 / 1.238 GB, free: 101.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.925e-06/0.7654, allocations: 0 / 1.238 GB, free: 101.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.7655, allocations: 0 / 1.238 GB, free: 101.3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/0.7657, allocations: 367.5 kB / 1.238 GB, free: 100.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.7658, allocations: 3.938 kB / 1.238 GB, free: 100.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/0.7658, allocations: 8.062 kB / 1.238 GB, free: 100.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.309e-06/0.7658, allocations: 0 / 1.238 GB, free: 100.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.531e-06/0.7658, allocations: 0 / 1.238 GB, free: 100.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.399e-06/0.7658, allocations: 0 / 1.238 GB, free: 100.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.105e-06/0.7658, allocations: 3.562 kB / 1.238 GB, free: 100.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.905e-05/0.7659, allocations: 73.94 kB / 1.238 GB, free: 100.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.853e-05/0.766, allocations: 77.11 kB / 1.238 GB, free: 100.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.766, allocations: 4.781 kB / 1.238 GB, free: 100.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.55e-05/0.7661, allocations: 4 kB / 1.238 GB, free: 100.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.458e-05/0.7661, allocations: 0 / 1.238 GB, free: 100.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.7661, allocations: 11.94 kB / 1.238 GB, free: 100.6 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.871e-05/0.7662, allocations: 79.27 kB / 1.238 GB, free: 100.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.75e-07/0.7662, allocations: 0 / 1.238 GB, free: 100.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002648/0.7664, allocations: 8 kB / 1.238 GB, free: 100.5 MB / 0.7292 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.0001094/0.7666, allocations: 108.2 kB / 1.238 GB, free: 100.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.739e-05/0.7667, allocations: 12 kB / 1.238 GB, free: 100.4 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.222e-06/0.7667, allocations: 4 kB / 1.238 GB, free: 100.4 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-05/0.7667, allocations: 7.922 kB / 1.238 GB, free: 100.4 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.767, allocations: 11.23 kB / 1.238 GB, free: 100.4 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002506/0.7673, allocations: 134.2 kB / 1.239 GB, free: 100.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.7674, allocations: 0.677 MB / 1.239 GB, free: 99.54 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.244e-05/0.7675, allocations: 7.984 kB / 1.239 GB, free: 99.53 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.964e-05/0.7675, allocations: 11.44 kB / 1.239 GB, free: 99.52 MB / 0.7292 GB Notification: Performance of SimCode: time 1.285e-06/0.7675, allocations: 0 / 1.239 GB, free: 99.52 MB / 0.7292 GB Notification: Performance of Templates: time 0.002817/0.7704, allocations: 0.4995 MB / 1.24 GB, free: 99.06 MB / 0.7292 GB