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.000884/0.0008841, allocations: 100 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.001008/0.001008, 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.33/1.33, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.543/1.543, allocations: 292.5 MB / 0.5497 GB, free: 14.65 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.0004473/0.0004473, allocations: 11.94 kB / 0.6736 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.2, 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_100boreholes): time 0.001297/0.2013, allocations: 1.103 MB / 0.7882 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003676/0.205, allocations: 2.836 MB / 0.791 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.674e-05/0.205, allocations: 3.938 kB / 0.791 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.2052, allocations: 0 / 0.791 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.2053, allocations: 27.89 kB / 0.791 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001514/0.2068, allocations: 0.7274 MB / 0.7917 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.745e-05/0.2069, allocations: 51.86 kB / 0.7918 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.808e-05/0.207, allocations: 4 kB / 0.7918 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.293e-05/0.207, allocations: 31.91 kB / 0.7918 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.2072, allocations: 151.7 kB / 0.792 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.2073, allocations: 12 kB / 0.792 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.2088, allocations: 1.256 MB / 0.7932 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005241/0.2094, allocations: 0.6041 MB / 0.7938 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.2095, allocations: 184.9 kB / 0.794 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.2107, allocations: 1.177 MB / 0.7951 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.2107, allocations: 0 / 0.7951 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.825e-06/0.2107, allocations: 0 / 0.7951 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.2107, allocations: 3.938 kB / 0.7951 GB, free: 3.738 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.009449/0.2202, allocations: 1.609 MB / 0.7967 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.2202, allocations: 12.03 kB / 0.7967 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00034/0.2205, allocations: 142 kB / 0.7968 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005345/0.2211, allocations: 0.4894 MB / 0.7973 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.2211, allocations: 4 kB / 0.7973 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/0.2212, allocations: 7.984 kB / 0.7973 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.2216, allocations: 387.1 kB / 0.7977 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.2216, allocations: 0 / 0.7977 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.2216, allocations: 8 kB / 0.7977 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2216, allocations: 4 kB / 0.7977 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003978/0.222, allocations: 431.7 kB / 0.7981 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007076/0.2227, allocations: 0.7996 MB / 0.7989 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004991/0.2232, allocations: 0.575 MB / 0.7995 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009254/0.2242, allocations: 1.044 MB / 0.8005 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003622/0.2245, allocations: 404.8 kB / 0.8009 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.2246, allocations: 0 / 0.8009 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001217/0.2258, allocations: 1.339 MB / 0.8022 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.2258, allocations: 81.05 kB / 0.8023 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001644/0.2275, allocations: 1.847 MB / 0.8041 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.2275, allocations: 29.7 kB / 0.8041 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003216/0.2279, allocations: 473.3 kB / 0.8045 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.2279, allocations: 31.62 kB / 0.8046 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-05/0.2279, allocations: 0 / 0.8046 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.2281, allocations: 411 kB / 0.805 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.2293, allocations: 1.514 MB / 0.8064 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.2306, allocations: 1.646 MB / 0.8081 GB, free: 5.934 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/0.2321, allocations: 2.047 MB / 0.81 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2321, allocations: 0 / 0.81 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003902/0.236, allocations: 4.296 MB / 0.8142 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.2361, allocations: 7.984 kB / 0.8143 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.2361, allocations: 4.031 kB / 0.8143 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.2361, allocations: 4 kB / 0.8143 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.2362, allocations: 12 kB / 0.8143 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.2362, allocations: 3.984 kB / 0.8143 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004915/0.2367, allocations: 228.3 kB / 0.8145 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.194e-05/0.2368, allocations: 23.98 kB / 0.8145 GB, free: 15.26 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 ($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.0003859/0.2372, allocations: 369.5 kB / 0.8149 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.109e-05/0.2373, allocations: 126 kB / 0.815 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002999/0.2376, allocations: 141.1 kB / 0.8151 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.2376, allocations: 4 kB / 0.8151 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2376, allocations: 0 / 0.8151 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2376, allocations: 3.984 kB / 0.8151 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005438/0.2381, allocations: 0.6871 MB / 0.8158 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2382, allocations: 3.938 kB / 0.8158 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.381e-05/0.2382, allocations: 4.031 kB / 0.8158 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.2382, allocations: 8 kB / 0.8158 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.2383, allocations: 7.984 kB / 0.8158 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2383, allocations: 0 / 0.8158 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2383, allocations: 0 / 0.8158 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008905/0.2392, allocations: 1.069 MB / 0.8169 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.2393, allocations: 195.1 kB / 0.8171 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.535e-05/0.2394, allocations: 3.984 kB / 0.8171 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.2396, allocations: 8 kB / 0.8171 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.2397, allocations: 11.92 kB / 0.8171 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-05/0.2397, allocations: 11.98 kB / 0.8171 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001078/0.2408, allocations: 1.097 MB / 0.8182 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2408, allocations: 0 / 0.8182 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009304/0.2417, allocations: 431.9 kB / 0.8186 GB, free: 10.94 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.001004/0.2427, allocations: 482.7 kB / 0.819 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002161/0.2449, allocations: 2.648 MB / 0.8216 GB, free: 7.805 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2449, allocations: 0 / 0.8216 GB, free: 7.805 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002928/0.2452, allocations: 339.8 kB / 0.8219 GB, free: 7.473 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.2454, allocations: 54.44 kB / 0.822 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00273/0.2482, allocations: 2.714 MB / 0.8246 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005949/0.2488, allocations: 1.18 MB / 0.8258 GB, free: 3.461 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001507/0.2489, allocations: 32.55 kB / 0.8258 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.488e-05/0.249, allocations: 27.42 kB / 0.8259 GB, free: 3.402 MB / 0.6387 GB Notification: Performance of SimCode: time 3.8e-07/0.249, allocations: 0 / 0.8259 GB, free: 3.402 MB / 0.6387 GB Notification: Performance of Templates: time 0.0156/0.2647, allocations: 9.546 MB / 0.8352 GB, free: 9.891 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: