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.01067/0.01067, allocations: 222.9 kB / 15.17 MB, free: 5.926 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.001105/0.001105, allocations: 176 kB / 16.06 MB, free: 5.832 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.498/3.498, allocations: 389.1 MB / 405.9 MB, free: 13.31 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.013/4.013, allocations: 472.3 MB / 0.9018 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004885/0.0004886, allocations: 12 kB / 1.008 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.542/0.5425, allocations: 98.71 MB / 1.104 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.002802/0.5453, allocations: 2.521 MB / 1.106 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.000392/0.5457, allocations: 376.9 kB / 1.107 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.215e-05/0.5458, allocations: 3.938 kB / 1.107 GB, free: 7.793 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 7.28e-05/0.5459, allocations: 4.75 kB / 1.107 GB, free: 7.789 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.695e-05/0.5459, allocations: 12.55 kB / 1.107 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004102/0.5464, allocations: 121.3 kB / 1.107 GB, free: 7.66 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.368e-05/0.5464, allocations: 43.83 kB / 1.107 GB, free: 7.617 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.089e-05/0.5465, allocations: 0 / 1.107 GB, free: 7.617 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.618e-05/0.5465, allocations: 20.67 kB / 1.107 GB, free: 7.598 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.751e-05/0.5466, allocations: 15.92 kB / 1.107 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.5466, allocations: 1.406 kB / 1.107 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002532/0.5469, allocations: 83.69 kB / 1.107 GB, free: 7.5 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.9e-05/0.5469, allocations: 16.97 kB / 1.107 GB, free: 7.484 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.794e-05/0.547, allocations: 33.64 kB / 1.107 GB, free: 7.445 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.5471, allocations: 49.22 kB / 1.107 GB, free: 7.398 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5471, allocations: 1 kB / 1.107 GB, free: 7.398 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.294e-06/0.5471, allocations: 3.984 kB / 1.107 GB, free: 7.395 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.848e-06/0.5472, allocations: 0 / 1.107 GB, free: 7.395 MB / 0.5105 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.0002815/0.5474, allocations: 340.6 kB / 1.108 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.5475, allocations: 12.03 kB / 1.108 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.5475, allocations: 2.75 kB / 1.108 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.768e-05/0.5476, allocations: 159.1 kB / 1.108 GB, free: 6.809 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.021e-05/0.5477, allocations: 33.7 kB / 1.108 GB, free: 6.77 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.84e-06/0.5477, allocations: 0 / 1.108 GB, free: 6.77 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.5478, allocations: 41.67 kB / 1.108 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.872e-06/0.5479, allocations: 1.25 kB / 1.108 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.5479, allocations: 3.953 kB / 1.108 GB, free: 6.719 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.5479, allocations: 7.938 kB / 1.108 GB, free: 6.711 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.82e-05/0.548, allocations: 20.48 kB / 1.108 GB, free: 6.691 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005287/0.5485, allocations: 0.5692 MB / 1.108 GB, free: 6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.028e-05/0.5486, allocations: 23.67 kB / 1.108 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.845e-05/0.5486, allocations: 12.84 kB / 1.108 GB, free: 5.953 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001825/0.5488, allocations: 345.4 kB / 1.109 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.5488, allocations: 34.56 kB / 1.109 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 2.461e-06/0.5488, allocations: 1.281 kB / 1.109 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001425/0.549, allocations: 37.64 kB / 1.109 GB, free: 5.457 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/0.549, allocations: 56.39 kB / 1.109 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.714e-05/0.5491, allocations: 105.7 kB / 1.109 GB, free: 5.277 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.5491, allocations: 27.17 kB / 1.109 GB, free: 5.246 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.823e-05/0.5492, allocations: 84.14 kB / 1.109 GB, free: 5.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.894e-06/0.5492, allocations: 3.906 kB / 1.109 GB, free: 5.156 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-06/0.5492, allocations: 1.406 kB / 1.109 GB, free: 5.156 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.646e-05/0.5492, allocations: 314.8 kB / 1.109 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.664e-05/0.5493, allocations: 4 kB / 1.109 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.539e-05/0.5493, allocations: 18.66 kB / 1.109 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.477e-05/0.5493, allocations: 7.344 kB / 1.109 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.949e-06/0.5494, allocations: 0 / 1.109 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.088e-05/0.5495, allocations: 49.62 kB / 1.109 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.5495, allocations: 11.95 kB / 1.109 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.817e-06/0.5495, allocations: 0 / 1.109 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.5495, allocations: 0 / 1.109 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.068e-05/0.5496, allocations: 11.92 kB / 1.109 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.542e-06/0.5496, allocations: 1.312 kB / 1.109 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.575e-05/0.5496, allocations: 4 kB / 1.109 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.5496, allocations: 0 / 1.109 GB, free: 4.727 MB / 0.5105 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.564e-05/0.5497, allocations: 115.2 kB / 1.11 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.5498, allocations: 0 / 1.11 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.5499, allocations: 134.2 kB / 1.11 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.748e-05/0.5499, allocations: 180.2 kB / 1.11 GB, free: 4.285 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.678e-05/0.55, allocations: 177.7 kB / 1.11 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.927e-05/0.55, allocations: 177.1 kB / 1.11 GB, free: 3.926 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.5502, allocations: 414 kB / 1.111 GB, free: 3.465 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/0.5502, allocations: 101 kB / 1.111 GB, free: 3.359 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.768e-05/0.5502, allocations: 109.6 kB / 1.111 GB, free: 3.246 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.112e-05/0.5503, allocations: 184.4 kB / 1.111 GB, free: 3.059 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/0.5503, allocations: 180.3 kB / 1.111 GB, free: 2.875 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.771e-05/0.5503, allocations: 184.2 kB / 1.111 GB, free: 2.688 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.75e-05/0.5504, allocations: 180.3 kB / 1.112 GB, free: 2.504 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.777e-05/0.5505, allocations: 315.8 kB / 1.112 GB, free: 2.172 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.5505, allocations: 178.1 kB / 1.112 GB, free: 1.973 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.255e-05/0.5506, allocations: 180.2 kB / 1.112 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.5507, allocations: 109 kB / 1.112 GB, free: 1.676 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.5508, allocations: 188.2 kB / 1.112 GB, free: 1.484 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.5508, allocations: 101 kB / 1.113 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.94e-05/0.5508, allocations: 91.27 kB / 1.113 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.83e-07/0.5509, allocations: 0 / 1.113 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003534/0.5512, allocations: 31.94 kB / 1.113 GB, free: 1.258 MB / 0.5105 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.0002371/0.5515, allocations: 234.9 kB / 1.113 GB, free: 1.016 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.102e-05/0.5515, allocations: 7.938 kB / 1.113 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.596e-06/0.5516, allocations: 0 / 1.113 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.514e-06/0.5516, allocations: 0 / 1.113 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.552, allocations: 0.5342 MB / 1.113 GB, free: 480 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002046/0.5522, allocations: 183.8 kB / 1.114 GB, free: 272 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.5525, allocations: 0.6731 MB / 1.114 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.02e-05/0.5525, allocations: 9.25 kB / 1.114 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.383e-05/0.5526, allocations: 11.44 kB / 1.114 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of SimCode: time 1.428e-06/0.5526, allocations: 7.938 kB / 1.114 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of Templates: time 0.004221/0.5568, allocations: 1.087 MB / 1.115 GB, free: 14.5 MB / 0.5261 GB