Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.599/1.599, allocations: 297.4 MB / 312.6 MB, free: 2.91 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009591/0.0009592, allocations: 189.4 kB / 382.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.7 MB / 0.6617 GB, free: 7.215 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007984/0.0007987, allocations: 93.72 kB / 0.7789 GB, free: 46.87 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004281/0.0004282, allocations: 8.781 kB / 0.9058 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6284/0.6288, allocations: 119.2 MB / 1.022 GB, free: 57.89 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1366/0.7655, allocations: 136.2 MB / 1.155 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001102/0.7657, allocations: 51.75 kB / 1.155 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.873e-05/0.7657, allocations: 1.25 kB / 1.155 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.493e-05/0.7658, allocations: 3 kB / 1.155 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.768e-05/0.7659, allocations: 9.938 kB / 1.155 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007328/0.7666, allocations: 188.8 kB / 1.155 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.626e-05/0.7667, allocations: 60.94 kB / 1.156 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.7668, allocations: 5.312 kB / 1.156 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.919e-05/0.7668, allocations: 15.28 kB / 1.156 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.604e-05/0.7669, allocations: 7.312 kB / 1.156 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.7669, allocations: 5.156 kB / 1.156 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005004/0.7674, allocations: 226.3 kB / 1.156 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.032e-05/0.7675, allocations: 7.062 kB / 1.156 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.269e-05/0.7675, allocations: 46.91 kB / 1.156 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.7678, allocations: 117.6 kB / 1.156 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.7678, allocations: 1.469 kB / 1.156 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.022e-06/0.7678, allocations: 0 / 1.156 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.7678, allocations: 4 kB / 1.156 GB, free: 8.25 MB / 0.7448 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.0003562/0.7682, allocations: 334.4 kB / 1.156 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.7682, allocations: 12.47 kB / 1.156 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000272/0.7685, allocations: 27.17 kB / 1.156 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.7686, allocations: 161.7 kB / 1.156 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.517e-05/0.7687, allocations: 35.17 kB / 1.156 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.7687, allocations: 1.125 kB / 1.156 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.7689, allocations: 52.67 kB / 1.157 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.7689, allocations: 0 / 1.157 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.7689, allocations: 1.531 kB / 1.157 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.7689, allocations: 5.375 kB / 1.157 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.388e-05/0.769, allocations: 23.09 kB / 1.157 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003199/0.7693, allocations: 258.7 kB / 1.157 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.784e-05/0.7694, allocations: 23.98 kB / 1.157 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.948e-05/0.7694, allocations: 7.359 kB / 1.157 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001401/0.7695, allocations: 93.77 kB / 1.157 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.7696, allocations: 34.83 kB / 1.157 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.7696, allocations: 5.281 kB / 1.157 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002231/0.7698, allocations: 50.67 kB / 1.157 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.7699, allocations: 51.41 kB / 1.157 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.865e-05/0.77, allocations: 115.3 kB / 1.157 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.77, allocations: 26.73 kB / 1.157 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.087e-05/0.7701, allocations: 85.23 kB / 1.157 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.989e-06/0.7701, allocations: 5 kB / 1.157 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.7701, allocations: 0 / 1.157 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.7702, allocations: 316.3 kB / 1.158 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.478e-05/0.7702, allocations: 10.5 kB / 1.158 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.367e-05/0.7702, allocations: 22.95 kB / 1.158 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.08e-05/0.7703, allocations: 34.31 kB / 1.158 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.7703, allocations: 0 / 1.158 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.448e-05/0.7704, allocations: 61.34 kB / 1.158 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.7704, allocations: 8.938 kB / 1.158 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.7704, allocations: 1.094 kB / 1.158 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.7704, allocations: 1.031 kB / 1.158 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.308e-05/0.7705, allocations: 8.094 kB / 1.158 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.7705, allocations: 7.875 kB / 1.158 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.737e-05/0.7705, allocations: 1.5 kB / 1.158 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.7705, allocations: 2.312 kB / 1.158 GB, free: 6.379 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.344e-05/0.7706, allocations: 115.4 kB / 1.158 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.7707, allocations: 2.438 kB / 1.158 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.7707, allocations: 12.14 kB / 1.158 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.7707, allocations: 3.984 kB / 1.158 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.7707, allocations: 5.156 kB / 1.158 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-06/0.7707, allocations: 0 / 1.158 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.771, allocations: 363.3 kB / 1.158 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.771, allocations: 1 kB / 1.158 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.811e-05/0.771, allocations: 10.28 kB / 1.158 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.771, allocations: 8.969 kB / 1.158 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.771, allocations: 2.75 kB / 1.158 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.7711, allocations: 0.9688 kB / 1.158 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.7711, allocations: 1.094 kB / 1.158 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.587e-05/0.7711, allocations: 75.25 kB / 1.158 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.329e-05/0.7712, allocations: 86.33 kB / 1.158 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.7712, allocations: 1.281 kB / 1.158 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-05/0.7713, allocations: 6.281 kB / 1.158 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.096e-05/0.7713, allocations: 1.406 kB / 1.158 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.7713, allocations: 1.062 kB / 1.158 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.974e-05/0.7714, allocations: 82.56 kB / 1.158 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7714, allocations: 1.219 kB / 1.158 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000174/0.7715, allocations: 5.188 kB / 1.158 GB, free: 5.566 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001196/0.7717, allocations: 112 kB / 1.159 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.705e-05/0.7717, allocations: 16.88 kB / 1.159 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.7718, allocations: 5.062 kB / 1.159 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.109e-05/0.7718, allocations: 3.688 kB / 1.159 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.772, allocations: 10.02 kB / 1.159 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002282/0.7722, allocations: 135.4 kB / 1.159 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001976/0.7724, allocations: 0.6771 MB / 1.159 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.629e-05/0.7725, allocations: 7.609 kB / 1.159 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.738e-05/0.7725, allocations: 13.09 kB / 1.159 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of SimCode: time 2.1e-07/0.7725, allocations: 0 / 1.159 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of Templates: time 0.002336/0.7749, allocations: 0.5018 MB / 1.16 GB, free: 4.555 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)