Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_7_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.009866/0.00987, allocations: 89.86 kB / 15.04 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001627/0.001627, allocations: 172.3 kB / 15.92 MB, free: 5.938 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.269/2.269, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.553/2.553, allocations: 252.8 MB / 0.511 GB, free: 8.363 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006201/0.0006203, allocations: 10.44 kB / 0.6243 GB, free: 28.38 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2313, allocations: 106.2 MB / 0.7281 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004575/0.2359, allocations: 2.471 MB / 0.7305 GB, free: 7.695 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0005827/0.2365, allocations: 335.2 kB / 0.7308 GB, free: 7.367 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.064e-05/0.2366, allocations: 0 / 0.7308 GB, free: 7.367 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.2367, allocations: 0 / 0.7308 GB, free: 7.367 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.901e-05/0.2368, allocations: 15.98 kB / 0.7308 GB, free: 7.352 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006613/0.2374, allocations: 131.6 kB / 0.7309 GB, free: 7.223 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.489e-05/0.2375, allocations: 19.97 kB / 0.731 GB, free: 7.203 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.2376, allocations: 0 / 0.731 GB, free: 7.203 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.077e-05/0.2376, allocations: 11.92 kB / 0.731 GB, free: 7.191 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.708e-05/0.2377, allocations: 4 kB / 0.731 GB, free: 7.188 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.2377, allocations: 11.94 kB / 0.731 GB, free: 7.176 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004119/0.2382, allocations: 99.86 kB / 0.7311 GB, free: 7.078 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.995e-05/0.2382, allocations: 7.938 kB / 0.7311 GB, free: 7.07 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.234e-05/0.2382, allocations: 25.7 kB / 0.7311 GB, free: 7.039 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.2385, allocations: 64.14 kB / 0.7312 GB, free: 6.977 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2385, allocations: 4 kB / 0.7312 GB, free: 6.973 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.083e-06/0.2385, allocations: 0 / 0.7312 GB, free: 6.973 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2385, allocations: 0 / 0.7312 GB, free: 6.973 MB / 0.5573 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.0004664/0.239, allocations: 343.2 kB / 0.7315 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.2391, allocations: 12.03 kB / 0.7315 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.11e-05/0.2391, allocations: 30.56 kB / 0.7315 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.2392, allocations: 4 kB / 0.7315 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.2393, allocations: 163.1 kB / 0.7317 GB, free: 6.336 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.477e-05/0.2394, allocations: 25.7 kB / 0.7317 GB, free: 6.305 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.2394, allocations: 8 kB / 0.7317 GB, free: 6.297 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.2396, allocations: 41.62 kB / 0.7318 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2397, allocations: 0 / 0.7318 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.2397, allocations: 3.953 kB / 0.7318 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/0.2397, allocations: 11.98 kB / 0.7318 GB, free: 6.234 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.227e-05/0.2398, allocations: 15.98 kB / 0.7318 GB, free: 6.219 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007422/0.2405, allocations: 0.5638 MB / 0.7324 GB, free: 5.531 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.162e-05/0.2406, allocations: 22.61 kB / 0.7324 GB, free: 5.5 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000313/0.2409, allocations: 332.4 kB / 0.7327 GB, free: 5.102 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.241, allocations: 38.5 kB / 0.7327 GB, free: 5.055 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 2.394e-06/0.241, allocations: 0 / 0.7327 GB, free: 5.055 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001852/0.2412, allocations: 45.59 kB / 0.7328 GB, free: 5.004 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.2412, allocations: 51.41 kB / 0.7328 GB, free: 4.941 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.2414, allocations: 101.8 kB / 0.7329 GB, free: 4.832 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.2414, allocations: 25.7 kB / 0.7329 GB, free: 4.801 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.158e-05/0.2415, allocations: 91.98 kB / 0.733 GB, free: 4.707 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.322e-06/0.2415, allocations: 0 / 0.733 GB, free: 4.707 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-06/0.2415, allocations: 0 / 0.733 GB, free: 4.707 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.2417, allocations: 319 kB / 0.7333 GB, free: 4.387 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.161e-05/0.2417, allocations: 4 kB / 0.7333 GB, free: 4.383 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.5e-05/0.2417, allocations: 21.64 kB / 0.7334 GB, free: 4.355 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.146e-05/0.2418, allocations: 4 kB / 0.7334 GB, free: 4.352 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2418, allocations: 0 / 0.7334 GB, free: 4.352 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001145/0.2419, allocations: 45.69 kB / 0.7334 GB, free: 4.301 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.242, allocations: 12.02 kB / 0.7334 GB, free: 4.289 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.242, allocations: 4 kB / 0.7334 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.242, allocations: 0 / 0.7334 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.853e-05/0.2421, allocations: 7.938 kB / 0.7334 GB, free: 4.277 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.2421, allocations: 0 / 0.7334 GB, free: 4.277 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.907e-05/0.2421, allocations: 3.938 kB / 0.7334 GB, free: 4.273 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.2422, allocations: 4 kB / 0.7334 GB, free: 4.27 MB / 0.5573 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 0.000109/0.2423, allocations: 117.8 kB / 0.7336 GB, free: 4.145 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.2423, allocations: 7.906 kB / 0.7336 GB, free: 4.137 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.2425, allocations: 124.9 kB / 0.7337 GB, free: 4.004 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.467e-05/0.2426, allocations: 180.2 kB / 0.7339 GB, free: 3.82 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.322e-05/0.2427, allocations: 188.2 kB / 0.734 GB, free: 3.629 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.319e-05/0.2428, allocations: 180.2 kB / 0.7342 GB, free: 3.445 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.2431, allocations: 405.2 kB / 0.7346 GB, free: 2.992 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.076e-05/0.2432, allocations: 105 kB / 0.7347 GB, free: 2.883 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.432e-05/0.2432, allocations: 108.9 kB / 0.7348 GB, free: 2.77 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.754e-05/0.2433, allocations: 176.3 kB / 0.735 GB, free: 2.59 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.758e-05/0.2434, allocations: 180.2 kB / 0.7351 GB, free: 2.406 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-05/0.2435, allocations: 184.2 kB / 0.7353 GB, free: 2.219 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001072/0.2436, allocations: 184.3 kB / 0.7355 GB, free: 2.031 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.2438, allocations: 307.8 kB / 0.7358 GB, free: 1.707 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.2439, allocations: 186 kB / 0.736 GB, free: 1.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.2441, allocations: 180.3 kB / 0.7361 GB, free: 1.316 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.2443, allocations: 109 kB / 0.7362 GB, free: 1.203 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.509e-05/0.2444, allocations: 192.2 kB / 0.7364 GB, free: 1.008 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.248e-05/0.2445, allocations: 101.3 kB / 0.7365 GB, free: 0.9023 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.565e-05/0.2446, allocations: 83.28 kB / 0.7366 GB, free: 0.8203 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.51e-07/0.2446, allocations: 0 / 0.7366 GB, free: 0.8203 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004034/0.245, allocations: 35.98 kB / 0.7366 GB, free: 0.7852 MB / 0.5573 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.0007602/0.2458, allocations: 0.8594 MB / 0.7375 GB, free: 15.89 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001013/0.2459, allocations: 16 kB / 0.7375 GB, free: 15.88 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2459, allocations: 3.938 kB / 0.7375 GB, free: 15.88 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 5.381e-06/0.2459, allocations: 3.938 kB / 0.7375 GB, free: 15.87 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004854/0.2464, allocations: 0.5263 MB / 0.738 GB, free: 15.34 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005505/0.247, allocations: 241.6 kB / 0.7382 GB, free: 15.06 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.2473, allocations: 0.677 MB / 0.7389 GB, free: 14.36 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 7.27e-05/0.2474, allocations: 7.516 kB / 0.7389 GB, free: 14.36 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.054e-05/0.2474, allocations: 15.42 kB / 0.7389 GB, free: 14.34 MB / 0.573 GB Notification: Performance of SimCode: time 1.002e-06/0.2475, allocations: 0 / 0.7389 GB, free: 14.34 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08011/0.3276, allocations: 1.847 MB / 0.7407 GB, free: 12.68 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003165/0.328, allocations: 240.8 kB / 0.7409 GB, free: 12.44 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.332/2.66, allocations: 0 / 0.7409 GB, free: 12.44 MB / 0.573 GB