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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.892/3.892, allocations: 433.4 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.176e-05/2.183e-05, allocations: 8 kB / 0.5325 GB, free: 1.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4985/0.4985, allocations: 98.72 MB / 0.6289 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.051/6.549, allocations: 2.445 GB / 3.074 GB, free: 194.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/6.55, allocations: 98.81 kB / 3.074 GB, free: 194.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.167/10.72, allocations: 0.9648 GB / 4.039 GB, free: 115.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.074e-06/10.72, allocations: 1.344 kB / 4.039 GB, free: 115.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001906/10.72, allocations: 51.73 kB / 4.039 GB, free: 115.7 MB / 0.823 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.004785/10.72, allocations: 1.866 MB / 4.041 GB, free: 114.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/10.72, allocations: 11.22 kB / 4.041 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002637/10.72, allocations: 347.8 kB / 4.041 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004615/10.73, allocations: 1.607 MB / 4.043 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.996e-05/10.73, allocations: 36.22 kB / 4.043 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002641/10.73, allocations: 79.38 kB / 4.043 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001998/10.73, allocations: 0.7868 MB / 4.044 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/10.73, allocations: 0.9687 MB / 4.045 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.55e-05/10.73, allocations: 3.938 kB / 4.045 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/10.73, allocations: 4.094 kB / 4.045 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.827e-05/10.73, allocations: 46.94 kB / 4.045 GB, free: 114 MB / 0.823 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.008442/10.74, allocations: 5.428 MB / 4.05 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/10.74, allocations: 0.7858 MB / 4.051 GB, free: 110.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005855/10.74, allocations: 342.5 kB / 4.051 GB, free: 110.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004188/10.74, allocations: 455.7 kB / 4.052 GB, free: 110.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/10.74, allocations: 41 kB / 4.052 GB, free: 110.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=66): time 4.929e-06/10.74, allocations: 2.031 kB / 4.052 GB, free: 110.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=66): time 0.002556/10.75, allocations: 0.7803 MB / 4.052 GB, free: 110.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/10.75, allocations: 57.44 kB / 4.052 GB, free: 110.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/10.75, allocations: 0.8902 MB / 4.053 GB, free: 110.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001615/10.75, allocations: 32.94 kB / 4.053 GB, free: 110 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000531/10.75, allocations: 0.717 MB / 4.054 GB, free: 109.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000231/10.75, allocations: 224.2 kB / 4.054 GB, free: 109.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/10.75, allocations: 0 / 4.054 GB, free: 109.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.472e-05/10.75, allocations: 336.9 kB / 4.055 GB, free: 109.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000467/10.75, allocations: 231.1 kB / 4.055 GB, free: 109.3 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006064/10.75, allocations: 473.6 kB / 4.055 GB, free: 109 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007703/10.75, allocations: 314.8 kB / 4.056 GB, free: 109 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.28e-06/10.75, allocations: 1.969 kB / 4.056 GB, free: 109 MB / 0.823 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002359/10.75, allocations: 0.8828 MB / 4.056 GB, free: 108.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002302/10.75, allocations: 1.077 MB / 4.057 GB, free: 107.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/10.75, allocations: 3.781 kB / 4.057 GB, free: 107.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002986/10.76, allocations: 86.3 kB / 4.058 GB, free: 107.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009381/10.76, allocations: 164.1 kB / 4.058 GB, free: 107.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/10.76, allocations: 1.785 MB / 4.059 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/10.76, allocations: 141.8 kB / 4.06 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/10.76, allocations: 28.72 kB / 4.06 GB, free: 106 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/10.76, allocations: 3.219 kB / 4.06 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001709/10.76, allocations: 0.6647 MB / 4.06 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.254e-06/10.76, allocations: 3.938 kB / 4.06 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003263/10.76, allocations: 91.48 kB / 4.06 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007489/10.76, allocations: 150 kB / 4.06 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002854/10.76, allocations: 3.004 MB / 4.063 GB, free: 103.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001932/10.77, allocations: 138.1 kB / 4.064 GB, free: 103.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/10.77, allocations: 32.77 kB / 4.064 GB, free: 103.3 MB / 0.823 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 () * 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.0002646/10.77, allocations: 119.5 kB / 4.064 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003419/10.77, allocations: 130.6 kB / 4.064 GB, free: 103.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001905/10.77, allocations: 0.7767 MB / 4.065 GB, free: 103 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/10.77, allocations: 5.938 kB / 4.065 GB, free: 103 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/10.77, allocations: 0 / 4.065 GB, free: 103 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001359/10.77, allocations: 0.9381 MB / 4.065 GB, free: 102.5 MB / 0.823 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.004846/10.78, allocations: 2.067 MB / 4.068 GB, free: 101.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.623e-06/10.78, allocations: 0 / 4.068 GB, free: 101.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008954/10.78, allocations: 155 kB / 4.068 GB, free: 101.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001981/10.78, allocations: 70.12 kB / 4.068 GB, free: 101.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-05/10.78, allocations: 10.41 kB / 4.068 GB, free: 101.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008649/10.78, allocations: 1.74 MB / 4.069 GB, free: 100.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.243e-06/10.78, allocations: 4.312 kB / 4.069 GB, free: 100.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/10.78, allocations: 1.326 MB / 4.071 GB, free: 99.39 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008793/10.78, allocations: 309.3 kB / 4.071 GB, free: 99.16 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00025/10.78, allocations: 9.875 kB / 4.071 GB, free: 99.16 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/10.78, allocations: 103.1 kB / 4.071 GB, free: 99.15 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/10.78, allocations: 44.55 kB / 4.071 GB, free: 99.14 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.886e-05/10.78, allocations: 34.56 kB / 4.071 GB, free: 99.14 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001211/10.78, allocations: 0.6817 MB / 4.072 GB, free: 98.82 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.216e-06/10.78, allocations: 0 / 4.072 GB, free: 98.82 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003403/10.79, allocations: 0.9221 MB / 4.073 GB, free: 98.59 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (59): * Single equations (assignments): 55 * 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.003238/10.79, allocations: 2.246 MB / 4.075 GB, free: 97.88 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002629/10.79, allocations: 1.233 MB / 4.076 GB, free: 97.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/10.79, allocations: 4.719 kB / 4.076 GB, free: 97.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007704/10.79, allocations: 328.3 kB / 4.077 GB, free: 97.19 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004147/10.8, allocations: 0.7299 MB / 4.077 GB, free: 97.04 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003938/10.8, allocations: 2.029 MB / 4.079 GB, free: 96.04 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009402/10.8, allocations: 1.314 MB / 4.08 GB, free: 95.26 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002567/10.81, allocations: 417.5 kB / 4.081 GB, free: 95.19 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002485/10.81, allocations: 76.42 kB / 4.081 GB, free: 95.18 MB / 0.823 GB Notification: Performance of SimCode: time 1.806e-06/10.81, allocations: 0 / 4.081 GB, free: 95.18 MB / 0.823 GB Notification: Performance of Templates: time 0.07558/10.88, allocations: 37.05 MB / 4.117 GB, free: 70.93 MB / 0.823 GB