Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.804/3.804, allocations: 432.7 MB / 445.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.329e-05/3.342e-05, allocations: 4.375 kB / 0.5383 GB, free: 10.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1769, allocations: 98.72 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.06/6.237, allocations: 2.446 GB / 3.081 GB, free: 178 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/6.238, allocations: 96 kB / 3.081 GB, free: 177.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.336/10.57, allocations: 0.9737 GB / 4.054 GB, free: 119.7 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.95e-06/10.57, allocations: 0 / 4.054 GB, free: 119.7 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001862/10.57, allocations: 49.72 kB / 4.054 GB, free: 119.7 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.00451/10.58, allocations: 1.877 MB / 4.056 GB, free: 118.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/10.58, allocations: 13.75 kB / 4.056 GB, free: 118.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002448/10.58, allocations: 350.7 kB / 4.057 GB, free: 118.7 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004183/10.59, allocations: 1.598 MB / 4.058 GB, free: 118.2 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.66e-05/10.59, allocations: 95.66 kB / 4.058 GB, free: 118.2 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002399/10.59, allocations: 118.2 kB / 4.058 GB, free: 118.2 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002545/10.59, allocations: 1.126 MB / 4.06 GB, free: 118.1 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.144e-05/10.59, allocations: 3.656 kB / 4.06 GB, free: 118.1 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/10.59, allocations: 50.39 kB / 4.06 GB, free: 118.1 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-05/10.59, allocations: 42.41 kB / 4.06 GB, free: 118.1 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/10.59, allocations: 0.8562 MB / 4.06 GB, free: 118.1 MB / 0.8386 GB Warning: The model contains alias variables with conflicting start and/or 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.008517/10.6, allocations: 5.505 MB / 4.066 GB, free: 115.4 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/10.6, allocations: 0.8214 MB / 4.067 GB, free: 115.1 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006897/10.6, allocations: 365.3 kB / 4.067 GB, free: 115.1 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005871/10.6, allocations: 0.6062 MB / 4.068 GB, free: 114.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/10.6, allocations: 40.28 kB / 4.068 GB, free: 114.4 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=68): time 5.671e-06/10.6, allocations: 0 / 4.068 GB, free: 114.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=68): time 0.002284/10.6, allocations: 0.7963 MB / 4.068 GB, free: 114.3 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/10.6, allocations: 59.62 kB / 4.068 GB, free: 114.2 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001932/10.61, allocations: 1.043 MB / 4.069 GB, free: 114 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001524/10.61, allocations: 46.27 kB / 4.069 GB, free: 114 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005534/10.61, allocations: 0.7077 MB / 4.07 GB, free: 113.8 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002396/10.61, allocations: 232.5 kB / 4.07 GB, free: 113.6 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.141e-05/10.61, allocations: 19.06 kB / 4.07 GB, free: 113.6 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.44e-05/10.61, allocations: 339.3 kB / 4.071 GB, free: 113.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005431/10.61, allocations: 236.6 kB / 4.071 GB, free: 113.3 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007118/10.61, allocations: 482.6 kB / 4.071 GB, free: 113.1 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006519/10.61, allocations: 321 kB / 4.072 GB, free: 113 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.407e-06/10.61, allocations: 3.875 kB / 4.072 GB, free: 113 MB / 0.8386 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002122/10.61, allocations: 0.8958 MB / 4.073 GB, free: 112.9 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001983/10.61, allocations: 0.9075 MB / 4.074 GB, free: 111.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.911e-06/10.61, allocations: 7.906 kB / 4.074 GB, free: 111.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004259/10.61, allocations: 95.7 kB / 4.074 GB, free: 111.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009365/10.61, allocations: 164.7 kB / 4.074 GB, free: 111.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/10.61, allocations: 1.753 MB / 4.075 GB, free: 110.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/10.62, allocations: 170 kB / 4.076 GB, free: 110.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/10.62, allocations: 31.36 kB / 4.076 GB, free: 110.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/10.62, allocations: 3.25 kB / 4.076 GB, free: 110.2 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001772/10.62, allocations: 0.7249 MB / 4.076 GB, free: 110.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.02e-06/10.62, allocations: 7.297 kB / 4.076 GB, free: 110.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003754/10.62, allocations: 89.91 kB / 4.076 GB, free: 110.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008635/10.62, allocations: 156.6 kB / 4.077 GB, free: 110.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002934/10.62, allocations: 3.118 MB / 4.08 GB, free: 107.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002001/10.62, allocations: 160.2 kB / 4.08 GB, free: 107.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/10.62, allocations: 34.31 kB / 4.08 GB, free: 107.3 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 () * 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.0002659/10.62, allocations: 151.8 kB / 4.08 GB, free: 107.2 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003422/10.63, allocations: 141 kB / 4.08 GB, free: 107.2 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002049/10.63, allocations: 0.8898 MB / 4.081 GB, free: 106.8 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/10.63, allocations: 6.625 kB / 4.081 GB, free: 106.8 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.385e-06/10.63, allocations: 0 / 4.081 GB, free: 106.8 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001479/10.63, allocations: 0.9775 MB / 4.082 GB, free: 106.1 MB / 0.8386 GB Warning: The model contains alias variables with conflicting start and/or 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.005138/10.63, allocations: 2.292 MB / 4.084 GB, free: 105 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.732e-06/10.63, allocations: 1.094 kB / 4.084 GB, free: 105 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/10.64, allocations: 165.5 kB / 4.084 GB, free: 105 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003331/10.64, allocations: 92.22 kB / 4.084 GB, free: 104.9 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.985e-05/10.64, allocations: 19.36 kB / 4.084 GB, free: 104.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009032/10.64, allocations: 1.732 MB / 4.086 GB, free: 103.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.594e-06/10.64, allocations: 3.938 kB / 4.086 GB, free: 103.2 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002547/10.64, allocations: 1.418 MB / 4.088 GB, free: 102.4 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009132/10.64, allocations: 325.9 kB / 4.088 GB, free: 102.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000265/10.64, allocations: 11.94 kB / 4.088 GB, free: 102.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/10.64, allocations: 127 kB / 4.088 GB, free: 102.1 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/10.64, allocations: 49.95 kB / 4.088 GB, free: 102.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.74e-05/10.64, allocations: 28.83 kB / 4.088 GB, free: 102.1 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001481/10.64, allocations: 0.8324 MB / 4.089 GB, free: 101.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.27e-07/10.64, allocations: 3.938 kB / 4.089 GB, free: 101.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.003618/10.65, allocations: 0.9906 MB / 4.09 GB, free: 101.5 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 () * 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.003206/10.65, allocations: 2.05 MB / 4.092 GB, free: 100.8 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002948/10.65, allocations: 1.298 MB / 4.093 GB, free: 100.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.372e-06/10.65, allocations: 3.344 kB / 4.093 GB, free: 100.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0009451/10.65, allocations: 353 kB / 4.093 GB, free: 100.1 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005057/10.66, allocations: 0.7856 MB / 4.094 GB, free: 99.95 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004753/10.66, allocations: 2.093 MB / 4.096 GB, free: 98.91 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009417/10.67, allocations: 1.319 MB / 4.098 GB, free: 98.13 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00276/10.67, allocations: 453.3 kB / 4.098 GB, free: 98.05 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/10.67, allocations: 69.69 kB / 4.098 GB, free: 98.05 MB / 0.8386 GB Notification: Performance of SimCode: time 1.677e-06/10.67, allocations: 2.219 kB / 4.098 GB, free: 98.05 MB / 0.8386 GB Notification: Performance of Templates: time 0.102/10.77, allocations: 55.54 MB / 4.152 GB, free: 52.03 MB / 0.8386 GB