Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001624/0.001624, allocations: 108.2 kB / 15.99 MB, free: 6.355 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.001992/0.001992, allocations: 195.2 kB / 16.91 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.453/1.453, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9173/0.9173, allocations: 143.3 MB / 434 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002138, allocations: 67.89 kB / 0.5146 GB, free: 15.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3544, allocations: 82.04 MB / 0.5948 GB, free: 16.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002426/0.3569, allocations: 1.481 MB / 0.5962 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00524/0.3621, allocations: 4.225 MB / 0.6003 GB, free: 10.47 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.506e-05/0.3623, allocations: 0 / 0.6003 GB, free: 10.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.3624, allocations: 8.562 kB / 0.6003 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.3627, allocations: 33.2 kB / 0.6004 GB, free: 10.43 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/BuildSysPro 3.6.0-master/IBPSA/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.003637/0.3663, allocations: 1.341 MB / 0.6017 GB, free: 9.102 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.3665, allocations: 95.72 kB / 0.6018 GB, free: 9.008 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.309e-05/0.3665, allocations: 4 kB / 0.6018 GB, free: 9.004 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.519e-05/0.3666, allocations: 51.77 kB / 0.6018 GB, free: 8.953 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.3668, allocations: 158.5 kB / 0.602 GB, free: 8.797 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.743e-05/0.3669, allocations: 12 kB / 0.602 GB, free: 8.785 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002756/0.3696, allocations: 2.193 MB / 0.6041 GB, free: 6.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.3698, allocations: 273.3 kB / 0.6044 GB, free: 6.324 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002287/0.3701, allocations: 282.3 kB / 0.6047 GB, free: 6.047 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00194/0.372, allocations: 1.463 MB / 0.6061 GB, free: 4.582 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.372, allocations: 0 / 0.6061 GB, free: 4.582 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.372, allocations: 0 / 0.6061 GB, free: 4.582 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.594e-05/0.3721, allocations: 4.844 kB / 0.6061 GB, free: 4.578 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.008813/0.3809, allocations: 1.301 MB / 0.6074 GB, free: 3.227 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.3809, allocations: 8.031 kB / 0.6074 GB, free: 3.219 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004138/0.3814, allocations: 88.55 kB / 0.6074 GB, free: 3.133 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.3817, allocations: 362.3 kB / 0.6078 GB, free: 2.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.3817, allocations: 8.375 kB / 0.6078 GB, free: 2.723 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.206e-05/0.3818, allocations: 8.375 kB / 0.6078 GB, free: 2.715 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003676/0.3822, allocations: 401 kB / 0.6082 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3822, allocations: 0.5938 kB / 0.6082 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.3822, allocations: 0 / 0.6082 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.3822, allocations: 1.656 kB / 0.6082 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003109/0.3825, allocations: 439.7 kB / 0.6086 GB, free: 1.883 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004475/0.383, allocations: 0.6301 MB / 0.6092 GB, free: 1.203 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003607/0.3834, allocations: 0.5686 MB / 0.6098 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.3836, allocations: 336.8 kB / 0.6101 GB, free: 292 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001196/0.3848, allocations: 1.028 MB / 0.6111 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004879/0.3853, allocations: 411.3 kB / 0.6115 GB, free: 14.62 MB / 462.1 MB Notification: Performance of pre-optimization done (n=8): time 1.893e-06/0.3853, allocations: 0 / 0.6115 GB, free: 14.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=8): time 0.001678/0.387, allocations: 1.29 MB / 0.6128 GB, free: 13.32 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/0.3871, allocations: 86.31 kB / 0.6128 GB, free: 13.22 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.3885, allocations: 1.21 MB / 0.614 GB, free: 11.99 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.115e-05/0.3886, allocations: 39.03 kB / 0.6141 GB, free: 11.95 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/0.3888, allocations: 257.4 kB / 0.6143 GB, free: 11.69 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/0.3889, allocations: 19.73 kB / 0.6143 GB, free: 11.67 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004038/0.3893, allocations: 356.8 kB / 0.6147 GB, free: 11.32 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3895, allocations: 314 kB / 0.615 GB, free: 11.01 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/0.391, allocations: 1.374 MB / 0.6163 GB, free: 9.633 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001577/0.3926, allocations: 1.503 MB / 0.6178 GB, free: 8.121 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007703/0.4003, allocations: 3.554 MB / 0.6212 GB, free: 4.477 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.4004, allocations: 5.375 kB / 0.6213 GB, free: 4.473 MB / 462.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.00513/0.4055, allocations: 4 MB / 0.6252 GB, free: 448 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.4056, allocations: 8 kB / 0.6252 GB, free: 440 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.4056, allocations: 0 / 0.6252 GB, free: 440 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.4056, allocations: 4 kB / 0.6252 GB, free: 436 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.4058, allocations: 25.36 kB / 0.6252 GB, free: 412 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.4058, allocations: 0 / 0.6252 GB, free: 412 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005401/0.4063, allocations: 229 kB / 0.6254 GB, free: 180 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.276e-05/0.4064, allocations: 27.91 kB / 0.6254 GB, free: 152 kB / 462.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.0003732/0.4068, allocations: 242.6 kB / 0.6257 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.68e-05/0.4069, allocations: 70.72 kB / 0.6257 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003185/0.4072, allocations: 75.73 kB / 0.6258 GB, free: 15.76 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.4072, allocations: 4.484 kB / 0.6258 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.4073, allocations: 8.438 kB / 0.6258 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.4073, allocations: 0 / 0.6258 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000543/0.4078, allocations: 493.4 kB / 0.6263 GB, free: 15.22 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4078, allocations: 0.875 kB / 0.6263 GB, free: 15.22 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.607e-05/0.4079, allocations: 11.94 kB / 0.6263 GB, free: 15.21 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.4079, allocations: 1.719 kB / 0.6263 GB, free: 15.21 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.4079, allocations: 3.984 kB / 0.6263 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/0.408, allocations: 8 kB / 0.6263 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.408, allocations: 0 / 0.6263 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.409, allocations: 0.9958 MB / 0.6273 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.4092, allocations: 169.2 kB / 0.6275 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.223e-05/0.4093, allocations: 4 kB / 0.6275 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.4095, allocations: 4 kB / 0.6275 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.4095, allocations: 12.72 kB / 0.6275 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-05/0.4096, allocations: 12.61 kB / 0.6275 GB, free: 13.96 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008834/0.4105, allocations: 0.6737 MB / 0.6281 GB, free: 13.29 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4105, allocations: 0 / 0.6281 GB, free: 13.29 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001723/0.4122, allocations: 0.5701 MB / 0.6287 GB, free: 12.71 MB / 478.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.002535/0.4147, allocations: 0.6853 MB / 0.6294 GB, free: 12.05 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002871/0.4176, allocations: 2.557 MB / 0.6319 GB, free: 9.477 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4177, allocations: 0 / 0.6319 GB, free: 9.477 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000427/0.4181, allocations: 340.4 kB / 0.6322 GB, free: 9.145 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.4185, allocations: 37.06 kB / 0.6322 GB, free: 9.109 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002681/0.4212, allocations: 1.974 MB / 0.6342 GB, free: 7.109 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007065/0.4219, allocations: 0.964 MB / 0.6351 GB, free: 6.117 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.4221, allocations: 27.41 kB / 0.6351 GB, free: 6.09 MB / 478.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4221, allocations: 4 kB / 0.6351 GB, free: 6.086 MB / 478.1 MB Notification: Performance of Templates: time 0.02598/0.4481, allocations: 14 MB / 0.6488 GB, free: 8.094 MB / 494.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)