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.0007901/0.00079, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0007589/0.0007589, allocations: 168.7 kB / 15.95 MB, free: 204 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.277/1.277, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.631/1.631, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0005324/0.0005325, allocations: 23.44 kB / 0.6738 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2304, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001473/0.2319, allocations: 1.122 MB / 0.7884 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004093/0.2361, allocations: 2.864 MB / 0.7912 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.279e-05/0.2361, allocations: 0 / 0.7912 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.2363, allocations: 7.938 kB / 0.7912 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.2365, allocations: 27.83 kB / 0.7913 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00211/0.2386, allocations: 0.7526 MB / 0.792 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.2387, allocations: 99.66 kB / 0.7921 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.557e-05/0.2388, allocations: 0 / 0.7921 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.958e-05/0.2389, allocations: 35.91 kB / 0.7921 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.2391, allocations: 171.7 kB / 0.7923 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.91e-05/0.2392, allocations: 20 kB / 0.7923 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002004/0.2412, allocations: 1.299 MB / 0.7936 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.2414, allocations: 263.2 kB / 0.7938 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.2415, allocations: 105.3 kB / 0.7939 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.2428, allocations: 0.9824 MB / 0.7949 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2428, allocations: 4 kB / 0.7949 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2428, allocations: 0 / 0.7949 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.2428, allocations: 0 / 0.7949 GB, free: 4.145 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.006817/0.2497, allocations: 1.156 MB / 0.796 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.2497, allocations: 12.03 kB / 0.796 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003418/0.25, allocations: 86.73 kB / 0.7961 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.2504, allocations: 371.5 kB / 0.7965 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.2505, allocations: 4 kB / 0.7965 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.586e-05/0.2505, allocations: 8 kB / 0.7965 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004067/0.2509, allocations: 387.1 kB / 0.7968 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.2509, allocations: 0 / 0.7968 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.251, allocations: 3.984 kB / 0.7968 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.251, allocations: 7.938 kB / 0.7969 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004063/0.2514, allocations: 435.8 kB / 0.7973 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005679/0.252, allocations: 0.6247 MB / 0.7979 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004783/0.2525, allocations: 0.5672 MB / 0.7984 GB, free: 332 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/0.2528, allocations: 341.8 kB / 0.7988 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009264/0.2537, allocations: 1.032 MB / 0.7998 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003922/0.2541, allocations: 408.9 kB / 0.8002 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.2541, allocations: 3.938 kB / 0.8002 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001219/0.2553, allocations: 1.281 MB / 0.8014 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.2554, allocations: 85.05 kB / 0.8015 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.2566, allocations: 1.202 MB / 0.8027 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.2566, allocations: 29.7 kB / 0.8027 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.2568, allocations: 257.4 kB / 0.8029 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.2568, allocations: 19.78 kB / 0.803 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.2569, allocations: 4 kB / 0.803 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.257, allocations: 419.8 kB / 0.8034 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.2582, allocations: 1.365 MB / 0.8047 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/0.2594, allocations: 1.497 MB / 0.8062 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.2608, allocations: 1.895 MB / 0.808 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2608, allocations: 0 / 0.808 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003719/0.2645, allocations: 3.94 MB / 0.8119 GB, free: 2.207 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.2646, allocations: 8 kB / 0.8119 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.2646, allocations: 4.031 kB / 0.8119 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.2646, allocations: 4 kB / 0.8119 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.2647, allocations: 15.98 kB / 0.8119 GB, free: 2.176 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.2648, allocations: 4.062 kB / 0.8119 GB, free: 2.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003948/0.2652, allocations: 228.3 kB / 0.8121 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.716e-05/0.2652, allocations: 23.98 kB / 0.8121 GB, free: 1.922 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.0002606/0.2655, allocations: 241.6 kB / 0.8124 GB, free: 1.676 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.638e-05/0.2655, allocations: 66.78 kB / 0.8124 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002507/0.2658, allocations: 78.83 kB / 0.8125 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.2658, allocations: 4 kB / 0.8125 GB, free: 1.516 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.2658, allocations: 0 / 0.8125 GB, free: 1.516 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2658, allocations: 3.984 kB / 0.8125 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.2662, allocations: 0.4928 MB / 0.813 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2662, allocations: 0 / 0.813 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.838e-05/0.2663, allocations: 15.92 kB / 0.813 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.2663, allocations: 4.031 kB / 0.813 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.2663, allocations: 0 / 0.813 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2664, allocations: 4 kB / 0.813 GB, free: 0.9492 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2664, allocations: 0 / 0.813 GB, free: 0.9492 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008246/0.2672, allocations: 0.9935 MB / 0.814 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.2673, allocations: 159.8 kB / 0.8141 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.05e-05/0.2674, allocations: 0 / 0.8141 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.2675, allocations: 7.984 kB / 0.8141 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.436e-05/0.2676, allocations: 4 kB / 0.8141 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/0.2676, allocations: 23.91 kB / 0.8142 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006578/0.2683, allocations: 0.6492 MB / 0.8148 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2683, allocations: 0 / 0.8148 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009209/0.2692, allocations: 399.8 kB / 0.8152 GB, free: 14.68 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.001259/0.2705, allocations: 486.8 kB / 0.8157 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002035/0.2725, allocations: 2.492 MB / 0.8181 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2725, allocations: 4.062 kB / 0.8181 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002947/0.2728, allocations: 331.8 kB / 0.8184 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.2731, allocations: 44.42 kB / 0.8184 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.2751, allocations: 1.836 MB / 0.8202 GB, free: 9.449 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004877/0.2756, allocations: 0.964 MB / 0.8212 GB, free: 8.461 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001804/0.2758, allocations: 36.55 kB / 0.8212 GB, free: 8.426 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.199e-05/0.2759, allocations: 27.41 kB / 0.8212 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of SimCode: time 3.81e-07/0.2759, allocations: 4 kB / 0.8212 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of Templates: time 0.01494/0.2908, allocations: 8.955 MB / 0.83 GB, free: 15.46 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: