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.004266/0.00427, allocations: 231.2 kB / 15.82 MB, free: 6.293 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.001187/0.001187, allocations: 175.3 kB / 16.7 MB, free: 5.453 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.53/3.53, allocations: 389.1 MB / 406.5 MB, free: 6.895 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.409/4.409, allocations: 472.3 MB / 0.9024 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004851/0.0004853, allocations: 15.98 kB / 1.008 GB, free: 6.738 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2135, allocations: 98.69 MB / 1.105 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.389/7.603, allocations: 2.436 GB / 3.54 GB, free: 66.98 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/7.603, allocations: 108.9 kB / 3.541 GB, free: 66.93 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.011/12.61, allocations: 0.9654 GB / 4.506 GB, free: 48.71 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.116e-06/12.61, allocations: 0 / 4.506 GB, free: 48.71 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002886/12.61, allocations: 45.73 kB / 4.506 GB, free: 48.66 MB / 0.8386 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.007943/12.62, allocations: 2.179 MB / 4.508 GB, free: 46.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/12.62, allocations: 8.031 kB / 4.508 GB, free: 46.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002809/12.63, allocations: 349.5 kB / 4.508 GB, free: 46.08 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005355/12.63, allocations: 1.574 MB / 4.51 GB, free: 44.45 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.738e-05/12.63, allocations: 94.16 kB / 4.51 GB, free: 44.36 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002688/12.63, allocations: 118.1 kB / 4.51 GB, free: 44.25 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003083/12.63, allocations: 1.187 MB / 4.511 GB, free: 43.01 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.118e-05/12.63, allocations: 7.891 kB / 4.511 GB, free: 43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001793/12.63, allocations: 48 kB / 4.511 GB, free: 42.96 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.549e-05/12.63, allocations: 42.16 kB / 4.511 GB, free: 42.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002726/12.64, allocations: 0.9449 MB / 4.512 GB, free: 41.96 MB / 0.8386 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.009993/12.65, allocations: 5.485 MB / 4.518 GB, free: 36.06 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00189/12.65, allocations: 0.8646 MB / 4.519 GB, free: 35.15 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009597/12.65, allocations: 393 kB / 4.519 GB, free: 34.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006991/12.65, allocations: 0.6097 MB / 4.52 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/12.65, allocations: 43.12 kB / 4.52 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=68): time 3.577e-06/12.65, allocations: 0 / 4.52 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=68): time 0.005782/12.66, allocations: 1.461 MB / 4.521 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/12.66, allocations: 63.95 kB / 4.521 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00217/12.66, allocations: 1.187 MB / 4.522 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002202/12.66, allocations: 49.7 kB / 4.522 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006112/12.66, allocations: 0.6985 MB / 4.523 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002794/12.66, allocations: 240.4 kB / 4.523 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-05/12.66, allocations: 12 kB / 4.523 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.266e-05/12.66, allocations: 334 kB / 4.524 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008553/12.66, allocations: 281.8 kB / 4.524 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/12.66, allocations: 0.5182 MB / 4.524 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009778/12.66, allocations: 348.7 kB / 4.525 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/12.66, allocations: 0 / 4.525 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00338/12.67, allocations: 1.009 MB / 4.526 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.256e-05/12.67, allocations: 165.7 kB / 4.526 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/12.67, allocations: 11.92 kB / 4.526 GB, free: 27.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/12.67, allocations: 149 kB / 4.526 GB, free: 27.26 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/12.67, allocations: 163.8 kB / 4.526 GB, free: 27.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/12.67, allocations: 1.765 MB / 4.528 GB, free: 25.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002474/12.67, allocations: 159.5 kB / 4.528 GB, free: 25.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/12.67, allocations: 31.98 kB / 4.528 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/12.67, allocations: 4 kB / 4.528 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002401/12.68, allocations: 0.7939 MB / 4.529 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/12.68, allocations: 4.156 kB / 4.529 GB, free: 24.26 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004268/12.68, allocations: 93.59 kB / 4.529 GB, free: 24.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/12.68, allocations: 151.8 kB / 4.529 GB, free: 24.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003218/12.68, allocations: 3.129 MB / 4.532 GB, free: 20.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002506/12.68, allocations: 159.5 kB / 4.532 GB, free: 20.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/12.68, allocations: 35.98 kB / 4.532 GB, free: 20.41 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (78): * Single equations (assignments): 75 * Array equations: 0 * 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.001077/12.68, allocations: 445.7 kB / 4.533 GB, free: 19.97 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003661/12.68, allocations: 138.3 kB / 4.533 GB, free: 19.83 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002649/12.69, allocations: 0.9681 MB / 4.534 GB, free: 18.84 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/12.69, allocations: 8 kB / 4.534 GB, free: 18.84 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/12.69, allocations: 4.062 kB / 4.534 GB, free: 18.83 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002015/12.69, allocations: 1.049 MB / 4.535 GB, free: 17.69 MB / 0.8386 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.005964/12.7, allocations: 2.357 MB / 4.537 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/12.7, allocations: 0 / 4.537 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/12.7, allocations: 160 kB / 4.537 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003384/12.7, allocations: 89.59 kB / 4.537 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.719e-05/12.7, allocations: 19.95 kB / 4.537 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000933/12.7, allocations: 1.738 MB / 4.539 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/12.7, allocations: 0 / 4.539 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003485/12.7, allocations: 1.419 MB / 4.54 GB, free: 11.69 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/12.7, allocations: 319.1 kB / 4.541 GB, free: 11.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000317/12.7, allocations: 16 kB / 4.541 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001912/12.71, allocations: 131.6 kB / 4.541 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/12.71, allocations: 44.5 kB / 4.541 GB, free: 11.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.126e-05/12.71, allocations: 27.98 kB / 4.541 GB, free: 11.14 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001653/12.71, allocations: 0.8285 MB / 4.542 GB, free: 10.32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.31e-07/12.71, allocations: 3.938 kB / 4.542 GB, free: 10.31 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.004169/12.71, allocations: 0.9786 MB / 4.543 GB, free: 9.332 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.003676/12.72, allocations: 2.034 MB / 4.545 GB, free: 7.266 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004166/12.72, allocations: 1.376 MB / 4.546 GB, free: 5.863 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/12.72, allocations: 0 / 4.546 GB, free: 5.863 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001217/12.72, allocations: 399.6 kB / 4.546 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007137/12.73, allocations: 0.8153 MB / 4.547 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005927/12.73, allocations: 3.242 MB / 4.55 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001338/12.74, allocations: 1.327 MB / 4.552 GB, free: 16 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00254/12.74, allocations: 334.7 kB / 4.552 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004425/12.74, allocations: 99.42 kB / 4.552 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of SimCode: time 9.91e-07/12.74, allocations: 7.938 kB / 4.552 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of Templates: time 0.7459/13.48, allocations: 47.98 MB / 4.599 GB, free: 114.7 MB / 0.8542 GB