Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.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.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadModel(Buildings): time 3.761/3.761, allocations: 433.4 MB / 440.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.052e-05/2.061e-05, allocations: 4 kB / 0.5325 GB, free: 1.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4926/0.4927, allocations: 98.72 MB / 0.6289 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1865/0.6792, allocations: 124 MB / 0.75 GB, free: 3.551 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.6795, allocations: 87.94 kB / 0.7501 GB, free: 3.465 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01547/0.695, allocations: 3.803 MB / 0.7538 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.802e-06/0.6951, allocations: 0 / 0.7538 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.6951, allocations: 4 kB / 0.7538 GB, free: 15.65 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003167/0.6954, allocations: 336.3 kB / 0.7541 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.6955, allocations: 16.02 kB / 0.7541 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.6955, allocations: 4 kB / 0.7542 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.6957, allocations: 163 kB / 0.7543 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.6957, allocations: 4 kB / 0.7543 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.6957, allocations: 7.938 kB / 0.7543 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.951e-05/0.6958, allocations: 11.98 kB / 0.7543 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.6959, allocations: 49.67 kB / 0.7544 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.6959, allocations: 0 / 0.7544 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.696, allocations: 7.984 kB / 0.7544 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.122e-06/0.696, allocations: 0 / 0.7544 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001462/0.6961, allocations: 138.2 kB / 0.7545 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.561e-05/0.6962, allocations: 26.61 kB / 0.7545 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.109e-05/0.6963, allocations: 16.92 kB / 0.7546 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.364e-06/0.6963, allocations: 0 / 0.7546 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.6963, allocations: 38.5 kB / 0.7546 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.833e-06/0.6963, allocations: 0 / 0.7546 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0002036/0.6965, allocations: 57.69 kB / 0.7547 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/0.6966, allocations: 81.09 kB / 0.7547 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.632e-05/0.6967, allocations: 93 kB / 0.7548 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.6967, allocations: 29.64 kB / 0.7548 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.147e-05/0.6968, allocations: 80.14 kB / 0.7549 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.6968, allocations: 11.84 kB / 0.7549 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.436e-06/0.6968, allocations: 0 / 0.7549 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.697, allocations: 310.8 kB / 0.7552 GB, free: 14 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.157e-05/0.697, allocations: 16.16 kB / 0.7552 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.594e-05/0.6971, allocations: 4 kB / 0.7552 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.563e-05/0.6971, allocations: 7.984 kB / 0.7553 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6971, allocations: 0 / 0.7553 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001608/0.6973, allocations: 73.52 kB / 0.7553 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.786e-05/0.6974, allocations: 29.7 kB / 0.7554 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.907e-06/0.6974, allocations: 0 / 0.7554 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.6974, allocations: 0 / 0.7554 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.905e-06/0.6974, allocations: 7.984 kB / 0.7554 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.52e-06/0.6974, allocations: 4.094 kB / 0.7554 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.6976, allocations: 4 kB / 0.7554 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.6976, allocations: 4 kB / 0.7554 GB, free: 13.84 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 0.000112/0.6977, allocations: 134.7 kB / 0.7555 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.6978, allocations: 7.953 kB / 0.7555 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.098e-05/0.6978, allocations: 3.75 kB / 0.7555 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.402e-06/0.6978, allocations: 0 / 0.7555 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.306e-06/0.6978, allocations: 0 / 0.7555 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.73e-06/0.6978, allocations: 0 / 0.7555 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.6979, allocations: 138.2 kB / 0.7556 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-06/0.6979, allocations: 0 / 0.7556 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-06/0.698, allocations: 0 / 0.7556 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.451e-06/0.698, allocations: 0 / 0.7556 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.698, allocations: 7.953 kB / 0.7557 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.883e-06/0.698, allocations: 3.984 kB / 0.7557 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.698, allocations: 0 / 0.7557 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.6982, allocations: 85.06 kB / 0.7557 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-05/0.6983, allocations: 81.14 kB / 0.7558 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.6983, allocations: 4 kB / 0.7558 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.6984, allocations: 11.94 kB / 0.7558 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.6985, allocations: 4 kB / 0.7558 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.6985, allocations: 4 kB / 0.7558 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.842e-05/0.6986, allocations: 83.22 kB / 0.7559 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.06e-07/0.6986, allocations: 0 / 0.7559 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002655/0.6988, allocations: 12 kB / 0.7559 GB, free: 13.18 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002696/0.6991, allocations: 124.9 kB / 0.756 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001445/0.6993, allocations: 71.41 kB / 0.7561 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.6993, allocations: 0 / 0.7561 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.676e-05/0.6994, allocations: 71.39 kB / 0.7562 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001153/0.6995, allocations: 12.06 kB / 0.7562 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006282/0.7002, allocations: 155.9 kB / 0.7563 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.7005, allocations: 0.6768 MB / 0.757 GB, free: 12 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.61e-05/0.7006, allocations: 4 kB / 0.757 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.362e-05/0.7006, allocations: 7.438 kB / 0.757 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of SimCode: time 1.332e-06/0.7006, allocations: 0 / 0.757 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of Templates: time 0.003746/0.7044, allocations: 1.004 MB / 0.758 GB, free: 10.98 MB / 0.6355 GB