Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008852/0.008857, allocations: 108.2 kB / 15.06 MB, free: 6.039 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.001102/0.001102, allocations: 180.1 kB / 15.95 MB, free: 5.957 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.91/1.91, allocations: 194.5 MB / 211.3 MB, free: 11.04 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.537/2.537, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000457/0.0004571, allocations: 12 kB / 0.5869 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6113/0.6118, allocations: 98.7 MB / 0.6833 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003325/0.6152, allocations: 2.433 MB / 0.6857 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0004312/0.6157, allocations: 329.7 kB / 0.686 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.482e-05/0.6157, allocations: 5.344 kB / 0.686 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 8.521e-05/0.6158, allocations: 4.547 kB / 0.686 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 3.576e-05/0.6159, allocations: 10.58 kB / 0.686 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004838/0.6164, allocations: 132.8 kB / 0.6862 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.261e-05/0.6164, allocations: 13.61 kB / 0.6862 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.014e-05/0.6165, allocations: 5.734 kB / 0.6862 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.8e-05/0.6165, allocations: 17.27 kB / 0.6862 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.752e-05/0.6166, allocations: 4.281 kB / 0.6862 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.6166, allocations: 0.9688 kB / 0.6862 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003246/0.6169, allocations: 109.3 kB / 0.6863 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.844e-05/0.617, allocations: 3.375 kB / 0.6863 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.036e-05/0.617, allocations: 28.39 kB / 0.6863 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.6172, allocations: 51.19 kB / 0.6864 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.423e-06/0.6172, allocations: 0 / 0.6864 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.838e-06/0.6172, allocations: 0 / 0.6864 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.357e-06/0.6172, allocations: 0 / 0.6864 GB, free: 14.62 MB / 0.5261 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.0002963/0.6175, allocations: 349.4 kB / 0.6867 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.6176, allocations: 8.812 kB / 0.6867 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.6176, allocations: 2.109 kB / 0.6867 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.507e-05/0.6177, allocations: 160.5 kB / 0.6869 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.27e-05/0.6178, allocations: 28.78 kB / 0.6869 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.6178, allocations: 1.625 kB / 0.6869 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.618, allocations: 46.8 kB / 0.687 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.761e-06/0.618, allocations: 1.25 kB / 0.687 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.618, allocations: 7.953 kB / 0.687 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.618, allocations: 1.969 kB / 0.687 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.373e-05/0.6181, allocations: 16.31 kB / 0.687 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000527/0.6186, allocations: 0.5658 MB / 0.6875 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.963e-05/0.6187, allocations: 24.55 kB / 0.6876 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001719/0.6189, allocations: 331.6 kB / 0.6879 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.6189, allocations: 44.61 kB / 0.6879 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 2.397e-06/0.6189, allocations: 3.938 kB / 0.6879 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001397/0.6191, allocations: 32.41 kB / 0.688 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/0.6191, allocations: 53.19 kB / 0.688 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.191e-05/0.6192, allocations: 108.9 kB / 0.6881 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.6192, allocations: 25.7 kB / 0.6881 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.941e-05/0.6192, allocations: 82.28 kB / 0.6882 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.508e-06/0.6193, allocations: 5.547 kB / 0.6882 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-06/0.6193, allocations: 4.125 kB / 0.6882 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.871e-05/0.6193, allocations: 312.6 kB / 0.6885 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.045e-05/0.6194, allocations: 12.09 kB / 0.6885 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.472e-05/0.6194, allocations: 15.03 kB / 0.6885 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.652e-05/0.6194, allocations: 4.391 kB / 0.6886 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.271e-06/0.6194, allocations: 0 / 0.6886 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.999e-05/0.6196, allocations: 57.95 kB / 0.6886 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.6196, allocations: 9.391 kB / 0.6886 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.442e-06/0.6196, allocations: 0 / 0.6886 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.6196, allocations: 1.094 kB / 0.6886 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.261e-05/0.6197, allocations: 5.953 kB / 0.6886 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.834e-06/0.6197, allocations: 1.781 kB / 0.6886 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.727e-05/0.6197, allocations: 1.188 kB / 0.6886 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.6198, allocations: 1.25 kB / 0.6886 GB, free: 12.15 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.399e-05/0.6198, allocations: 112.9 kB / 0.6887 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/0.6199, allocations: 5.984 kB / 0.6887 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.772e-05/0.62, allocations: 127.1 kB / 0.6889 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.867e-05/0.62, allocations: 178.1 kB / 0.689 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-05/0.6201, allocations: 182.1 kB / 0.6892 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-05/0.6201, allocations: 181.9 kB / 0.6894 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.6203, allocations: 403.2 kB / 0.6898 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-05/0.6203, allocations: 110.6 kB / 0.6899 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.979e-05/0.6203, allocations: 110.9 kB / 0.69 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-05/0.6204, allocations: 178.5 kB / 0.6901 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/0.6204, allocations: 182.4 kB / 0.6903 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-05/0.6205, allocations: 180.9 kB / 0.6905 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.968e-05/0.6205, allocations: 186.1 kB / 0.6907 GB, free: 9.949 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.892e-05/0.6206, allocations: 301.6 kB / 0.691 GB, free: 9.637 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.309e-05/0.6206, allocations: 185.9 kB / 0.6911 GB, free: 9.434 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.544e-05/0.6207, allocations: 190.2 kB / 0.6913 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.6208, allocations: 113.5 kB / 0.6914 GB, free: 9.129 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.6209, allocations: 182.1 kB / 0.6916 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.6209, allocations: 102.8 kB / 0.6917 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.851e-05/0.621, allocations: 80.31 kB / 0.6918 GB, free: 8.766 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.359e-06/0.621, allocations: 1.5 kB / 0.6918 GB, free: 8.766 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003816/0.6214, allocations: 38.14 kB / 0.6918 GB, free: 8.75 MB / 0.5261 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 (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.0002562/0.6216, allocations: 224.4 kB / 0.692 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.666e-05/0.6217, allocations: 11.88 kB / 0.692 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.571e-06/0.6217, allocations: 128 / 0.692 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.364e-06/0.6218, allocations: 5.406 kB / 0.692 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.622, allocations: 0.518 MB / 0.6925 GB, free: 8.047 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000233/0.6223, allocations: 194.2 kB / 0.6927 GB, free: 7.863 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.6224, allocations: 0.6795 MB / 0.6934 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.52e-05/0.6225, allocations: 7.594 kB / 0.6934 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.814e-05/0.6225, allocations: 12.38 kB / 0.6934 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of SimCode: time 1.413e-06/0.6225, allocations: 0 / 0.6934 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of Templates: time 0.00433/0.6269, allocations: 1.087 MB / 0.6945 GB, free: 6.965 MB / 0.5261 GB