Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001298, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 193.9 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.1 MB / 222.4 MB, free: 4.633 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.707/1.707, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001404/0.001404, allocations: 66.45 kB / 0.6715 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2195, allocations: 114.5 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002885/0.2224, allocations: 1.73 MB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005705/0.2281, allocations: 4.251 MB / 0.7892 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.213e-05/0.2282, allocations: 4 kB / 0.7893 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.2293, allocations: 370.4 kB / 0.7896 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.2294, allocations: 59.66 kB / 0.7897 GB, free: 7.02 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/gFunction.mo:2:1-295:14:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.gFunction' contains a call to impure function 'Modelica.Math.Matrices.solve'. Notification: Performance of NFTyping.typeClassSections: time 0.002124/0.2316, allocations: 0.986 MB / 0.7906 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.2318, allocations: 155.3 kB / 0.7908 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.609e-05/0.2318, allocations: 13.55 kB / 0.7908 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.826e-05/0.2319, allocations: 47.78 kB / 0.7908 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.2321, allocations: 167.5 kB / 0.791 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.354e-05/0.2322, allocations: 16 kB / 0.791 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001804/0.234, allocations: 1.377 MB / 0.7923 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002042/0.2342, allocations: 275.8 kB / 0.7926 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002642/0.2345, allocations: 302.2 kB / 0.7929 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001931/0.2364, allocations: 1.547 MB / 0.7944 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2364, allocations: 0 / 0.7944 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2364, allocations: 0 / 0.7944 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.2365, allocations: 0 / 0.7944 GB, free: 2.137 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01005/0.2465, allocations: 1.281 MB / 0.7957 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.2466, allocations: 8.031 kB / 0.7957 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000371/0.2469, allocations: 91.59 kB / 0.7958 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004352/0.2474, allocations: 406 kB / 0.7961 GB, free: 268 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.2474, allocations: 8.312 kB / 0.7962 GB, free: 260 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.956e-05/0.2475, allocations: 12.31 kB / 0.7962 GB, free: 248 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004241/0.2479, allocations: 395.5 kB / 0.7965 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2479, allocations: 3.984 kB / 0.7965 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.2479, allocations: 0 / 0.7965 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.2479, allocations: 0 / 0.7965 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004476/0.2484, allocations: 431.8 kB / 0.797 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005915/0.249, allocations: 0.6613 MB / 0.7976 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004811/0.2495, allocations: 0.5673 MB / 0.7982 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002923/0.2498, allocations: 329.6 kB / 0.7985 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/0.2508, allocations: 1.036 MB / 0.7995 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00037/0.2512, allocations: 404.8 kB / 0.7999 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.2512, allocations: 0 / 0.7999 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001296/0.2525, allocations: 1.293 MB / 0.8011 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.2526, allocations: 85.09 kB / 0.8012 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.2539, allocations: 1.285 MB / 0.8025 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.2539, allocations: 25.7 kB / 0.8025 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.2541, allocations: 285.4 kB / 0.8028 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.2541, allocations: 27.72 kB / 0.8028 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000289/0.2544, allocations: 347.7 kB / 0.8031 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2546, allocations: 322 kB / 0.8034 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.2557, allocations: 1.361 MB / 0.8048 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.2571, allocations: 1.489 MB / 0.8062 GB, free: 5.551 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00708/0.2642, allocations: 3.545 MB / 0.8097 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.2643, allocations: 0 / 0.8097 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004158/0.2684, allocations: 3.976 MB / 0.8136 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.2685, allocations: 4 kB / 0.8136 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/0.2685, allocations: 4 kB / 0.8136 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.2686, allocations: 0 / 0.8136 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.2687, allocations: 20.02 kB / 0.8136 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.2687, allocations: 0 / 0.8136 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005666/0.2693, allocations: 224.4 kB / 0.8138 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-05/0.2694, allocations: 23.98 kB / 0.8138 GB, free: 13.63 MB / 0.6387 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 (gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003467/0.2697, allocations: 253.5 kB / 0.8141 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.397e-05/0.2698, allocations: 82.5 kB / 0.8141 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003285/0.2702, allocations: 79.72 kB / 0.8142 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2702, allocations: 0 / 0.8142 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.2702, allocations: 4 kB / 0.8142 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2702, allocations: 3.984 kB / 0.8142 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000488/0.2707, allocations: 0.5137 MB / 0.8147 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.2707, allocations: 0 / 0.8147 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.651e-05/0.2708, allocations: 15.92 kB / 0.8147 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.2708, allocations: 0 / 0.8147 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.2708, allocations: 7.938 kB / 0.8147 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.593e-06/0.2708, allocations: 7.984 kB / 0.8148 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2708, allocations: 4.031 kB / 0.8148 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009486/0.2718, allocations: 0.9978 MB / 0.8157 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.2719, allocations: 159.7 kB / 0.8159 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-05/0.272, allocations: 11.97 kB / 0.8159 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.2722, allocations: 4 kB / 0.8159 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/0.2722, allocations: 11.98 kB / 0.8159 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.834e-05/0.2723, allocations: 11.98 kB / 0.8159 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008007/0.2731, allocations: 0.714 MB / 0.8166 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2731, allocations: 3.938 kB / 0.8166 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00105/0.2742, allocations: 403.9 kB / 0.817 GB, free: 10.25 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001116/0.2753, allocations: 489.2 kB / 0.8175 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002085/0.2774, allocations: 2.495 MB / 0.8199 GB, free: 7.258 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2774, allocations: 0 / 0.8199 GB, free: 7.258 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003065/0.2777, allocations: 335.9 kB / 0.8202 GB, free: 6.93 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.2781, allocations: 63.3 kB / 0.8203 GB, free: 6.871 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.2801, allocations: 1.881 MB / 0.8221 GB, free: 4.957 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004755/0.2806, allocations: 0.9879 MB / 0.8231 GB, free: 3.941 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001738/0.2808, allocations: 45.34 kB / 0.8231 GB, free: 3.895 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.113e-05/0.2809, allocations: 27.42 kB / 0.8232 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of SimCode: time 2.5e-07/0.2809, allocations: 0 / 0.8232 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of Templates: time 0.01698/0.2979, allocations: 10.17 MB / 0.8331 GB, free: 9.746 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)