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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001881/0.001881, allocations: 102.7 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002299/0.002299, allocations: 206.4 kB / 19.42 MB, free: 3.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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.7.0/package.mo): time 0.9527/0.9527, allocations: 145 MB / 453.8 MB, free: 0.75 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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=2500,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=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 74.19 kB / 0.6286 GB, free: 10.06 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.175, allocations: 87.82 MB / 0.7143 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002663/0.1777, allocations: 1.449 MB / 0.7158 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007238/0.1849, allocations: 4.255 MB / 0.7199 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.517e-05/0.185, allocations: 4 kB / 0.7199 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.1851, allocations: 11.86 kB / 0.7199 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.1854, allocations: 31.77 kB / 0.72 GB, free: 12.46 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.7.0/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.004223/0.1896, allocations: 1.503 MB / 0.7214 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.1897, allocations: 95.66 kB / 0.7215 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.677e-05/0.1898, allocations: 4 kB / 0.7215 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.395e-05/0.1899, allocations: 47.89 kB / 0.7216 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.1901, allocations: 151.6 kB / 0.7217 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.176e-05/0.1902, allocations: 15.94 kB / 0.7217 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003813/0.194, allocations: 2.317 MB / 0.724 GB, free: 8.324 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002531/0.1942, allocations: 275.8 kB / 0.7243 GB, free: 8.055 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002804/0.1945, allocations: 278.3 kB / 0.7245 GB, free: 7.781 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003161/0.1977, allocations: 2.122 MB / 0.7266 GB, free: 5.652 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.1977, allocations: 0 / 0.7266 GB, free: 5.652 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.512e-06/0.1977, allocations: 0 / 0.7266 GB, free: 5.652 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.1977, allocations: 0 / 0.7266 GB, free: 5.652 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.01155/0.2092, allocations: 1.347 MB / 0.7279 GB, free: 4.25 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.2093, allocations: 12.02 kB / 0.7279 GB, free: 4.238 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000467/0.2098, allocations: 92.25 kB / 0.728 GB, free: 4.148 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004568/0.2102, allocations: 361 kB / 0.7284 GB, free: 3.746 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.2102, allocations: 16.36 kB / 0.7284 GB, free: 3.73 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.91e-05/0.2103, allocations: 4.375 kB / 0.7284 GB, free: 3.727 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005183/0.2108, allocations: 399.4 kB / 0.7288 GB, free: 3.324 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2108, allocations: 0 / 0.7288 GB, free: 3.324 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.2108, allocations: 0 / 0.7288 GB, free: 3.324 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.2108, allocations: 0 / 0.7288 GB, free: 3.324 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005047/0.2113, allocations: 435.7 kB / 0.7292 GB, free: 2.898 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007089/0.212, allocations: 0.641 MB / 0.7298 GB, free: 2.207 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000647/0.2127, allocations: 0.5672 MB / 0.7304 GB, free: 1.621 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000364/0.2131, allocations: 333.7 kB / 0.7307 GB, free: 1.289 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/0.2143, allocations: 1.025 MB / 0.7317 GB, free: 44 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004927/0.2148, allocations: 408.8 kB / 0.7321 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.2148, allocations: 0 / 0.7321 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001611/0.2164, allocations: 1.301 MB / 0.7333 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.852e-05/0.2165, allocations: 85.09 kB / 0.7334 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/0.2179, allocations: 1.215 MB / 0.7346 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.121e-05/0.2179, allocations: 29.69 kB / 0.7346 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.2182, allocations: 269.9 kB / 0.7349 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/0.2182, allocations: 27.78 kB / 0.7349 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000386/0.2186, allocations: 351.6 kB / 0.7352 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2187, allocations: 310 kB / 0.7355 GB, free: 12 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.2202, allocations: 1.369 MB / 0.7369 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/0.2218, allocations: 1.505 MB / 0.7383 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008036/0.2298, allocations: 3.564 MB / 0.7418 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.2298, allocations: 4 kB / 0.7418 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005111/0.2349, allocations: 4.003 MB / 0.7457 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.2349, allocations: 4 kB / 0.7457 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.235, allocations: 4 kB / 0.7457 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.235, allocations: 0 / 0.7457 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.2351, allocations: 19.92 kB / 0.7458 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.2351, allocations: 0 / 0.7458 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005408/0.2357, allocations: 249.3 kB / 0.746 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-05/0.2357, allocations: 23.98 kB / 0.746 GB, free: 1.113 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.0003506/0.2361, allocations: 237.7 kB / 0.7463 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.547e-05/0.2361, allocations: 75.28 kB / 0.7463 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002988/0.2364, allocations: 71.02 kB / 0.7464 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.2365, allocations: 8.031 kB / 0.7464 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2365, allocations: 3.984 kB / 0.7464 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2365, allocations: 0 / 0.7464 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004926/0.237, allocations: 0.4892 MB / 0.7469 GB, free: 168 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.237, allocations: 0 / 0.7469 GB, free: 168 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.595e-05/0.237, allocations: 7.938 kB / 0.7469 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.237, allocations: 3.938 kB / 0.7469 GB, free: 156 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.237, allocations: 7.984 kB / 0.7469 GB, free: 148 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.2371, allocations: 0 / 0.7469 GB, free: 148 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2371, allocations: 4 kB / 0.7469 GB, free: 144 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3126/0.5496, allocations: 1 MB / 0.7479 GB, free: 33.26 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.5497, allocations: 164.2 kB / 0.748 GB, free: 33.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.179e-05/0.5498, allocations: 5.844 kB / 0.748 GB, free: 33.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.5499, allocations: 4.25 kB / 0.748 GB, free: 33.11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.55, allocations: 13.89 kB / 0.7481 GB, free: 33.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.477e-05/0.55, allocations: 12.56 kB / 0.7481 GB, free: 33.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008785/0.5509, allocations: 0.6742 MB / 0.7487 GB, free: 33 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5509, allocations: 0 / 0.7487 GB, free: 33 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001513/0.5524, allocations: 0.5835 MB / 0.7493 GB, free: 33 MB / 0.5606 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) * 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.001783/0.5542, allocations: 0.7024 MB / 0.75 GB, free: 32.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002243/0.5564, allocations: 1.997 MB / 0.7519 GB, free: 32.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5565, allocations: 0 / 0.7519 GB, free: 32.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004308/0.5569, allocations: 339 kB / 0.7523 GB, free: 32.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.5572, allocations: 37.5 kB / 0.7523 GB, free: 32.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.5594, allocations: 1.78 MB / 0.754 GB, free: 32.29 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/0.5599, allocations: 0.9651 MB / 0.755 GB, free: 31.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001308/0.56, allocations: 32.73 kB / 0.755 GB, free: 31.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.5602, allocations: 26.23 kB / 0.755 GB, free: 31.58 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/0.5602, allocations: 7.469 kB / 0.755 GB, free: 31.58 MB / 0.5606 GB Notification: Performance of Templates: time 0.02472/0.5849, allocations: 13.89 MB / 0.7686 GB, free: 28.09 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.274445209652185] Failed to read output from testmodel.py, exit status != 0: 0.5924893356859684 0.6011503109999999 0.40137366099999994 Calling exit ...