Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007775/0.0007771, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000836/0.0008361, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.308/1.308, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.632/1.632, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004884/0.0004888, allocations: 14.81 kB / 0.6738 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1986, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0008077/0.1995, allocations: 290.9 kB / 0.7876 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.2009, allocations: 0.9771 MB / 0.7886 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.423e-05/0.2009, allocations: 0 / 0.7886 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.414e-05/0.201, allocations: 0 / 0.7886 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006594/0.2016, allocations: 71.86 kB / 0.7886 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.558e-05/0.2017, allocations: 8 kB / 0.7886 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.118e-05/0.2017, allocations: 7.938 kB / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.948e-05/0.2018, allocations: 3.984 kB / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.958e-05/0.2018, allocations: 4 kB / 0.7887 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.202, allocations: 27.97 kB / 0.7887 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.202, allocations: 4 kB / 0.7887 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.2022, allocations: 67.92 kB / 0.7887 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.656e-06/0.2022, allocations: 4 kB / 0.7887 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.861e-05/0.2022, allocations: 25.7 kB / 0.7888 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.746e-05/0.2023, allocations: 43.94 kB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.2023, allocations: 4 kB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2023, allocations: 0 / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.2023, allocations: 0 / 0.7888 GB, free: 10.39 MB / 0.6075 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.0002688/0.2026, allocations: 331.5 kB / 0.7891 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.2027, allocations: 12.03 kB / 0.7891 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.119e-05/0.2027, allocations: 4 kB / 0.7892 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.2028, allocations: 167 kB / 0.7893 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.2028, allocations: 0 / 0.7893 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.735e-06/0.2028, allocations: 3.938 kB / 0.7893 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.627e-05/0.2029, allocations: 29.7 kB / 0.7893 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-06/0.2029, allocations: 0 / 0.7893 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.2029, allocations: 0 / 0.7893 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.2029, allocations: 3.984 kB / 0.7893 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.445e-05/0.2029, allocations: 4 kB / 0.7894 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/0.2033, allocations: 472.4 kB / 0.7898 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.542e-05/0.2034, allocations: 165.2 kB / 0.79 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.427e-05/0.2034, allocations: 84.14 kB / 0.79 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.2034, allocations: 79.28 kB / 0.7901 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.2035, allocations: 113.9 kB / 0.7902 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.2035, allocations: 0 / 0.7902 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 5.485e-05/0.2035, allocations: 29.64 kB / 0.7903 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.2036, allocations: 130.7 kB / 0.7904 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.182e-05/0.2037, allocations: 101.9 kB / 0.7905 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/0.2037, allocations: 25.7 kB / 0.7905 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.2037, allocations: 80.14 kB / 0.7906 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-06/0.2037, allocations: 4 kB / 0.7906 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-06/0.2037, allocations: 0 / 0.7906 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.87e-05/0.2038, allocations: 314.8 kB / 0.7909 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.424e-06/0.2038, allocations: 4 kB / 0.7909 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.722e-06/0.2039, allocations: 3.984 kB / 0.7909 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.382e-05/0.2039, allocations: 0 / 0.7909 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2039, allocations: 0 / 0.7909 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.569e-05/0.204, allocations: 45.64 kB / 0.7909 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.204, allocations: 4 kB / 0.7909 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.204, allocations: 4.094 kB / 0.7909 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.204, allocations: 0 / 0.7909 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.204e-05/0.204, allocations: 0 / 0.7909 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.204, allocations: 4 kB / 0.7909 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.411e-05/0.2041, allocations: 0 / 0.7909 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.2041, allocations: 3.938 kB / 0.7909 GB, free: 7.973 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 7.696e-05/0.2041, allocations: 191.9 kB / 0.7911 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.2043, allocations: 105 kB / 0.7912 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.994e-05/0.2043, allocations: 112.2 kB / 0.7913 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.463e-05/0.2044, allocations: 176.3 kB / 0.7915 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.642e-05/0.2044, allocations: 184.2 kB / 0.7917 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.113e-05/0.2045, allocations: 188.3 kB / 0.7919 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.2047, allocations: 401.2 kB / 0.7922 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.863e-05/0.2047, allocations: 108.9 kB / 0.7923 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.483e-05/0.2048, allocations: 113 kB / 0.7925 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.063e-05/0.2049, allocations: 176.3 kB / 0.7926 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-05/0.2049, allocations: 184.1 kB / 0.7928 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.152e-05/0.205, allocations: 176.3 kB / 0.793 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.659e-05/0.205, allocations: 184.2 kB / 0.7931 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.2052, allocations: 315.7 kB / 0.7934 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.447e-05/0.2052, allocations: 186 kB / 0.7936 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.826e-05/0.2053, allocations: 180.2 kB / 0.7938 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.702e-05/0.2054, allocations: 108.9 kB / 0.7939 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/0.2055, allocations: 184.3 kB / 0.7941 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.206e-05/0.2055, allocations: 104.9 kB / 0.7942 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.824e-05/0.2056, allocations: 79.28 kB / 0.7942 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2056, allocations: 0 / 0.7942 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002417/0.2058, allocations: 23.98 kB / 0.7943 GB, free: 4.34 MB / 0.6075 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0003118/0.2061, allocations: 237.7 kB / 0.7945 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.626e-05/0.2062, allocations: 0 / 0.7945 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2062, allocations: 0 / 0.7945 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.346e-06/0.2062, allocations: 3.984 kB / 0.7945 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.2066, allocations: 0.5224 MB / 0.795 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002886/0.2069, allocations: 205.9 kB / 0.7952 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.2071, allocations: 0.6692 MB / 0.7959 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.412e-05/0.2071, allocations: 8 kB / 0.7959 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.52e-05/0.2071, allocations: 7.438 kB / 0.7959 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.2071, allocations: 0 / 0.7959 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of Templates: time 0.002248/0.2094, allocations: 0.6391 MB / 0.7965 GB, free: 2.039 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) Environment - environmentSimulation: