Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") 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.642/1.642, allocations: 297.4 MB / 312.6 MB, free: 2.953 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.0009681/0.0009682, allocations: 186 kB / 382.3 MB, free: 14.84 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.33/1.33, allocations: 225.7 MB / 0.6617 GB, free: 7.219 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.0007573/0.0007574, allocations: 99.88 kB / 0.7789 GB, free: 47.12 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004741/0.0004741, allocations: 12 kB / 0.9058 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5667/0.5672, allocations: 119.2 MB / 1.022 GB, free: 58.43 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004137/0.5714, allocations: 3.727 MB / 1.026 GB, free: 56.12 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001771/0.5716, allocations: 226.5 kB / 1.026 GB, free: 55.93 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.769e-05/0.5716, allocations: 0 / 1.026 GB, free: 55.93 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.646e-05/0.5717, allocations: 1.859 kB / 1.026 GB, free: 55.93 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.709e-05/0.5718, allocations: 14.72 kB / 1.026 GB, free: 55.93 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.5721, allocations: 71.06 kB / 1.026 GB, free: 55.89 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.44e-05/0.5722, allocations: 56.23 kB / 1.026 GB, free: 55.88 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.85e-05/0.5723, allocations: 1.953 kB / 1.026 GB, free: 55.88 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.235e-05/0.5723, allocations: 14.42 kB / 1.026 GB, free: 55.87 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.461e-05/0.5724, allocations: 23.66 kB / 1.026 GB, free: 55.86 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.5724, allocations: 1.344 kB / 1.026 GB, free: 55.86 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.5726, allocations: 70.75 kB / 1.026 GB, free: 55.83 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.458e-05/0.5727, allocations: 4.094 kB / 1.026 GB, free: 55.83 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.685e-05/0.5727, allocations: 43.47 kB / 1.026 GB, free: 55.79 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.5729, allocations: 32.22 kB / 1.026 GB, free: 55.79 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.5729, allocations: 4.719 kB / 1.026 GB, free: 55.79 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5729, allocations: 0 / 1.026 GB, free: 55.79 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.5729, allocations: 0 / 1.026 GB, free: 55.79 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003065/0.5732, allocations: 334.5 kB / 1.027 GB, free: 55.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.5732, allocations: 9.5 kB / 1.027 GB, free: 55.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.5733, allocations: 2.734 kB / 1.027 GB, free: 55.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.875e-05/0.5734, allocations: 170.9 kB / 1.027 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.96e-05/0.5734, allocations: 31.42 kB / 1.027 GB, free: 55.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.5735, allocations: 2.094 kB / 1.027 GB, free: 55.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.5736, allocations: 51.66 kB / 1.027 GB, free: 55.15 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.5736, allocations: 2.344 kB / 1.027 GB, free: 55.15 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.5736, allocations: 0 / 1.027 GB, free: 55.15 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.5736, allocations: 1.031 kB / 1.027 GB, free: 55.15 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.35e-05/0.5737, allocations: 13.36 kB / 1.027 GB, free: 55.15 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003498/0.574, allocations: 334 kB / 1.027 GB, free: 54.79 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 2.949e-05/0.5741, allocations: 24.69 kB / 1.027 GB, free: 54.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.345e-05/0.5741, allocations: 8.219 kB / 1.027 GB, free: 54.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.397e-05/0.5742, allocations: 83.19 kB / 1.027 GB, free: 54.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.5742, allocations: 34.48 kB / 1.027 GB, free: 54.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.5742, allocations: 0 / 1.027 GB, free: 54.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001291/0.5743, allocations: 34.91 kB / 1.028 GB, free: 54.58 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.738e-05/0.5744, allocations: 56.78 kB / 1.028 GB, free: 54.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.467e-05/0.5744, allocations: 104.2 kB / 1.028 GB, free: 54.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.215e-06/0.5744, allocations: 26.31 kB / 1.028 GB, free: 54.38 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.65e-05/0.5745, allocations: 93.88 kB / 1.028 GB, free: 54.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.21e-06/0.5745, allocations: 5.844 kB / 1.028 GB, free: 54.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-06/0.5745, allocations: 4.125 kB / 1.028 GB, free: 54.28 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.143e-05/0.5745, allocations: 316.8 kB / 1.028 GB, free: 53.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.633e-05/0.5746, allocations: 3.734 kB / 1.028 GB, free: 53.96 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.038e-05/0.5746, allocations: 18.64 kB / 1.028 GB, free: 53.95 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.955e-05/0.5746, allocations: 17.33 kB / 1.028 GB, free: 53.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5746, allocations: 0 / 1.028 GB, free: 53.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.438e-05/0.5747, allocations: 57.11 kB / 1.028 GB, free: 53.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.5747, allocations: 9.75 kB / 1.028 GB, free: 53.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.5747, allocations: 3.062 kB / 1.028 GB, free: 53.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.5748, allocations: 2.844 kB / 1.028 GB, free: 53.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.187e-05/0.5748, allocations: 5.906 kB / 1.028 GB, free: 53.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.5748, allocations: 0.7031 kB / 1.028 GB, free: 53.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.5748, allocations: 4.719 kB / 1.028 GB, free: 53.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.5749, allocations: 0 / 1.028 GB, free: 53.88 MB / 0.698 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 (3): * Single equations (assignments): 3 * 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 4.704e-05/0.5749, allocations: 127.7 kB / 1.028 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.5749, allocations: 3.906 kB / 1.028 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.836e-05/0.575, allocations: 120.3 kB / 1.028 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-05/0.575, allocations: 182 kB / 1.029 GB, free: 53.44 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.676e-05/0.5751, allocations: 186.5 kB / 1.029 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.212e-05/0.5751, allocations: 181 kB / 1.029 GB, free: 53.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.5752, allocations: 418.5 kB / 1.029 GB, free: 52.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/0.5753, allocations: 101.5 kB / 1.029 GB, free: 52.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.408e-05/0.5753, allocations: 106.2 kB / 1.03 GB, free: 52.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.418e-05/0.5753, allocations: 180.2 kB / 1.03 GB, free: 52.21 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.5753, allocations: 177.4 kB / 1.03 GB, free: 52.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.24e-05/0.5754, allocations: 185 kB / 1.03 GB, free: 51.85 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.102e-05/0.5754, allocations: 179.6 kB / 1.03 GB, free: 51.67 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.604e-05/0.5755, allocations: 308.8 kB / 1.031 GB, free: 51.35 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.513e-05/0.5755, allocations: 182.1 kB / 1.031 GB, free: 51.15 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.5755, allocations: 185.7 kB / 1.031 GB, free: 50.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.5757, allocations: 112.7 kB / 1.031 GB, free: 50.85 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.5757, allocations: 180.8 kB / 1.031 GB, free: 50.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.5757, allocations: 104.3 kB / 1.031 GB, free: 50.56 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.828e-05/0.5758, allocations: 87.45 kB / 1.031 GB, free: 50.48 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5758, allocations: 0 / 1.031 GB, free: 50.48 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002103/0.576, allocations: 16.89 kB / 1.031 GB, free: 50.48 MB / 0.698 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 (0): * Single equations (assignments): 0 * 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.000201/0.5762, allocations: 204.3 kB / 1.032 GB, free: 50.31 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.769e-05/0.5763, allocations: 17.64 kB / 1.032 GB, free: 50.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5763, allocations: 0 / 1.032 GB, free: 50.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.5763, allocations: 0 / 1.032 GB, free: 50.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.5766, allocations: 0.5312 MB / 1.032 GB, free: 49.78 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000194/0.5768, allocations: 183.9 kB / 1.032 GB, free: 49.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.891e-05/0.5769, allocations: 0.6791 MB / 1.033 GB, free: 48.89 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.189e-05/0.577, allocations: 12.84 kB / 1.033 GB, free: 48.89 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.293e-05/0.577, allocations: 11.38 kB / 1.033 GB, free: 48.88 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/0.577, allocations: 0 / 1.033 GB, free: 48.88 MB / 0.698 GB Notification: Performance of Templates: time 0.002346/0.5793, allocations: 0.5719 MB / 1.034 GB, free: 48.8 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)