Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.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.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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01142/0.01142, allocations: 220.3 kB / 15.17 MB, free: 6.012 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.001081/0.001081, allocations: 176.2 kB / 16.06 MB, free: 5.875 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.43/3.43, allocations: 389.1 MB / 405.9 MB, free: 67.66 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.011/4.011, allocations: 472.3 MB / 0.9018 GB, free: 13.29 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004803/0.0004805, allocations: 12 kB / 1.008 GB, free: 0.7227 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4785/0.479, allocations: 98.72 MB / 1.104 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0006058/0.4796, allocations: 282.1 kB / 1.104 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.000205/0.4798, allocations: 99.12 kB / 1.104 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.897e-05/0.4799, allocations: 0 / 1.104 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 7.058e-05/0.4799, allocations: 16.89 kB / 1.104 GB, free: 183.3 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 3.485e-05/0.48, allocations: 2.531 kB / 1.104 GB, free: 183.3 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001453/0.4801, allocations: 31.95 kB / 1.104 GB, free: 183.3 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 4.61e-05/0.4802, allocations: 15.98 kB / 1.104 GB, free: 183.3 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.564e-05/0.4802, allocations: 5.469 kB / 1.104 GB, free: 183.3 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 2.418e-05/0.4803, allocations: 12 kB / 1.104 GB, free: 183.3 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.773e-05/0.4803, allocations: 15.91 kB / 1.105 GB, free: 183.3 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.4804, allocations: 0 / 1.105 GB, free: 183.3 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 3.837e-05/0.4804, allocations: 18.97 kB / 1.105 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 6.266e-06/0.4804, allocations: 0 / 1.105 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 1.855e-05/0.4804, allocations: 29.7 kB / 1.105 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 5.925e-05/0.4805, allocations: 20.61 kB / 1.105 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.506e-06/0.4805, allocations: 0 / 1.105 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4805, allocations: 0 / 1.105 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.363e-06/0.4806, allocations: 0 / 1.105 GB, free: 183.2 MB / 0.6823 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.0002045/0.4808, allocations: 341.1 kB / 1.105 GB, free: 182.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.4808, allocations: 11.53 kB / 1.105 GB, free: 182.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.174e-05/0.4808, allocations: 7.984 kB / 1.105 GB, free: 182.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.992e-05/0.4809, allocations: 163.7 kB / 1.105 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.481, allocations: 4 kB / 1.105 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.481, allocations: 4 kB / 1.105 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.4811, allocations: 53.61 kB / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.915e-06/0.4811, allocations: 0 / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.4811, allocations: 7.312 kB / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.98e-06/0.4811, allocations: 0 / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.328e-05/0.4812, allocations: 16.55 kB / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.713e-05/0.4813, allocations: 150.9 kB / 1.105 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.86e-05/0.4814, allocations: 34.59 kB / 1.105 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.933e-05/0.4814, allocations: 16.92 kB / 1.105 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.039e-06/0.4814, allocations: 3.562 kB / 1.105 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.4815, allocations: 34.5 kB / 1.105 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 3.152e-06/0.4815, allocations: 0.9375 kB / 1.105 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0002233/0.4817, allocations: 113 kB / 1.105 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.4818, allocations: 81.11 kB / 1.106 GB, free: 182 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.679e-05/0.4818, allocations: 93.86 kB / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.4818, allocations: 30.2 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 1.666e-05/0.4819, allocations: 83.14 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.4819, allocations: 3.906 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.82e-06/0.4819, allocations: 4 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.789e-05/0.482, allocations: 322.8 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.653e-05/0.482, allocations: 8 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.26e-05/0.4821, allocations: 12.92 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.065e-05/0.4821, allocations: 39.61 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.97e-06/0.4821, allocations: 0 / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001552/0.4823, allocations: 95.38 kB / 1.106 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.4823, allocations: 37.7 kB / 1.106 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.237e-06/0.4823, allocations: 3.125 kB / 1.106 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.4823, allocations: 0 / 1.106 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.532e-06/0.4824, allocations: 0 / 1.106 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.527e-06/0.4824, allocations: 0 / 1.106 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.4825, allocations: 7.984 kB / 1.106 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.4825, allocations: 4.656 kB / 1.106 GB, free: 181.2 MB / 0.6823 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 () * Number of clocked 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 6.73e-05/0.4826, allocations: 143.5 kB / 1.106 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.4826, allocations: 7.438 kB / 1.106 GB, free: 181 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.213e-06/0.4827, allocations: 7.109 kB / 1.106 GB, free: 181 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.519e-06/0.4827, allocations: 1.312 kB / 1.106 GB, free: 181 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.134e-06/0.4827, allocations: 0 / 1.106 GB, free: 181 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.047e-06/0.4827, allocations: 0 / 1.106 GB, free: 181 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.4e-05/0.4828, allocations: 158.6 kB / 1.107 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.51e-06/0.4828, allocations: 0 / 1.107 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.209e-06/0.4828, allocations: 0 / 1.107 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.4828, allocations: 0 / 1.107 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.4828, allocations: 7.375 kB / 1.107 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.779e-06/0.4828, allocations: 0 / 1.107 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.055e-06/0.4828, allocations: 4.875 kB / 1.107 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.483, allocations: 122.8 kB / 1.107 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.037e-05/0.483, allocations: 85.05 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.4831, allocations: 4 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.4832, allocations: 13.47 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.008e-05/0.4832, allocations: 0 / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.4832, allocations: 11.98 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.219e-05/0.4833, allocations: 75.28 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.26e-07/0.4833, allocations: 0 / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002569/0.4835, allocations: 16 kB / 1.107 GB, free: 180.5 MB / 0.6823 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 () * Number of clocked 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.0001878/0.4837, allocations: 122.6 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000133/0.4839, allocations: 87.31 kB / 1.107 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.396e-06/0.4839, allocations: 0 / 1.107 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.731e-05/0.484, allocations: 71.39 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.4841, allocations: 8.531 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002392/0.4844, allocations: 102.7 kB / 1.107 GB, free: 180 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.4845, allocations: 0.677 MB / 1.108 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.565e-05/0.4846, allocations: 8.922 kB / 1.108 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.784e-06/0.4846, allocations: 7.438 kB / 1.108 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.186e-06/0.4846, allocations: 0 / 1.108 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of Templates: time 0.003409/0.488, allocations: 1.016 MB / 1.109 GB, free: 178.4 MB / 0.6823 GB