Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.708/1.708, allocations: 288.4 MB / 303.6 MB, free: 8.078 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009433/0.0009433, allocations: 172.5 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 205.4 MB / 0.631 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007972/0.0007973, allocations: 100.7 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003668, allocations: 13.38 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1785, allocations: 115.3 MB / 0.9802 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001502/0.18, allocations: 1.412 MB / 0.9816 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003959/0.184, allocations: 3.919 MB / 0.9854 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.916e-05/0.1841, allocations: 3.938 kB / 0.9854 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009037/0.185, allocations: 330.7 kB / 0.9857 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.845e-05/0.1851, allocations: 63.72 kB / 0.9858 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.1868, allocations: 0.7611 MB / 0.9865 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.187, allocations: 167.3 kB / 0.9867 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.232e-05/0.187, allocations: 13.55 kB / 0.9867 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.511e-05/0.1871, allocations: 43.8 kB / 0.9867 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.1873, allocations: 191.6 kB / 0.9869 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.314e-05/0.1873, allocations: 16 kB / 0.9869 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.1887, allocations: 1.334 MB / 0.9882 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.1889, allocations: 267.2 kB / 0.9885 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.189, allocations: 311.5 kB / 0.9888 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008638/0.1899, allocations: 1.048 MB / 0.9898 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1899, allocations: 0 / 0.9898 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1899, allocations: 0 / 0.9898 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.1899, allocations: 0 / 0.9898 GB, free: 17.4 MB / 0.6198 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.008724/0.1987, allocations: 1.228 MB / 0.991 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1987, allocations: 8.031 kB / 0.991 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002895/0.199, allocations: 95.58 kB / 0.9911 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/0.1994, allocations: 394.1 kB / 0.9915 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1994, allocations: 8.375 kB / 0.9915 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.906e-05/0.1995, allocations: 16.3 kB / 0.9915 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003151/0.1998, allocations: 395.5 kB / 0.9919 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1998, allocations: 0 / 0.9919 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.1998, allocations: 0 / 0.9919 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1998, allocations: 0 / 0.9919 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000315/0.2002, allocations: 435.7 kB / 0.9923 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004156/0.2006, allocations: 0.6651 MB / 0.9929 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.201, allocations: 0.5595 MB / 0.9935 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002346/0.2012, allocations: 333.6 kB / 0.9938 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007566/0.202, allocations: 1.04 MB / 0.9948 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002979/0.2023, allocations: 404.8 kB / 0.9952 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.2023, allocations: 4 kB / 0.9952 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0009429/0.2032, allocations: 1.3 MB / 0.9965 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.2033, allocations: 77.11 kB / 0.9965 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008936/0.2042, allocations: 1.273 MB / 0.9978 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.2042, allocations: 29.7 kB / 0.9978 GB, free: 8.715 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.2044, allocations: 285.5 kB / 0.9981 GB, free: 8.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.2044, allocations: 23.66 kB / 0.9981 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.008e-05/0.2044, allocations: 4 kB / 0.9981 GB, free: 8.402 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.043e-05/0.2045, allocations: 423.8 kB / 0.9985 GB, free: 7.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008414/0.2054, allocations: 1.361 MB / 0.9998 GB, free: 6.617 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008919/0.2063, allocations: 1.489 MB / 1.001 GB, free: 5.117 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007006/0.2133, allocations: 3.51 MB / 1.005 GB, free: 1.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.2133, allocations: 0 / 1.005 GB, free: 1.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003857/0.2172, allocations: 3.953 MB / 1.009 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.2172, allocations: 8 kB / 1.009 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.2173, allocations: 0 / 1.009 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.2173, allocations: 4.031 kB / 1.009 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.2174, allocations: 15.98 kB / 1.009 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.2175, allocations: 4 kB / 1.009 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005085/0.218, allocations: 228.3 kB / 1.009 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.316e-05/0.218, allocations: 23.98 kB / 1.009 GB, free: 13.25 MB / 0.6355 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 2 * 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.0003175/0.2184, allocations: 249.6 kB / 1.009 GB, free: 13 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.005e-05/0.2184, allocations: 74.62 kB / 1.009 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.2187, allocations: 83.72 kB / 1.009 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.2187, allocations: 4 kB / 1.009 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2187, allocations: 3.938 kB / 1.009 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2187, allocations: 3.984 kB / 1.009 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004595/0.2192, allocations: 0.5099 MB / 1.01 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2192, allocations: 0 / 1.01 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.947e-05/0.2193, allocations: 11.92 kB / 1.01 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2193, allocations: 4.031 kB / 1.01 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.2193, allocations: 4 kB / 1.01 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.2193, allocations: 7.922 kB / 1.01 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2193, allocations: 3.938 kB / 1.01 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008876/0.2202, allocations: 1.002 MB / 1.011 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.2204, allocations: 163.7 kB / 1.011 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.378e-05/0.2204, allocations: 7.984 kB / 1.011 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.2206, allocations: 8 kB / 1.011 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.2206, allocations: 7.984 kB / 1.011 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/0.2207, allocations: 11.98 kB / 1.011 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007975/0.2215, allocations: 0.7101 MB / 1.012 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.472e-06/0.2215, allocations: 0 / 1.012 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001104/0.2226, allocations: 399.8 kB / 1.012 GB, free: 9.883 MB / 0.6355 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) * Number of clocked states: 0 () * 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.001105/0.2237, allocations: 478.9 kB / 1.012 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002203/0.2259, allocations: 2.51 MB / 1.015 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2259, allocations: 4.062 kB / 1.015 GB, free: 6.887 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003059/0.2263, allocations: 335.8 kB / 1.015 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.2267, allocations: 56.64 kB / 1.015 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.2287, allocations: 1.969 MB / 1.017 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/0.2292, allocations: 0.9917 MB / 1.018 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001882/0.2294, allocations: 37.42 kB / 1.018 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.12e-05/0.2295, allocations: 27.36 kB / 1.018 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of SimCode: time 2.61e-07/0.2295, allocations: 4 kB / 1.018 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of Templates: time 0.01648/0.246, allocations: 9.553 MB / 1.028 GB, free: 9.926 MB / 0.6511 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)