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.0008508/0.000851, 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.005324/0.005325, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.408/1.408, allocations: 205.4 MB / 222.4 MB, free: 5.551 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.736/1.736, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005521/0.0005523, allocations: 17.59 kB / 0.6743 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2247, allocations: 116.3 MB / 0.7879 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001702/0.2264, allocations: 1.137 MB / 0.789 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004851/0.2313, allocations: 3.202 MB / 0.7922 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.575e-05/0.2314, allocations: 4 kB / 0.7922 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.2315, allocations: 3.938 kB / 0.7922 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000243/0.2318, allocations: 31.83 kB / 0.7922 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002317/0.2341, allocations: 0.7635 MB / 0.7929 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.2342, allocations: 111.7 kB / 0.7931 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.2343, allocations: 8 kB / 0.7931 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.528e-05/0.2344, allocations: 39.78 kB / 0.7931 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.2346, allocations: 153 kB / 0.7932 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.847e-05/0.2347, allocations: 12 kB / 0.7933 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002092/0.2368, allocations: 1.396 MB / 0.7946 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000215/0.237, allocations: 271.8 kB / 0.7949 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000242/0.2373, allocations: 296 kB / 0.7952 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002077/0.2393, allocations: 1.481 MB / 0.7966 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2394, allocations: 0 / 0.7966 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2394, allocations: 3.938 kB / 0.7966 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.2394, allocations: 0 / 0.7966 GB, free: 2.605 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.01091/0.2503, allocations: 1.152 MB / 0.7977 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.2504, allocations: 11.97 kB / 0.7977 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003851/0.2507, allocations: 87.69 kB / 0.7978 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004143/0.2512, allocations: 360.8 kB / 0.7982 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.2512, allocations: 8.375 kB / 0.7982 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.329e-05/0.2513, allocations: 4.375 kB / 0.7982 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000432/0.2517, allocations: 391.5 kB / 0.7986 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.2517, allocations: 4 kB / 0.7986 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.2517, allocations: 0 / 0.7986 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2517, allocations: 4 kB / 0.7986 GB, free: 500 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004406/0.2522, allocations: 435.7 kB / 0.799 GB, free: 64 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006805/0.2529, allocations: 0.6325 MB / 0.7996 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004889/0.2534, allocations: 0.5633 MB / 0.8001 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/0.2537, allocations: 337.7 kB / 0.8005 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/0.2547, allocations: 1.048 MB / 0.8015 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000383/0.2551, allocations: 400.8 kB / 0.8019 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.964e-06/0.2551, allocations: 0 / 0.8019 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001237/0.2564, allocations: 1.293 MB / 0.8031 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.2564, allocations: 89.05 kB / 0.8032 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.2577, allocations: 1.194 MB / 0.8044 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.812e-05/0.2577, allocations: 33.7 kB / 0.8044 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.2579, allocations: 261.4 kB / 0.8047 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.066e-05/0.258, allocations: 23.7 kB / 0.8047 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002678/0.2583, allocations: 287.6 kB / 0.805 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.2584, allocations: 314 kB / 0.8053 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.2596, allocations: 1.361 MB / 0.8066 GB, free: 7.875 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/0.261, allocations: 1.493 MB / 0.8081 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006884/0.2678, allocations: 3.534 MB / 0.8115 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.2679, allocations: 4 kB / 0.8115 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004145/0.272, allocations: 3.965 MB / 0.8154 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.2721, allocations: 7.938 kB / 0.8154 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.2721, allocations: 7.984 kB / 0.8154 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.2721, allocations: 3.938 kB / 0.8154 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.2722, allocations: 19.94 kB / 0.8154 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.2723, allocations: 0 / 0.8154 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004859/0.2727, allocations: 236.3 kB / 0.8156 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.951e-05/0.2728, allocations: 23.98 kB / 0.8157 GB, free: 14.45 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.0002748/0.2731, allocations: 233.7 kB / 0.8159 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.435e-05/0.2732, allocations: 66.72 kB / 0.816 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/0.2734, allocations: 78.83 kB / 0.816 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.2735, allocations: 32 / 0.816 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2735, allocations: 4 kB / 0.816 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.2735, allocations: 4 kB / 0.816 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004245/0.2739, allocations: 492.8 kB / 0.8165 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.2739, allocations: 4 kB / 0.8165 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.798e-05/0.274, allocations: 7.938 kB / 0.8165 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.274, allocations: 7.984 kB / 0.8165 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.274, allocations: 4 kB / 0.8165 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.274, allocations: 0 / 0.8165 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2741, allocations: 4 kB / 0.8165 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008706/0.2749, allocations: 1.001 MB / 0.8175 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.2751, allocations: 155.8 kB / 0.8177 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.175e-05/0.2751, allocations: 4 kB / 0.8177 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.2753, allocations: 7.984 kB / 0.8177 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.2753, allocations: 12 kB / 0.8177 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-05/0.2754, allocations: 7.984 kB / 0.8177 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006911/0.2761, allocations: 0.6687 MB / 0.8183 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2761, allocations: 0 / 0.8183 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001034/0.2771, allocations: 391.9 kB / 0.8187 GB, free: 11.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 (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.00143/0.2785, allocations: 494.7 kB / 0.8192 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002134/0.2807, allocations: 2.492 MB / 0.8216 GB, free: 8.211 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.2807, allocations: 4 kB / 0.8216 GB, free: 8.207 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003049/0.281, allocations: 335.8 kB / 0.8219 GB, free: 7.879 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.2814, allocations: 45.09 kB / 0.822 GB, free: 7.836 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.2834, allocations: 1.918 MB / 0.8239 GB, free: 5.883 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/0.2839, allocations: 0.9679 MB / 0.8248 GB, free: 4.887 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001701/0.2841, allocations: 40.47 kB / 0.8248 GB, free: 4.848 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.55e-05/0.2842, allocations: 27.42 kB / 0.8249 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of SimCode: time 2.2e-07/0.2842, allocations: 0 / 0.8249 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of Templates: time 0.01634/0.3005, allocations: 9.167 MB / 0.8338 GB, free: 11.69 MB / 0.6544 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: