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_1borehole_5meters.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_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.001382/0.001382, allocations: 177.3 kB / 15.94 MB, free: 228 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.354/1.354, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.559/1.559, allocations: 292.5 MB / 0.5497 GB, free: 14.61 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.0005166/0.0005168, allocations: 14.09 kB / 0.6736 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2095, allocations: 116.3 MB / 0.7872 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001572/0.2112, allocations: 1.115 MB / 0.7882 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004199/0.2154, allocations: 2.826 MB / 0.791 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.308e-05/0.2155, allocations: 0 / 0.791 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.2156, allocations: 3.938 kB / 0.791 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.2158, allocations: 27.89 kB / 0.791 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002142/0.2179, allocations: 0.7282 MB / 0.7917 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.746e-05/0.218, allocations: 47.88 kB / 0.7918 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.091e-05/0.2181, allocations: 7.984 kB / 0.7918 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.542e-05/0.2181, allocations: 31.91 kB / 0.7918 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.2183, allocations: 151.7 kB / 0.792 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.2184, allocations: 12 kB / 0.792 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001778/0.2202, allocations: 1.26 MB / 0.7932 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.2204, allocations: 239.3 kB / 0.7934 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.519e-05/0.2205, allocations: 117.2 kB / 0.7936 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.2217, allocations: 0.9746 MB / 0.7945 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.2217, allocations: 0 / 0.7945 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.627e-06/0.2217, allocations: 7.984 kB / 0.7945 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.2217, allocations: 0 / 0.7945 GB, free: 4.371 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.009584/0.2313, allocations: 1.156 MB / 0.7956 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.2313, allocations: 8.031 kB / 0.7957 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003338/0.2317, allocations: 90.75 kB / 0.7957 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004156/0.2321, allocations: 363.4 kB / 0.7961 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.2321, allocations: 8 kB / 0.7961 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.2322, allocations: 11.98 kB / 0.7961 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004059/0.2326, allocations: 379.2 kB / 0.7965 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2326, allocations: 4 kB / 0.7965 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.2326, allocations: 0 / 0.7965 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2326, allocations: 0 / 0.7965 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004335/0.2331, allocations: 447.6 kB / 0.7969 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005694/0.2337, allocations: 0.6325 MB / 0.7975 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004812/0.2342, allocations: 0.5634 MB / 0.7981 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009875/0.2351, allocations: 1.04 MB / 0.7991 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003682/0.2355, allocations: 400.8 kB / 0.7995 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.2355, allocations: 4 kB / 0.7995 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001198/0.2367, allocations: 1.289 MB / 0.8007 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.2368, allocations: 85.09 kB / 0.8008 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.2379, allocations: 1.194 MB / 0.802 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.238, allocations: 29.7 kB / 0.802 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.2381, allocations: 261.5 kB / 0.8022 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.796e-05/0.2382, allocations: 15.81 kB / 0.8023 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.2382, allocations: 7.938 kB / 0.8023 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.2384, allocations: 419.8 kB / 0.8027 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.2395, allocations: 1.361 MB / 0.804 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/0.2408, allocations: 1.493 MB / 0.8055 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.2423, allocations: 1.899 MB / 0.8073 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2424, allocations: 4 kB / 0.8073 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003975/0.2463, allocations: 3.934 MB / 0.8112 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.2464, allocations: 8 kB / 0.8112 GB, free: 2.766 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.2464, allocations: 0 / 0.8112 GB, free: 2.766 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.2464, allocations: 0 / 0.8112 GB, free: 2.766 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.2465, allocations: 19.92 kB / 0.8112 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.2465, allocations: 8.031 kB / 0.8112 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004561/0.247, allocations: 232.3 kB / 0.8114 GB, free: 2.508 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.41e-05/0.2471, allocations: 23.98 kB / 0.8114 GB, free: 2.484 MB / 0.6231 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.0002661/0.2473, allocations: 237.6 kB / 0.8117 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/0.2474, allocations: 62.78 kB / 0.8117 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.2477, allocations: 86.81 kB / 0.8118 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2477, allocations: 0 / 0.8118 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.2477, allocations: 4 kB / 0.8118 GB, free: 2.078 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.2477, allocations: 0 / 0.8118 GB, free: 2.078 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004016/0.2481, allocations: 0.4967 MB / 0.8123 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2481, allocations: 0 / 0.8123 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.446e-05/0.2482, allocations: 4 kB / 0.8123 GB, free: 1.531 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.2482, allocations: 4 kB / 0.8123 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.2482, allocations: 3.984 kB / 0.8123 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2482, allocations: 0 / 0.8123 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.2482, allocations: 8.031 kB / 0.8123 GB, free: 1.516 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008366/0.2491, allocations: 1.012 MB / 0.8133 GB, free: 488 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.389e-05/0.2492, allocations: 151.9 kB / 0.8134 GB, free: 316 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.738e-05/0.2492, allocations: 7.938 kB / 0.8135 GB, free: 308 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.2494, allocations: 8 kB / 0.8135 GB, free: 300 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.2494, allocations: 11.98 kB / 0.8135 GB, free: 288 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.2494, allocations: 7.984 kB / 0.8135 GB, free: 280 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006473/0.2501, allocations: 0.657 MB / 0.8141 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.343e-06/0.2501, allocations: 0 / 0.8141 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000915/0.251, allocations: 403.8 kB / 0.8145 GB, free: 15.21 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 (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.001024/0.2521, allocations: 478.8 kB / 0.815 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002025/0.2541, allocations: 2.495 MB / 0.8174 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2541, allocations: 0 / 0.8174 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003212/0.2544, allocations: 347.8 kB / 0.8177 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.2546, allocations: 32.45 kB / 0.8178 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.2565, allocations: 1.828 MB / 0.8196 GB, free: 10 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.257, allocations: 0.9796 MB / 0.8205 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000151/0.2571, allocations: 36.55 kB / 0.8205 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.662e-05/0.2572, allocations: 27.42 kB / 0.8206 GB, free: 8.934 MB / 0.6387 GB Notification: Performance of SimCode: time 3.1e-07/0.2572, allocations: 0 / 0.8206 GB, free: 8.934 MB / 0.6387 GB Notification: Performance of Templates: time 0.01408/0.2713, allocations: 8.965 MB / 0.8293 GB, free: 8 kB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) Environment - environmentSimulation: