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.001332/0.001332, allocations: 114.1 kB / 17.04 MB, free: 5.809 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.001359/0.001359, allocations: 196 kB / 17.98 MB, free: 5.031 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.333/1.333, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7109/0.7109, allocations: 115.1 MB / 406.9 MB, free: 6.398 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 59.91 kB / 494.9 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3126, allocations: 76.15 MB / 0.5576 GB, free: 36.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002296/0.3149, allocations: 1.417 MB / 0.559 GB, free: 35.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005331/0.3203, allocations: 4.19 MB / 0.5631 GB, free: 33.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.895e-05/0.3204, allocations: 5.156 kB / 0.5631 GB, free: 33.19 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.3205, allocations: 12.5 kB / 0.5631 GB, free: 33.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002178/0.3207, allocations: 32.11 kB / 0.5631 GB, free: 33.16 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.004002/0.3247, allocations: 1.503 MB / 0.5646 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.3249, allocations: 88.84 kB / 0.5647 GB, free: 32.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.394e-05/0.325, allocations: 8.031 kB / 0.5647 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.819e-05/0.3251, allocations: 46.19 kB / 0.5647 GB, free: 32.56 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.3253, allocations: 148.6 kB / 0.5649 GB, free: 32.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.944e-05/0.3254, allocations: 19.19 kB / 0.5649 GB, free: 32.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003751/0.3291, allocations: 2.2 MB / 0.5671 GB, free: 31.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002275/0.3294, allocations: 268.8 kB / 0.5673 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.3296, allocations: 279.9 kB / 0.5676 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003601/0.3332, allocations: 2.112 MB / 0.5696 GB, free: 31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3332, allocations: 0 / 0.5696 GB, free: 31 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3332, allocations: 0 / 0.5696 GB, free: 31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.3333, allocations: 0 / 0.5696 GB, free: 31 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.008671/0.3419, allocations: 1.302 MB / 0.5709 GB, free: 30.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.342, allocations: 9.719 kB / 0.5709 GB, free: 30.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003956/0.3424, allocations: 87.27 kB / 0.571 GB, free: 30.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000392/0.3428, allocations: 376.5 kB / 0.5714 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.3428, allocations: 10.09 kB / 0.5714 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.3429, allocations: 4.031 kB / 0.5714 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.3433, allocations: 392.3 kB / 0.5717 GB, free: 29.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3433, allocations: 1 kB / 0.5717 GB, free: 29.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.3434, allocations: 4.516 kB / 0.5718 GB, free: 29.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3434, allocations: 1.438 kB / 0.5718 GB, free: 29.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004294/0.3438, allocations: 441.3 kB / 0.5722 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005677/0.3444, allocations: 0.6277 MB / 0.5728 GB, free: 29.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005246/0.3449, allocations: 0.5645 MB / 0.5733 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003147/0.3452, allocations: 344.2 kB / 0.5737 GB, free: 29.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008013/0.346, allocations: 1.022 MB / 0.5747 GB, free: 28.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004228/0.3465, allocations: 410.6 kB / 0.5751 GB, free: 27.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.462e-06/0.3465, allocations: 1.375 kB / 0.5751 GB, free: 27.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001382/0.3479, allocations: 1.288 MB / 0.5763 GB, free: 27.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.3479, allocations: 81.22 kB / 0.5764 GB, free: 27.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.3492, allocations: 1.217 MB / 0.5776 GB, free: 27.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.435e-05/0.3493, allocations: 27.66 kB / 0.5776 GB, free: 27.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.3494, allocations: 264.6 kB / 0.5779 GB, free: 27.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.3495, allocations: 18.72 kB / 0.5779 GB, free: 27.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003487/0.3498, allocations: 354.5 kB / 0.5782 GB, free: 26.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.879e-05/0.3499, allocations: 310.2 kB / 0.5785 GB, free: 26.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.3511, allocations: 1.374 MB / 0.5799 GB, free: 26.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.3524, allocations: 1.508 MB / 0.5813 GB, free: 25.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00728/0.3597, allocations: 3.561 MB / 0.5848 GB, free: 23.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.3598, allocations: 0 / 0.5848 GB, free: 23.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003565/0.3633, allocations: 4.009 MB / 0.5887 GB, free: 20.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.3634, allocations: 4.781 kB / 0.5887 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/0.3634, allocations: 4 kB / 0.5887 GB, free: 20.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.3634, allocations: 4.906 kB / 0.5887 GB, free: 20.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.3635, allocations: 15.98 kB / 0.5887 GB, free: 20.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.3636, allocations: 4.5 kB / 0.5888 GB, free: 20.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005185/0.3641, allocations: 229 kB / 0.589 GB, free: 19.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.985e-05/0.3641, allocations: 24.3 kB / 0.589 GB, free: 19.92 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.0002614/0.3644, allocations: 249.1 kB / 0.5892 GB, free: 19.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.237e-05/0.3645, allocations: 66.72 kB / 0.5893 GB, free: 19.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.3647, allocations: 71.55 kB / 0.5894 GB, free: 19.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3647, allocations: 0.75 kB / 0.5894 GB, free: 19.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3647, allocations: 3.938 kB / 0.5894 GB, free: 19.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3648, allocations: 6.969 kB / 0.5894 GB, free: 19.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003423/0.3651, allocations: 0.4892 MB / 0.5899 GB, free: 18.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3651, allocations: 0 / 0.5899 GB, free: 18.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.939e-05/0.3652, allocations: 7.938 kB / 0.5899 GB, free: 18.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.3652, allocations: 7.938 kB / 0.5899 GB, free: 18.97 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.3652, allocations: 6.047 kB / 0.5899 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3652, allocations: 0 / 0.5899 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3652, allocations: 0 / 0.5899 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006134/0.3658, allocations: 0.999 MB / 0.5908 GB, free: 17.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.318e-05/0.3659, allocations: 160.2 kB / 0.591 GB, free: 17.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.867e-05/0.366, allocations: 4.562 kB / 0.591 GB, free: 17.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.3661, allocations: 5.469 kB / 0.591 GB, free: 17.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.3662, allocations: 7.922 kB / 0.591 GB, free: 17.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.3662, allocations: 19.98 kB / 0.591 GB, free: 17.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005388/0.3668, allocations: 0.6738 MB / 0.5917 GB, free: 17.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3668, allocations: 0 / 0.5917 GB, free: 17.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001838/0.3686, allocations: 0.5718 MB / 0.5923 GB, free: 16.48 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.001674/0.3703, allocations: 0.6973 MB / 0.5929 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00174/0.372, allocations: 2.551 MB / 0.5954 GB, free: 13.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3721, allocations: 0 / 0.5954 GB, free: 13.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.3723, allocations: 343.7 kB / 0.5958 GB, free: 12.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.3726, allocations: 43.02 kB / 0.5958 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.3742, allocations: 1.747 MB / 0.5975 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.3746, allocations: 0.9679 MB / 0.5984 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001292/0.3747, allocations: 35.45 kB / 0.5985 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.348e-05/0.3748, allocations: 23.42 kB / 0.5985 GB, free: 10.07 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3748, allocations: 4 kB / 0.5985 GB, free: 10.07 MB / 446.1 MB Notification: Performance of Templates: time 0.01887/0.3937, allocations: 13.55 MB / 0.6117 GB, free: 12.55 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)