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_100boreholes.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_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007319/0.0007319, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004544/0.004544, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.319/1.319, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.654/1.654, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0005085/0.0005085, allocations: 14.69 kB / 0.6743 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2074, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.00147/0.2089, allocations: 1.138 MB / 0.789 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004521/0.2134, allocations: 3.202 MB / 0.7921 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.712e-05/0.2135, allocations: 0 / 0.7921 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.2136, allocations: 7.922 kB / 0.7922 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002268/0.2139, allocations: 31.78 kB / 0.7922 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002195/0.2161, allocations: 0.7717 MB / 0.7929 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.2162, allocations: 107.7 kB / 0.793 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.767e-05/0.2163, allocations: 3.984 kB / 0.793 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.764e-05/0.2164, allocations: 39.84 kB / 0.7931 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/0.2167, allocations: 228.9 kB / 0.7933 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.028e-05/0.2167, allocations: 16 kB / 0.7933 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002102/0.2188, allocations: 1.396 MB / 0.7947 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006242/0.2195, allocations: 0.6835 MB / 0.7953 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004733/0.2199, allocations: 466.7 kB / 0.7958 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002411/0.2224, allocations: 1.772 MB / 0.7975 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2224, allocations: 0 / 0.7975 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2224, allocations: 0 / 0.7975 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.349e-05/0.2224, allocations: 4 kB / 0.7975 GB, free: 1.668 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.01109/0.2335, allocations: 1.597 MB / 0.7991 GB, free: 12 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.2336, allocations: 8.031 kB / 0.7991 GB, free: 4 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000469/0.234, allocations: 139 kB / 0.7992 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006399/0.2347, allocations: 0.5211 MB / 0.7997 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.2347, allocations: 8.359 kB / 0.7997 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.515e-05/0.2348, allocations: 12.36 kB / 0.7998 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004408/0.2352, allocations: 403.4 kB / 0.8001 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.2353, allocations: 0 / 0.8001 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.2353, allocations: 0 / 0.8001 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.2353, allocations: 0 / 0.8001 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004358/0.2357, allocations: 435.7 kB / 0.8006 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008196/0.2366, allocations: 0.8074 MB / 0.8013 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004864/0.2371, allocations: 0.5594 MB / 0.8019 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002964/0.2374, allocations: 337.7 kB / 0.8022 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001/0.2384, allocations: 1.04 MB / 0.8032 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004111/0.2388, allocations: 408.8 kB / 0.8036 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.2388, allocations: 0 / 0.8036 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001347/0.2402, allocations: 1.347 MB / 0.8049 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.2402, allocations: 89.09 kB / 0.805 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00192/0.2422, allocations: 1.839 MB / 0.8068 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.29e-05/0.2422, allocations: 33.7 kB / 0.8068 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003519/0.2426, allocations: 469.3 kB / 0.8073 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.2426, allocations: 23.86 kB / 0.8073 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/0.2429, allocations: 295.6 kB / 0.8076 GB, free: 6.793 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.243, allocations: 305.1 kB / 0.8079 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.2443, allocations: 1.506 MB / 0.8094 GB, free: 4.984 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/0.2457, allocations: 1.646 MB / 0.811 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007154/0.2528, allocations: 3.694 MB / 0.8146 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2528, allocations: 3.938 kB / 0.8146 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004822/0.2577, allocations: 4.32 MB / 0.8188 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.2577, allocations: 10.64 kB / 0.8188 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/0.2577, allocations: 4 kB / 0.8188 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.2578, allocations: 3.938 kB / 0.8188 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.2579, allocations: 16.03 kB / 0.8188 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.2579, allocations: 3.984 kB / 0.8188 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000608/0.2585, allocations: 228.3 kB / 0.8191 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.108e-05/0.2586, allocations: 27.97 kB / 0.8191 GB, free: 10.89 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.0004623/0.2591, allocations: 361.6 kB / 0.8194 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.2592, allocations: 122 kB / 0.8195 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003853/0.2596, allocations: 157 kB / 0.8197 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2596, allocations: 0 / 0.8197 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2596, allocations: 0 / 0.8197 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2596, allocations: 0 / 0.8197 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007282/0.2604, allocations: 0.6794 MB / 0.8204 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.2604, allocations: 0 / 0.8204 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.032e-05/0.2605, allocations: 11.94 kB / 0.8204 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2605, allocations: 0 / 0.8204 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.2605, allocations: 7.984 kB / 0.8204 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2605, allocations: 4.031 kB / 0.8204 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2605, allocations: 0 / 0.8204 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009958/0.2615, allocations: 1.055 MB / 0.8214 GB, free: 8.406 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/0.2617, allocations: 199.1 kB / 0.8216 GB, free: 8.191 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.2618, allocations: 7.984 kB / 0.8216 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.262, allocations: 4 kB / 0.8216 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.2621, allocations: 7.984 kB / 0.8216 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-05/0.2621, allocations: 11.98 kB / 0.8216 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001281/0.2634, allocations: 1.108 MB / 0.8227 GB, free: 7.027 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2634, allocations: 4 kB / 0.8227 GB, free: 7.023 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001177/0.2646, allocations: 427.9 kB / 0.8231 GB, free: 6.605 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.001536/0.2662, allocations: 486.7 kB / 0.8236 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002411/0.2686, allocations: 2.648 MB / 0.8262 GB, free: 3.461 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2686, allocations: 0 / 0.8262 GB, free: 3.461 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003342/0.2689, allocations: 343.8 kB / 0.8265 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/0.2694, allocations: 50.48 kB / 0.8265 GB, free: 3.07 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003425/0.2728, allocations: 2.866 MB / 0.8293 GB, free: 172 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007008/0.2735, allocations: 1.153 MB / 0.8305 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001686/0.2737, allocations: 44.42 kB / 0.8305 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.812e-05/0.2738, allocations: 23.42 kB / 0.8305 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.2738, allocations: 0 / 0.8305 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of Templates: time 0.0183/0.2921, allocations: 9.753 MB / 0.8401 GB, free: 5.203 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1) Environment - environmentSimulation: