Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") 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.795/1.795, allocations: 297.4 MB / 312.6 MB, free: 2.918 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.001085/0.001086, allocations: 200.8 kB / 382.3 MB, free: 14.8 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.325/1.325, 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.0008094/0.0008094, allocations: 93.94 kB / 0.7789 GB, free: 46.47 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003602, allocations: 8 kB / 0.9058 GB, free: 4.938 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5791/0.5794, allocations: 119.2 MB / 1.022 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003949/0.5834, allocations: 3.443 MB / 1.026 GB, free: 55.14 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 8.88e-05/0.5836, allocations: 53.55 kB / 1.026 GB, free: 55.11 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.928e-05/0.5836, allocations: 0 / 1.026 GB, free: 55.11 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.5837, allocations: 8.406 kB / 1.026 GB, free: 55.1 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.97e-05/0.5838, allocations: 10.12 kB / 1.026 GB, free: 55.1 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004517/0.5843, allocations: 153.4 kB / 1.026 GB, free: 55.02 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.248e-05/0.5844, allocations: 58.59 kB / 1.026 GB, free: 55.01 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.866e-05/0.5844, allocations: 2.688 kB / 1.026 GB, free: 55.01 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.318e-05/0.5844, allocations: 20.25 kB / 1.026 GB, free: 55 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.893e-05/0.5845, allocations: 10.23 kB / 1.026 GB, free: 55 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.5845, allocations: 1.438 kB / 1.026 GB, free: 55 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003115/0.5849, allocations: 163.8 kB / 1.026 GB, free: 54.93 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.841e-05/0.5849, allocations: 8.891 kB / 1.026 GB, free: 54.93 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.855e-05/0.585, allocations: 40.38 kB / 1.026 GB, free: 54.89 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.5852, allocations: 133.8 kB / 1.026 GB, free: 54.86 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.5852, allocations: 1.031 kB / 1.026 GB, free: 54.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5852, allocations: 0 / 1.026 GB, free: 54.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.5853, allocations: 0 / 1.026 GB, free: 54.86 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.000342/0.5856, allocations: 345 kB / 1.027 GB, free: 54.49 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.5857, allocations: 9.094 kB / 1.027 GB, free: 54.49 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.5857, allocations: 9.375 kB / 1.027 GB, free: 54.49 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.937e-05/0.5858, allocations: 163.1 kB / 1.027 GB, free: 54.29 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.826e-05/0.5859, allocations: 31.66 kB / 1.027 GB, free: 54.26 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.5859, allocations: 1.5 kB / 1.027 GB, free: 54.26 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.586, allocations: 50.12 kB / 1.027 GB, free: 54.22 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.586, allocations: 0 / 1.027 GB, free: 54.22 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.586, allocations: 1 kB / 1.027 GB, free: 54.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/0.5861, allocations: 2.625 kB / 1.027 GB, free: 54.22 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.497e-05/0.5861, allocations: 12.31 kB / 1.027 GB, free: 54.22 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005418/0.5867, allocations: 0.5834 MB / 1.027 GB, free: 53.56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 2.441e-05/0.5867, allocations: 16.89 kB / 1.027 GB, free: 53.54 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.518e-05/0.5867, allocations: 13.22 kB / 1.027 GB, free: 53.53 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/0.5869, allocations: 341.3 kB / 1.028 GB, free: 53.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.5869, allocations: 34.7 kB / 1.028 GB, free: 53.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.5869, allocations: 0 / 1.028 GB, free: 53.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001245/0.5871, allocations: 33.33 kB / 1.028 GB, free: 53.07 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.5871, allocations: 52.5 kB / 1.028 GB, free: 53.01 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.035e-05/0.5872, allocations: 106.2 kB / 1.028 GB, free: 52.91 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.968e-06/0.5872, allocations: 35.7 kB / 1.028 GB, free: 52.87 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.932e-05/0.5872, allocations: 86.3 kB / 1.028 GB, free: 52.78 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.422e-06/0.5872, allocations: 7.906 kB / 1.028 GB, free: 52.77 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.5873, allocations: 2.406 kB / 1.028 GB, free: 52.77 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.916e-05/0.5873, allocations: 317.5 kB / 1.028 GB, free: 52.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.652e-05/0.5873, allocations: 6 kB / 1.028 GB, free: 52.45 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.173e-05/0.5874, allocations: 18.34 kB / 1.028 GB, free: 52.44 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.368e-05/0.5874, allocations: 23 kB / 1.028 GB, free: 52.42 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.5874, allocations: 0 / 1.028 GB, free: 52.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.166e-05/0.5875, allocations: 50.73 kB / 1.029 GB, free: 52.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.5875, allocations: 11.08 kB / 1.029 GB, free: 52.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5875, allocations: 0.5312 kB / 1.029 GB, free: 52.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.5876, allocations: 1.469 kB / 1.029 GB, free: 52.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.451e-05/0.5876, allocations: 6.734 kB / 1.029 GB, free: 52.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.5876, allocations: 1.406 kB / 1.029 GB, free: 52.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.892e-05/0.5876, allocations: 1.188 kB / 1.029 GB, free: 52.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.5877, allocations: 3.812 kB / 1.029 GB, free: 52.38 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 5.887e-05/0.5877, allocations: 122 kB / 1.029 GB, free: 52.25 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/0.5878, allocations: 1.344 kB / 1.029 GB, free: 52.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.5879, allocations: 125 kB / 1.029 GB, free: 52.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-05/0.5879, allocations: 178.4 kB / 1.029 GB, free: 51.94 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.678e-05/0.5879, allocations: 181 kB / 1.029 GB, free: 51.76 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.74e-05/0.588, allocations: 186.6 kB / 1.029 GB, free: 51.57 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.5881, allocations: 410.7 kB / 1.03 GB, free: 51.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.817e-05/0.5881, allocations: 102.5 kB / 1.03 GB, free: 51.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.818e-05/0.5882, allocations: 107.3 kB / 1.03 GB, free: 50.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.913e-05/0.5882, allocations: 188.5 kB / 1.03 GB, free: 50.71 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.5882, allocations: 181 kB / 1.03 GB, free: 50.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.719e-05/0.5883, allocations: 181.5 kB / 1.03 GB, free: 50.35 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-05/0.5883, allocations: 176.9 kB / 1.031 GB, free: 50.17 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.314e-05/0.5884, allocations: 316.5 kB / 1.031 GB, free: 49.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.741e-05/0.5884, allocations: 180 kB / 1.031 GB, free: 49.64 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.939e-05/0.5884, allocations: 185.3 kB / 1.031 GB, free: 49.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.5886, allocations: 112.8 kB / 1.031 GB, free: 49.35 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.5886, allocations: 180 kB / 1.032 GB, free: 49.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.5886, allocations: 105.9 kB / 1.032 GB, free: 49.06 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.075e-05/0.5887, allocations: 89.94 kB / 1.032 GB, free: 48.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5887, allocations: 0 / 1.032 GB, free: 48.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002763/0.589, allocations: 43.67 kB / 1.032 GB, free: 48.96 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.0002531/0.5892, allocations: 239 kB / 1.032 GB, free: 48.79 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.169e-05/0.5893, allocations: 14.59 kB / 1.032 GB, free: 48.78 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5893, allocations: 0 / 1.032 GB, free: 48.78 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.525e-06/0.5893, allocations: 8.531 kB / 1.032 GB, free: 48.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.5897, allocations: 0.5209 MB / 1.033 GB, free: 48.25 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002313/0.5899, allocations: 191.8 kB / 1.033 GB, free: 48.06 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.59, allocations: 0.6773 MB / 1.033 GB, free: 47.37 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.882e-05/0.5901, allocations: 6.031 kB / 1.033 GB, free: 47.37 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.46e-05/0.5901, allocations: 10.91 kB / 1.033 GB, free: 47.36 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/0.5901, allocations: 0 / 1.033 GB, free: 47.36 MB / 0.698 GB Notification: Performance of Templates: time 0.003537/0.5937, allocations: 1.146 MB / 1.034 GB, free: 47.17 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)