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.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.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.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadModel(Buildings): time 3.766/3.766, allocations: 433.4 MB / 440.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.136e-05/2.115e-05, allocations: 4 kB / 0.5326 GB, free: 1.848 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4854/0.4854, allocations: 98.71 MB / 0.629 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2289/0.7143, allocations: 138.7 MB / 0.7644 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006005/0.715, allocations: 111.9 kB / 0.7645 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1576/0.8726, allocations: 24.82 MB / 0.7887 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.807e-06/0.8727, allocations: 4 kB / 0.7888 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.193e-05/0.8727, allocations: 16 kB / 0.7888 GB, free: 11.82 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.002576/0.8753, allocations: 1.361 MB / 0.7901 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.8754, allocations: 12.02 kB / 0.7901 GB, free: 10.4 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005204/0.8759, allocations: 154 kB / 0.7903 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.8772, allocations: 0.6417 MB / 0.7909 GB, free: 9.535 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.8772, allocations: 0 / 0.7909 GB, free: 9.535 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.8774, allocations: 27.98 kB / 0.7909 GB, free: 9.508 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005031/0.8779, allocations: 419.8 kB / 0.7913 GB, free: 9.098 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004708/0.8784, allocations: 387.1 kB / 0.7917 GB, free: 8.707 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.983e-06/0.8784, allocations: 0 / 0.7917 GB, free: 8.707 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.8784, allocations: 3.953 kB / 0.7917 GB, free: 8.703 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.8784, allocations: 4 kB / 0.7917 GB, free: 8.699 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.8798, allocations: 0.9317 MB / 0.7926 GB, free: 7.719 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006418/0.8805, allocations: 0.5555 MB / 0.7931 GB, free: 7.145 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003695/0.8808, allocations: 329.7 kB / 0.7935 GB, free: 6.816 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001194/0.8821, allocations: 1.036 MB / 0.7945 GB, free: 5.559 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004832/0.8826, allocations: 404.9 kB / 0.7948 GB, free: 5.145 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=8): time 2.844e-06/0.8826, allocations: 0 / 0.7948 GB, free: 5.145 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.001417/0.884, allocations: 1.019 MB / 0.7958 GB, free: 4.117 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.8841, allocations: 81.11 kB / 0.7959 GB, free: 4.02 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002237/0.8863, allocations: 1.529 MB / 0.7974 GB, free: 2.449 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.581e-05/0.8864, allocations: 29.7 kB / 0.7974 GB, free: 2.414 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005595/0.887, allocations: 474 kB / 0.7979 GB, free: 1.941 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.797e-05/0.8871, allocations: 31.67 kB / 0.7979 GB, free: 1.91 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-05/0.8872, allocations: 4 kB / 0.7979 GB, free: 1.906 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000265/0.8874, allocations: 411 kB / 0.7983 GB, free: 1.5 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00215/0.8896, allocations: 1.452 MB / 0.7997 GB, free: 48 kB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4273/1.317, allocations: 1.576 MB / 0.8013 GB, free: 154.3 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002677/1.32, allocations: 1.843 MB / 0.8031 GB, free: 154 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.156e-06/1.32, allocations: 4.594 kB / 0.8031 GB, free: 154 MB / 0.6667 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006316/1.326, allocations: 3.966 MB / 0.807 GB, free: 153.1 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/1.326, allocations: 5.656 kB / 0.807 GB, free: 153.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-05/1.326, allocations: 19.84 kB / 0.807 GB, free: 153.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/1.326, allocations: 5 kB / 0.807 GB, free: 153.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008589/1.327, allocations: 148.5 kB / 0.8071 GB, free: 153.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.87e-06/1.327, allocations: 2.844 kB / 0.8071 GB, free: 153.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/1.328, allocations: 229.1 kB / 0.8073 GB, free: 153 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/1.328, allocations: 92.25 kB / 0.8074 GB, free: 153 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0001292/1.328, allocations: 118.5 kB / 0.8075 GB, free: 152.9 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/1.329, allocations: 123.7 kB / 0.8077 GB, free: 152.8 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/1.33, allocations: 0.9938 MB / 0.8086 GB, free: 152.7 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.408e-06/1.33, allocations: 4.75 kB / 0.8086 GB, free: 152.7 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.088e-06/1.33, allocations: 0 / 0.8086 GB, free: 152.7 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.836e-06/1.33, allocations: 2 kB / 0.8086 GB, free: 152.7 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000976/1.331, allocations: 0.6511 MB / 0.8093 GB, free: 152.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.425e-06/1.331, allocations: 0.75 kB / 0.8093 GB, free: 152.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/1.331, allocations: 11.23 kB / 0.8093 GB, free: 152.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.932e-06/1.331, allocations: 3.5 kB / 0.8093 GB, free: 152.4 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/1.331, allocations: 8.375 kB / 0.8093 GB, free: 152.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.149e-05/1.331, allocations: 0 / 0.8093 GB, free: 152.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.293e-06/1.331, allocations: 1.125 kB / 0.8093 GB, free: 152.4 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/1.332, allocations: 1.062 MB / 0.8103 GB, free: 152.2 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000235/1.333, allocations: 213 kB / 0.8105 GB, free: 152 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/1.333, allocations: 4.672 kB / 0.8105 GB, free: 152 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000484/1.333, allocations: 8.641 kB / 0.8106 GB, free: 152 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/1.333, allocations: 12.69 kB / 0.8106 GB, free: 152 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-05/1.334, allocations: 12.14 kB / 0.8106 GB, free: 152 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001335/1.335, allocations: 1.008 MB / 0.8116 GB, free: 151.7 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.97e-07/1.335, allocations: 0 / 0.8116 GB, free: 151.7 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001604/1.337, allocations: 0.5016 MB / 0.8121 GB, free: 151.7 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001764/1.338, allocations: 0.5652 MB / 0.8126 GB, free: 151.6 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002651/1.341, allocations: 2.483 MB / 0.815 GB, free: 150.7 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.842e-06/1.341, allocations: 0 / 0.815 GB, free: 150.7 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003135/1.341, allocations: 340.1 kB / 0.8154 GB, free: 150.7 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/1.342, allocations: 60.44 kB / 0.8154 GB, free: 150.7 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002888/1.345, allocations: 2.091 MB / 0.8175 GB, free: 150.2 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007279/1.345, allocations: 1.177 MB / 0.8186 GB, free: 149.5 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005551/1.346, allocations: 130.1 kB / 0.8187 GB, free: 149.5 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/1.346, allocations: 67.84 kB / 0.8188 GB, free: 149.5 MB / 0.6667 GB Notification: Performance of SimCode: time 1.757e-06/1.346, allocations: 3.469 kB / 0.8188 GB, free: 149.5 MB / 0.6667 GB Notification: Performance of Templates: time 0.02869/1.375, allocations: 10.97 MB / 0.8295 GB, free: 146.1 MB / 0.6667 GB