Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01713/0.01713, allocations: 220.5 kB / 15.17 MB, free: 5.934 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.001767/0.001767, allocations: 179.9 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.895/3.895, allocations: 389.1 MB / 405.9 MB, free: 13.24 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.024/4.024, allocations: 472.3 MB / 0.9018 GB, free: 3.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004965/0.0004967, allocations: 8 kB / 1.008 GB, free: 10.33 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6186/0.6191, allocations: 98.71 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00401/0.6231, allocations: 3.532 MB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000196/0.6234, allocations: 142.1 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.003e-05/0.6234, allocations: 3.656 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 7.919e-05/0.6235, allocations: 3.703 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.104e-05/0.6236, allocations: 13.52 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.6238, allocations: 52.8 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.598e-05/0.6239, allocations: 41.45 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.331e-05/0.624, allocations: 1.156 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.639e-05/0.624, allocations: 10.22 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.067e-05/0.6241, allocations: 16.19 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.6241, allocations: 1.094 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.6243, allocations: 33.45 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.002e-05/0.6243, allocations: 13.86 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.6244, allocations: 27.08 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 8.878e-05/0.6245, allocations: 19.83 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.473e-06/0.6245, allocations: 0 / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.971e-06/0.6245, allocations: 0 / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.154e-06/0.6245, allocations: 1.094 kB / 1.108 GB, free: 210.3 MB / 0.7292 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.0002792/0.6248, allocations: 337.8 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.6248, allocations: 8.562 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.6249, allocations: 1.312 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.388e-05/0.625, allocations: 164.4 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.7e-05/0.625, allocations: 26.95 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.294e-06/0.6251, allocations: 1.281 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.6252, allocations: 52.75 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.242e-06/0.6252, allocations: 0 / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.6252, allocations: 3.953 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.6253, allocations: 1.406 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.898e-05/0.6253, allocations: 13.98 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.6257, allocations: 327.1 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.578e-05/0.6258, allocations: 22.77 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.712e-05/0.6258, allocations: 11.72 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.049e-05/0.6259, allocations: 87.95 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.6259, allocations: 31.91 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.992e-06/0.6259, allocations: 2.625 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001333/0.6261, allocations: 37.98 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.965e-05/0.6261, allocations: 52.72 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.325e-05/0.6262, allocations: 103.8 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.6262, allocations: 27.11 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.828e-05/0.6262, allocations: 88.89 kB / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.25e-06/0.6263, allocations: 1.953 kB / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-06/0.6263, allocations: 4.344 kB / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.671e-05/0.6263, allocations: 319 kB / 1.109 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.703e-05/0.6264, allocations: 6.125 kB / 1.109 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.567e-05/0.6264, allocations: 22.05 kB / 1.109 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.455e-05/0.6264, allocations: 6.781 kB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.046e-06/0.6264, allocations: 1.406 kB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.066e-05/0.6265, allocations: 45.88 kB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.6266, allocations: 12.7 kB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.767e-06/0.6266, allocations: 0 / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.6266, allocations: 1.406 kB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.919e-05/0.6267, allocations: 13 kB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.605e-06/0.6267, allocations: 0 / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.532e-05/0.6267, allocations: 1.312 kB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.6267, allocations: 1.312 kB / 1.11 GB, free: 208.4 MB / 0.7292 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 5.221e-05/0.6268, allocations: 113.2 kB / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.65e-05/0.6268, allocations: 4.812 kB / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.547e-05/0.6269, allocations: 134.3 kB / 1.11 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-05/0.627, allocations: 177.6 kB / 1.11 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.868e-05/0.627, allocations: 179 kB / 1.11 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-05/0.627, allocations: 183.7 kB / 1.11 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.6272, allocations: 404.2 kB / 1.111 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.659e-05/0.6272, allocations: 109.2 kB / 1.111 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.785e-05/0.6273, allocations: 105.2 kB / 1.111 GB, free: 207 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.698e-05/0.6273, allocations: 177.6 kB / 1.111 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.913e-05/0.6273, allocations: 180.2 kB / 1.111 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.7e-05/0.6274, allocations: 185.1 kB / 1.111 GB, free: 206.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-05/0.6274, allocations: 186.7 kB / 1.112 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.715e-05/0.6275, allocations: 305.7 kB / 1.112 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.6276, allocations: 185.5 kB / 1.112 GB, free: 205.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/0.6276, allocations: 182.4 kB / 1.112 GB, free: 205.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.6278, allocations: 109.4 kB / 1.112 GB, free: 205.4 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.6278, allocations: 180.2 kB / 1.113 GB, free: 205.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.6278, allocations: 106.3 kB / 1.113 GB, free: 205.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.961e-05/0.6279, allocations: 89.92 kB / 1.113 GB, free: 205.1 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.82e-07/0.6279, allocations: 0 / 1.113 GB, free: 205.1 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00032/0.6282, allocations: 16.16 kB / 1.113 GB, free: 205.1 MB / 0.7292 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.0001451/0.6284, allocations: 188 kB / 1.113 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.584e-05/0.6285, allocations: 17.45 kB / 1.113 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.602e-06/0.6285, allocations: 0 / 1.113 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.928e-06/0.6285, allocations: 1.312 kB / 1.113 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.6289, allocations: 0.5325 MB / 1.113 GB, free: 204.4 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002224/0.6291, allocations: 181.4 kB / 1.114 GB, free: 204.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.6293, allocations: 0.677 MB / 1.114 GB, free: 203.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.909e-05/0.6293, allocations: 5.25 kB / 1.114 GB, free: 203.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.6293, allocations: 11.03 kB / 1.114 GB, free: 203.5 MB / 0.7292 GB Notification: Performance of SimCode: time 1.384e-06/0.6294, allocations: 1.344 kB / 1.114 GB, free: 203.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.00285/0.6322, allocations: 0.5038 MB / 1.115 GB, free: 203.5 MB / 0.7292 GB