Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.35/1.35, allocations: 251.5 MB / 267.4 MB, free: 10.88 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001441/0.001441, allocations: 175.3 kB / 326.5 MB, free: 2.633 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.843/1.843, allocations: 205 MB / 0.5766 GB, free: 20.56 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009055/0.0009057, allocations: 88.08 kB / 0.6804 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003687, allocations: 9.312 kB / 0.7938 GB, free: 136 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2372, allocations: 105.4 MB / 0.8968 GB, free: 67.62 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001645/0.2389, allocations: 1.142 MB / 0.8979 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004695/0.2436, allocations: 3.279 MB / 0.9011 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.535e-05/0.2437, allocations: 0 / 0.9011 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.2439, allocations: 7.938 kB / 0.9011 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002708/0.2441, allocations: 27.83 kB / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002569/0.2467, allocations: 0.7745 MB / 0.9019 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.2469, allocations: 107.7 kB / 0.902 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.474e-05/0.2469, allocations: 7.984 kB / 0.902 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.202e-05/0.247, allocations: 31.86 kB / 0.902 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.2473, allocations: 153 kB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.331e-05/0.2473, allocations: 12 kB / 0.9022 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00204/0.2494, allocations: 1.4 MB / 0.9036 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001865/0.2496, allocations: 263.9 kB / 0.9038 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002444/0.2498, allocations: 274.3 kB / 0.9041 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001639/0.2515, allocations: 0.99 MB / 0.905 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2515, allocations: 0 / 0.905 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.685e-06/0.2515, allocations: 4 kB / 0.905 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.559e-05/0.2515, allocations: 4 kB / 0.905 GB, free: 59.13 MB / 0.6042 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.008803/0.2603, allocations: 1.148 MB / 0.9062 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.2604, allocations: 15.97 kB / 0.9062 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004025/0.2608, allocations: 87.67 kB / 0.9063 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.2613, allocations: 356.9 kB / 0.9066 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.2613, allocations: 8.375 kB / 0.9066 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/0.2614, allocations: 8.359 kB / 0.9066 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.2617, allocations: 395.5 kB / 0.907 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.2617, allocations: 3.984 kB / 0.907 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.2617, allocations: 0 / 0.907 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.2618, allocations: 0 / 0.907 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003099/0.2621, allocations: 439.7 kB / 0.9074 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000499/0.2626, allocations: 0.6286 MB / 0.908 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/0.263, allocations: 0.5632 MB / 0.9086 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.2632, allocations: 337.7 kB / 0.9089 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008256/0.2641, allocations: 1.036 MB / 0.9099 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002992/0.2644, allocations: 416.8 kB / 0.9103 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 2.375e-06/0.2644, allocations: 0 / 0.9103 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.000958/0.2654, allocations: 1.289 MB / 0.9116 GB, free: 52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.2654, allocations: 77.11 kB / 0.9117 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008094/0.2662, allocations: 1.21 MB / 0.9128 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.2663, allocations: 29.83 kB / 0.9129 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.2664, allocations: 261.3 kB / 0.9131 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.2664, allocations: 23.73 kB / 0.9131 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.2666, allocations: 287.6 kB / 0.9134 GB, free: 50.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.482e-05/0.2667, allocations: 317.9 kB / 0.9137 GB, free: 49.76 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008655/0.2676, allocations: 1.357 MB / 0.915 GB, free: 48.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009362/0.2685, allocations: 1.497 MB / 0.9165 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006003/0.2745, allocations: 3.538 MB / 0.92 GB, free: 43.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.2746, allocations: 0 / 0.92 GB, free: 43.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003362/0.2779, allocations: 3.97 MB / 0.9238 GB, free: 39.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.278, allocations: 4 kB / 0.9238 GB, free: 39.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.278, allocations: 4.031 kB / 0.9238 GB, free: 39.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.278, allocations: 4 kB / 0.9238 GB, free: 39.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.2782, allocations: 15.98 kB / 0.9239 GB, free: 39.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.2782, allocations: 8 kB / 0.9239 GB, free: 39.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004182/0.2786, allocations: 228.3 kB / 0.9241 GB, free: 39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.916e-05/0.2787, allocations: 23.98 kB / 0.9241 GB, free: 38.98 MB / 0.6042 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.0002597/0.2789, allocations: 237.7 kB / 0.9243 GB, free: 38.73 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.046e-05/0.279, allocations: 74.7 kB / 0.9244 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003111/0.2793, allocations: 74.84 kB / 0.9245 GB, free: 38.58 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.2793, allocations: 0 / 0.9245 GB, free: 38.58 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.2793, allocations: 0 / 0.9245 GB, free: 38.58 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2793, allocations: 0 / 0.9245 GB, free: 38.58 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003199/0.2797, allocations: 0.4927 MB / 0.925 GB, free: 38.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2797, allocations: 4 kB / 0.925 GB, free: 38.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.655e-05/0.2798, allocations: 15.95 kB / 0.925 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.2798, allocations: 0 / 0.925 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.2798, allocations: 4 kB / 0.925 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2798, allocations: 0 / 0.925 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2798, allocations: 3.984 kB / 0.925 GB, free: 38.01 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006331/0.2804, allocations: 0.9974 MB / 0.926 GB, free: 36.99 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.792e-05/0.2805, allocations: 151.8 kB / 0.9261 GB, free: 36.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.344e-05/0.2806, allocations: 7.938 kB / 0.9261 GB, free: 36.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.2807, allocations: 7.984 kB / 0.9261 GB, free: 36.81 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.2808, allocations: 7.984 kB / 0.9261 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/0.2808, allocations: 11.98 kB / 0.9261 GB, free: 36.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005505/0.2814, allocations: 0.6648 MB / 0.9268 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2814, allocations: 0 / 0.9268 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000993/0.2824, allocations: 395.9 kB / 0.9272 GB, free: 35.73 MB / 0.6042 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.001413/0.2838, allocations: 482.8 kB / 0.9276 GB, free: 35.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001587/0.2854, allocations: 2.499 MB / 0.9301 GB, free: 32.74 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2854, allocations: 0 / 0.9301 GB, free: 32.74 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.2857, allocations: 343.7 kB / 0.9304 GB, free: 32.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.286, allocations: 36.38 kB / 0.9304 GB, free: 32.37 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.2879, allocations: 1.958 MB / 0.9323 GB, free: 30.37 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.2882, allocations: 0.9601 MB / 0.9333 GB, free: 29.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.626e-05/0.2883, allocations: 27.41 kB / 0.9333 GB, free: 29.36 MB / 0.6042 GB Notification: Performance of SimCode: time 1.052e-06/0.2883, allocations: 0 / 0.9333 GB, free: 29.36 MB / 0.6042 GB Notification: Performance of Templates: time 0.0153/0.3036, allocations: 10.49 MB / 0.9435 GB, free: 18.87 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)