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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001028, allocations: 184.6 kB / 7.806 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4583/0.4583, allocations: 90.86 MB / 99.08 MB, free: 14.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.204/1.204, allocations: 221.4 MB / 342.8 MB, free: 5.121 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000936/0.000936, allocations: 92.2 kB / 415.5 MB, free: 6.418 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.454e-06/7.564e-06, allocations: 0 / 493.9 MB, free: 8.004 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3471, allocations: 72.3 MB / 0.5529 GB, free: 73.37 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1375/0.4846, allocations: 124.2 MB / 0.6742 GB, free: 1.785 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003359/0.485, allocations: 111.9 kB / 0.6743 GB, free: 1.676 MB / 490.7 MB [/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 FrontEnd: time 0.1122/0.5972, allocations: 30.19 MB / 0.7038 GB, free: 3.543 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.062e-05/0.5973, allocations: 12 kB / 0.7038 GB, free: 3.531 MB / 0.5105 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.002931/0.6003, allocations: 1.11 MB / 0.7049 GB, free: 2.375 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.6003, allocations: 8.031 kB / 0.7049 GB, free: 2.367 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005153/0.6008, allocations: 102.7 kB / 0.705 GB, free: 2.266 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007476/0.6016, allocations: 435.6 kB / 0.7054 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.6016, allocations: 4 kB / 0.7054 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.243e-05/0.6017, allocations: 27.92 kB / 0.7055 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004304/0.6022, allocations: 430.9 kB / 0.7059 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.6025, allocations: 375.2 kB / 0.7062 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.6026, allocations: 0 / 0.7062 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.6026, allocations: 3.984 kB / 0.7062 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.6026, allocations: 7.906 kB / 0.7062 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00079/0.6034, allocations: 0.6905 MB / 0.7069 GB, free: 224 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004554/0.6039, allocations: 0.5594 MB / 0.7075 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/0.6041, allocations: 329.7 kB / 0.7078 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00106/0.6052, allocations: 1.044 MB / 0.7088 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003379/0.6055, allocations: 400 kB / 0.7092 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.6056, allocations: 3.938 kB / 0.7092 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.000814/0.6064, allocations: 0.7384 MB / 0.7099 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.6064, allocations: 89.14 kB / 0.71 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.6078, allocations: 1.025 MB / 0.711 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.988e-05/0.6079, allocations: 33.69 kB / 0.711 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/0.6082, allocations: 258 kB / 0.7113 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.607e-05/0.6082, allocations: 23.73 kB / 0.7113 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/0.6083, allocations: 0 / 0.7113 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002351/0.6085, allocations: 415.9 kB / 0.7117 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/0.6098, allocations: 1.222 MB / 0.7129 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/0.6113, allocations: 1.367 MB / 0.7142 GB, free: 8.406 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/0.6131, allocations: 1.633 MB / 0.7158 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.6131, allocations: 0 / 0.7158 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.1773/0.7904, allocations: 7.196 MB / 0.7228 GB, free: 187.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.7905, allocations: 5.312 kB / 0.7228 GB, free: 187.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.749e-05/0.7905, allocations: 3.656 kB / 0.7228 GB, free: 187.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.7906, allocations: 3.969 kB / 0.7228 GB, free: 187.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008446/0.7914, allocations: 148.6 kB / 0.723 GB, free: 187.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.589e-05/0.7915, allocations: 2.5 kB / 0.723 GB, free: 187.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006874/0.7922, allocations: 232.4 kB / 0.7232 GB, free: 187.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.434e-05/0.7923, allocations: 54.52 kB / 0.7233 GB, free: 187.1 MB / 0.5261 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2,labels[1],cluSiz[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 2 * 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.0001326/0.7924, allocations: 122.9 kB / 0.7234 GB, free: 187 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/0.7925, allocations: 66.12 kB / 0.7234 GB, free: 186.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007692/0.7933, allocations: 0.7206 MB / 0.7241 GB, free: 186.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.7933, allocations: 2 kB / 0.7241 GB, free: 186.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.7933, allocations: 4.656 kB / 0.7242 GB, free: 186.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.7933, allocations: 0 / 0.7242 GB, free: 186.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004281/0.7938, allocations: 476.6 kB / 0.7246 GB, free: 186.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.7938, allocations: 4.703 kB / 0.7246 GB, free: 186.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.706e-05/0.7938, allocations: 7.781 kB / 0.7246 GB, free: 186.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.7939, allocations: 0 / 0.7246 GB, free: 186.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.7939, allocations: 3.156 kB / 0.7246 GB, free: 186.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.7939, allocations: 3.75 kB / 0.7246 GB, free: 186.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.7939, allocations: 0 / 0.7246 GB, free: 186.7 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005843/0.7945, allocations: 0.7894 MB / 0.7254 GB, free: 186.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.401e-05/0.7946, allocations: 150.6 kB / 0.7255 GB, free: 186.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.517e-05/0.7947, allocations: 8.578 kB / 0.7255 GB, free: 186.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.7948, allocations: 10.8 kB / 0.7256 GB, free: 186.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.7949, allocations: 3.781 kB / 0.7256 GB, free: 186.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/0.7949, allocations: 16.83 kB / 0.7256 GB, free: 186.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0005217/0.7955, allocations: 0.615 MB / 0.7262 GB, free: 186.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00196/0.7974, allocations: 0.6761 MB / 0.7268 GB, free: 186.3 MB / 0.5261 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) * 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.001989/0.7994, allocations: 0.8381 MB / 0.7277 GB, free: 186.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001555/0.801, allocations: 2.401 MB / 0.73 GB, free: 186.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.801, allocations: 3.719 kB / 0.73 GB, free: 186.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.8012, allocations: 336.4 kB / 0.7303 GB, free: 186.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.8014, allocations: 33.16 kB / 0.7304 GB, free: 186.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.8028, allocations: 1.467 MB / 0.7318 GB, free: 185.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004034/0.8032, allocations: 1.04 MB / 0.7328 GB, free: 185.1 MB / 0.5261 GB Notification: Performance of SimCode: time 2.8e-07/0.8032, allocations: 0 / 0.7328 GB, free: 185.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.0197/0.8229, allocations: 13.58 MB / 0.7461 GB, free: 184.6 MB / 0.5261 GB 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)