Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009009/0.0009009, allocations: 89.06 kB / 16.67 MB, free: 6.594 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.0008866/0.0008866, allocations: 182.3 kB / 17.58 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 223.3 MB / 241.6 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7305/0.7305, allocations: 115.5 MB / 408.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.0003791, allocations: 11.98 kB / 496.6 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4551/0.4555, allocations: 77.51 MB / 0.5606 GB, free: 36.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001613/0.4572, allocations: 1.137 MB / 0.5617 GB, free: 35.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006731/0.464, allocations: 4.39 MB / 0.566 GB, free: 32.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.699e-05/0.4641, allocations: 6.5 kB / 0.566 GB, free: 32.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.4642, allocations: 11.27 kB / 0.566 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002502/0.4645, allocations: 21.84 kB / 0.5661 GB, free: 32.84 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.004216/0.4687, allocations: 1.18 MB / 0.5672 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00019/0.4689, allocations: 126.4 kB / 0.5673 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.862e-05/0.469, allocations: 3.797 kB / 0.5673 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.333e-05/0.4691, allocations: 47.72 kB / 0.5674 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000265/0.4693, allocations: 159.4 kB / 0.5675 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.768e-05/0.4694, allocations: 13.91 kB / 0.5675 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004406/0.4738, allocations: 2.184 MB / 0.5697 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002932/0.4741, allocations: 269.1 kB / 0.5699 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002518/0.4744, allocations: 303.9 kB / 0.5702 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003389/0.4778, allocations: 1.499 MB / 0.5717 GB, free: 31.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4778, allocations: 1.188 kB / 0.5717 GB, free: 31.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4778, allocations: 0 / 0.5717 GB, free: 31.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.4778, allocations: 1.469 kB / 0.5717 GB, free: 31.04 MB / 446.1 MB 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.01119/0.489, allocations: 1.242 MB / 0.5729 GB, free: 30.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.534e-05/0.4891, allocations: 14.16 kB / 0.5729 GB, free: 30.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004898/0.4896, allocations: 88.53 kB / 0.573 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005076/0.4901, allocations: 372.6 kB / 0.5734 GB, free: 29.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.4901, allocations: 3.203 kB / 0.5734 GB, free: 29.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.381e-05/0.4902, allocations: 9.859 kB / 0.5734 GB, free: 29.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000684/0.4909, allocations: 391.8 kB / 0.5737 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.4909, allocations: 0 / 0.5737 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.4909, allocations: 1.984 kB / 0.5737 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.491, allocations: 1.906 kB / 0.5737 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006538/0.4916, allocations: 437.7 kB / 0.5742 GB, free: 29.69 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009422/0.4926, allocations: 0.6355 MB / 0.5748 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009328/0.4935, allocations: 0.5621 MB / 0.5753 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000534/0.4941, allocations: 339 kB / 0.5757 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001205/0.4953, allocations: 1.041 MB / 0.5767 GB, free: 28.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006379/0.4959, allocations: 406.2 kB / 0.5771 GB, free: 28.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.4959, allocations: 1.281 kB / 0.5771 GB, free: 28.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.002184/0.4981, allocations: 1.291 MB / 0.5783 GB, free: 27.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.4982, allocations: 80.92 kB / 0.5784 GB, free: 27.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00186/0.5001, allocations: 1.222 MB / 0.5796 GB, free: 27.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.105e-05/0.5001, allocations: 33.53 kB / 0.5796 GB, free: 27.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.5003, allocations: 259.2 kB / 0.5799 GB, free: 27.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.5004, allocations: 27.84 kB / 0.5799 GB, free: 27.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000327/0.5007, allocations: 289.3 kB / 0.5802 GB, free: 26.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.433e-05/0.5008, allocations: 313.6 kB / 0.5805 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/0.5024, allocations: 1.367 MB / 0.5818 GB, free: 26.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/0.5041, allocations: 1.509 MB / 0.5833 GB, free: 25.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007529/0.5117, allocations: 3.558 MB / 0.5868 GB, free: 23.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.5117, allocations: 1.031 kB / 0.5868 GB, free: 23.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003905/0.5156, allocations: 4.003 MB / 0.5907 GB, free: 20.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.5157, allocations: 8 kB / 0.5907 GB, free: 20.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/0.5157, allocations: 0 / 0.5907 GB, free: 20.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.5157, allocations: 4.5 kB / 0.5907 GB, free: 20.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.5158, allocations: 16.52 kB / 0.5907 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.5159, allocations: 2.656 kB / 0.5907 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006138/0.5165, allocations: 240.2 kB / 0.5909 GB, free: 19.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-05/0.5165, allocations: 19.98 kB / 0.5909 GB, free: 19.86 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (cluSiz[1],labels[1],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 (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0003071/0.5168, allocations: 245.6 kB / 0.5912 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.5169, allocations: 67.31 kB / 0.5912 GB, free: 19.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002587/0.5172, allocations: 72.33 kB / 0.5913 GB, free: 19.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.5172, allocations: 1.312 kB / 0.5913 GB, free: 19.47 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.5172, allocations: 7.984 kB / 0.5913 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.5172, allocations: 0 / 0.5913 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004167/0.5176, allocations: 497.4 kB / 0.5918 GB, free: 18.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.5176, allocations: 0 / 0.5918 GB, free: 18.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-05/0.5177, allocations: 16.84 kB / 0.5918 GB, free: 18.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.5177, allocations: 0 / 0.5918 GB, free: 18.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.5177, allocations: 13.14 kB / 0.5918 GB, free: 18.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.5177, allocations: 7.938 kB / 0.5918 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5177, allocations: 0 / 0.5918 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006285/0.5184, allocations: 0.996 MB / 0.5928 GB, free: 17.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.907e-05/0.5185, allocations: 157.2 kB / 0.593 GB, free: 17.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.54e-05/0.5185, allocations: 0 / 0.593 GB, free: 17.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.5186, allocations: 4 kB / 0.593 GB, free: 17.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.5187, allocations: 13.86 kB / 0.593 GB, free: 17.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/0.5187, allocations: 15.92 kB / 0.593 GB, free: 17.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005589/0.5193, allocations: 0.6728 MB / 0.5936 GB, free: 17 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5193, allocations: 1.344 kB / 0.5936 GB, free: 17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002469/0.5218, allocations: 0.5818 MB / 0.5942 GB, free: 16.41 MB / 446.1 MB 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.002004/0.5238, allocations: 0.691 MB / 0.5949 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00178/0.5256, allocations: 2.546 MB / 0.5974 GB, free: 13.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5256, allocations: 0.625 kB / 0.5974 GB, free: 13.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.5258, allocations: 344.5 kB / 0.5977 GB, free: 12.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.5262, allocations: 38.02 kB / 0.5977 GB, free: 12.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.5281, allocations: 1.981 MB / 0.5997 GB, free: 10.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.5284, allocations: 0.9643 MB / 0.6006 GB, free: 9.828 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.5285, allocations: 31.41 kB / 0.6006 GB, free: 9.797 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5285, allocations: 0 / 0.6006 GB, free: 9.797 MB / 446.1 MB Notification: Performance of Templates: time 0.0192/0.5477, allocations: 13.79 MB / 0.6141 GB, free: 12.01 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)