Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001015/0.001015, allocations: 113.7 kB / 16.42 MB, free: 6.492 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.001032/0.001032, allocations: 189.5 kB / 17.34 MB, free: 5.73 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.288/1.288, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002148/0.002148, allocations: 288 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9619/0.9619, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 92.09 kB / 0.6822 GB, free: 6.906 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3719, allocations: 86.97 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002322/0.3742, allocations: 1.434 MB / 0.7685 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00606/0.3803, allocations: 4.197 MB / 0.7726 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.097e-05/0.3804, allocations: 0 / 0.7726 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.3805, allocations: 11.86 kB / 0.7726 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.3807, allocations: 43.77 kB / 0.7727 GB, free: 14.21 MB / 0.545 GB [/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/BuildingSystems 2.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.003565/0.3843, allocations: 1.506 MB / 0.7741 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.3845, allocations: 83.81 kB / 0.7742 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.078e-05/0.3845, allocations: 11.97 kB / 0.7742 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.12e-05/0.3846, allocations: 47.78 kB / 0.7743 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.3848, allocations: 147.6 kB / 0.7744 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.124e-05/0.3849, allocations: 12 kB / 0.7744 GB, free: 12.4 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003089/0.3879, allocations: 2.207 MB / 0.7766 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.3882, allocations: 271.8 kB / 0.7768 GB, free: 9.926 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.3884, allocations: 274.3 kB / 0.7771 GB, free: 9.656 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002645/0.3911, allocations: 2.111 MB / 0.7792 GB, free: 7.543 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3911, allocations: 4 kB / 0.7792 GB, free: 7.539 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3911, allocations: 0 / 0.7792 GB, free: 7.539 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.3911, allocations: 4 kB / 0.7792 GB, free: 7.535 MB / 0.545 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.01076/0.4019, allocations: 1.296 MB / 0.7804 GB, free: 6.188 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.4019, allocations: 8.031 kB / 0.7804 GB, free: 6.18 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003967/0.4023, allocations: 91.69 kB / 0.7805 GB, free: 6.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003701/0.4027, allocations: 357 kB / 0.7809 GB, free: 5.691 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.4027, allocations: 12.38 kB / 0.7809 GB, free: 5.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.96e-05/0.4028, allocations: 12.3 kB / 0.7809 GB, free: 5.668 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004188/0.4032, allocations: 391.4 kB / 0.7813 GB, free: 5.273 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.4032, allocations: 0 / 0.7813 GB, free: 5.273 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.4032, allocations: 0 / 0.7813 GB, free: 5.273 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.4032, allocations: 4 kB / 0.7813 GB, free: 5.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004221/0.4037, allocations: 435.7 kB / 0.7817 GB, free: 4.844 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005609/0.4042, allocations: 0.6327 MB / 0.7823 GB, free: 4.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004882/0.4047, allocations: 0.5671 MB / 0.7829 GB, free: 3.574 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/0.4051, allocations: 337.7 kB / 0.7832 GB, free: 3.238 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/0.4061, allocations: 1.032 MB / 0.7842 GB, free: 1.984 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004208/0.4065, allocations: 408.8 kB / 0.7846 GB, free: 1.566 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.733e-06/0.4065, allocations: 0 / 0.7846 GB, free: 1.566 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.001265/0.4078, allocations: 1.289 MB / 0.7858 GB, free: 276 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.4078, allocations: 81.11 kB / 0.7859 GB, free: 176 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.4089, allocations: 1.214 MB / 0.7871 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.954e-05/0.409, allocations: 29.7 kB / 0.7871 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.4092, allocations: 261.5 kB / 0.7874 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.4092, allocations: 27.72 kB / 0.7874 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003055/0.4095, allocations: 355.5 kB / 0.7877 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.4096, allocations: 314 kB / 0.788 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/0.4108, allocations: 1.369 MB / 0.7894 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/0.4121, allocations: 1.509 MB / 0.7909 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007034/0.4192, allocations: 3.56 MB / 0.7943 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4192, allocations: 0 / 0.7943 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004111/0.4233, allocations: 3.999 MB / 0.7982 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.4233, allocations: 10.28 kB / 0.7982 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.4234, allocations: 11.97 kB / 0.7983 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.4234, allocations: 0 / 0.7983 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.4235, allocations: 15.98 kB / 0.7983 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.4235, allocations: 7.938 kB / 0.7983 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/0.424, allocations: 228.3 kB / 0.7985 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.374e-05/0.424, allocations: 27.98 kB / 0.7985 GB, free: 3.074 MB / 0.5606 GB 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.0002743/0.4243, allocations: 237.6 kB / 0.7988 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.9e-05/0.4244, allocations: 74.72 kB / 0.7988 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.4247, allocations: 71.06 kB / 0.7989 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4247, allocations: 4 kB / 0.7989 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4247, allocations: 0 / 0.7989 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.4248, allocations: 147.9 kB / 0.799 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.158e-05/0.4248, allocations: 4 kB / 0.799 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.425, allocations: 3.984 kB / 0.799 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.425, allocations: 8.031 kB / 0.7991 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009246/0.426, allocations: 1.07 MB / 0.8001 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009312/0.4269, allocations: 1.217 MB / 0.8013 GB, free: 184 kB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003199/0.4272, allocations: 339.8 kB / 0.8016 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006892/0.4279, allocations: 0.6689 MB / 0.8023 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of Backend: time 3.31e-07/0.4279, allocations: 0 / 0.8023 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004241/0.4322, allocations: 2.901 MB / 0.8051 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of SimCode: time 0.00176/0.434, allocations: 1.736 MB / 0.8068 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of Templates: time 0.0215/0.4555, allocations: 13.93 MB / 0.8204 GB, free: 12.59 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)