Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009138/0.009142, allocations: 107.5 kB / 15.06 MB, free: 5.562 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.001117/0.001117, allocations: 182.5 kB / 15.95 MB, free: 5.523 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.807/1.807, allocations: 194.6 MB / 211.3 MB, free: 10.98 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.341/2.341, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000464/0.0004643, allocations: 12 kB / 0.5869 GB, free: 2.125 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5799/0.5804, allocations: 98.71 MB / 0.6833 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 0.2945/0.8749, allocations: 205 MB / 0.8835 GB, free: 0.918 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0217/0.8967, allocations: 11.05 MB / 0.8943 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00243/0.8992, allocations: 63.5 kB / 0.8944 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003656/0.9029, allocations: 0.9642 MB / 0.8953 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01098/0.9139, allocations: 3.038 MB / 0.8983 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.006303/0.9202, allocations: 1.608 MB / 0.8998 GB, free: 172 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.006209/0.9264, allocations: 2.827 MB / 0.9026 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002436/0.9289, allocations: 1.148 MB / 0.9037 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004108/0.933, allocations: 1.487 MB / 0.9052 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001997/0.9351, allocations: 0.8361 MB / 0.906 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0003619/0.9355, allocations: 64 kB / 0.906 GB, free: 9.77 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004188/0.9397, allocations: 1.162 MB / 0.9072 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.000766/0.9405, allocations: 402.6 kB / 0.9076 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0008032/0.9413, allocations: 396.8 kB / 0.9079 GB, free: 7.816 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.004338/0.9457, allocations: 2.207 MB / 0.9101 GB, free: 5.605 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.563e-06/0.9457, allocations: 0 / 0.9101 GB, free: 5.605 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.745e-06/0.9457, allocations: 0 / 0.9101 GB, free: 5.605 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.791e-05/0.9458, allocations: 0 / 0.9101 GB, free: 5.605 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: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.004655/0.9504, allocations: 1.905 MB / 0.912 GB, free: 3.645 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.9505, allocations: 16.03 kB / 0.912 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002383/0.9529, allocations: 349.5 kB / 0.9123 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003163/0.9561, allocations: 1.269 MB / 0.9135 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.9563, allocations: 94.16 kB / 0.9136 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002487/0.9565, allocations: 123.9 kB / 0.9138 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003049/0.9596, allocations: 1.201 MB / 0.9149 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.392e-05/0.9597, allocations: 3.938 kB / 0.9149 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001493/0.9598, allocations: 51.95 kB / 0.915 GB, free: 452 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.439e-05/0.9599, allocations: 42.16 kB / 0.915 GB, free: 408 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4438/1.404, allocations: 0.9651 MB / 0.916 GB, free: 216.9 MB / 0.7292 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009704/1.413, allocations: 5.534 MB / 0.9214 GB, free: 213.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/1.416, allocations: 0.8651 MB / 0.9222 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003586/1.416, allocations: 442.2 kB / 0.9226 GB, free: 212.3 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/1.416, allocations: 44.16 kB / 0.9227 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=68): time 4.087e-06/1.416, allocations: 0.7188 kB / 0.9227 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=68): time 0.004934/1.421, allocations: 1.427 MB / 0.9241 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/1.421, allocations: 59.03 kB / 0.9241 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002392/1.423, allocations: 1.219 MB / 0.9253 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001578/1.424, allocations: 48.11 kB / 0.9254 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006551/1.424, allocations: 0.7019 MB / 0.9261 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002945/1.425, allocations: 242.1 kB / 0.9263 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-05/1.425, allocations: 19.19 kB / 0.9263 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.171e-05/1.425, allocations: 334.9 kB / 0.9266 GB, free: 210 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008472/1.426, allocations: 297 kB / 0.9269 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/1.427, allocations: 0.5213 MB / 0.9274 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/1.428, allocations: 382.3 kB / 0.9278 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/1.428, allocations: 1.125 kB / 0.9278 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.003883/1.432, allocations: 1.066 MB / 0.9288 GB, free: 209 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002455/1.432, allocations: 1.081 MB / 0.9299 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/1.432, allocations: 2.875 kB / 0.9299 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009951/1.433, allocations: 157.3 kB / 0.93 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/1.434, allocations: 174.9 kB / 0.9302 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/1.435, allocations: 1.768 MB / 0.9319 GB, free: 206.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/1.437, allocations: 173.1 kB / 0.9321 GB, free: 206.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/1.438, allocations: 35.38 kB / 0.9321 GB, free: 206 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/1.438, allocations: 4.25 kB / 0.9321 GB, free: 206 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002414/1.44, allocations: 0.8511 MB / 0.933 GB, free: 205.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/1.44, allocations: 1.938 kB / 0.933 GB, free: 205.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004248/1.44, allocations: 94.66 kB / 0.933 GB, free: 205.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009261/1.441, allocations: 166.1 kB / 0.9332 GB, free: 205.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003079/1.445, allocations: 3.173 MB / 0.9363 GB, free: 202.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/1.446, allocations: 163.4 kB / 0.9365 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/1.447, allocations: 32.17 kB / 0.9365 GB, free: 202.6 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (87): * Single equations (assignments): 83 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.001018/1.448, allocations: 449.6 kB / 0.9369 GB, free: 202.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004489/1.448, allocations: 142.6 kB / 0.9371 GB, free: 202.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004393/1.452, allocations: 0.9275 MB / 0.938 GB, free: 201.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.704e-05/1.453, allocations: 16.34 kB / 0.938 GB, free: 201.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.725e-06/1.453, allocations: 0 / 0.938 GB, free: 201.8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003077/1.456, allocations: 1.049 MB / 0.939 GB, free: 201.1 MB / 0.7292 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008436/1.464, allocations: 2.458 MB / 0.9414 GB, free: 199.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/1.464, allocations: 2.188 kB / 0.9414 GB, free: 199.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000997/1.465, allocations: 160.1 kB / 0.9416 GB, free: 199.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003425/1.466, allocations: 85.42 kB / 0.9416 GB, free: 199.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.598e-05/1.466, allocations: 28.05 kB / 0.9417 GB, free: 199.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009366/1.467, allocations: 1.736 MB / 0.9434 GB, free: 198.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.085e-06/1.467, allocations: 7.125 kB / 0.9434 GB, free: 198.1 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003176/1.47, allocations: 1.563 MB / 0.9449 GB, free: 197.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008532/1.471, allocations: 327.6 kB / 0.9452 GB, free: 197 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002447/1.471, allocations: 17.28 kB / 0.9452 GB, free: 197 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/1.472, allocations: 121.7 kB / 0.9453 GB, free: 197 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/1.473, allocations: 47.39 kB / 0.9454 GB, free: 196.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.88e-05/1.473, allocations: 35.59 kB / 0.9454 GB, free: 196.9 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001503/1.474, allocations: 0.8301 MB / 0.9462 GB, free: 196.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.77e-07/1.474, allocations: 0.875 kB / 0.9462 GB, free: 196.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002875/1.477, allocations: 0.8141 MB / 0.947 GB, free: 196.4 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.vol2.dynBal.mXi[1],hex.mas.T) * 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 (62): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008696/1.478, allocations: 391.6 kB / 0.9474 GB, free: 196.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003646/1.482, allocations: 1.458 MB / 0.9488 GB, free: 195.4 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.289e-06/1.482, allocations: 1.125 kB / 0.9488 GB, free: 195.4 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/1.483, allocations: 399.3 kB / 0.9492 GB, free: 195.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004326/1.487, allocations: 0.778 MB / 0.95 GB, free: 194.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005134/1.492, allocations: 3.252 MB / 0.9531 GB, free: 192.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/1.493, allocations: 1.313 MB / 0.9544 GB, free: 191.6 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002057/1.495, allocations: 343.3 kB / 0.9547 GB, free: 191.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003538/1.496, allocations: 102.5 kB / 0.9548 GB, free: 191.4 MB / 0.7292 GB Notification: Performance of SimCode: time 1.673e-06/1.496, allocations: 4 kB / 0.9548 GB, free: 191.4 MB / 0.7292 GB Notification: Performance of Templates: time 0.07045/1.566, allocations: 27.77 MB / 0.982 GB, free: 170.3 MB / 0.7292 GB