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_SmallScaleValidation.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.001569/0.001569, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00177/0.00177, allocations: 221.9 kB / 23.01 MB, free: 4.609 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.373/1.373, allocations: 230.6 MB / 256.8 MB, free: 8.062 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.8734/0.8734, allocations: 145 MB / 458.2 MB, free: 15.5 MB / 366.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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [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.00193/0.00193, allocations: 65.8 kB / 0.6345 GB, free: 6.758 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1675, allocations: 87.89 MB / 0.7203 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003248/0.1708, allocations: 1.785 MB / 0.7221 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008095/0.1789, allocations: 5.488 MB / 0.7274 GB, free: 7.551 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.179, allocations: 0 / 0.7274 GB, free: 7.551 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.1802, allocations: 370.4 kB / 0.7278 GB, free: 7.188 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.1804, allocations: 71.61 kB / 0.7278 GB, free: 7.117 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.004002/0.1844, allocations: 1.589 MB / 0.7294 GB, free: 5.527 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003062/0.1847, allocations: 163.3 kB / 0.7295 GB, free: 5.367 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.708e-05/0.1848, allocations: 9.75 kB / 0.7295 GB, free: 5.352 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.1849, allocations: 67.7 kB / 0.7296 GB, free: 5.285 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002493/0.1851, allocations: 163.5 kB / 0.7298 GB, free: 5.125 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.532e-05/0.1852, allocations: 16 kB / 0.7298 GB, free: 5.109 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004329/0.1895, allocations: 2.632 MB / 0.7324 GB, free: 2.473 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000284/0.1898, allocations: 287.7 kB / 0.7326 GB, free: 2.191 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003336/0.1901, allocations: 298.2 kB / 0.7329 GB, free: 1.898 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003668/0.1938, allocations: 2.235 MB / 0.7351 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1938, allocations: 0 / 0.7351 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1938, allocations: 0 / 0.7351 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.04e-05/0.1938, allocations: 0 / 0.7351 GB, free: 15.65 MB / 0.5606 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.008833/0.2027, allocations: 1.342 MB / 0.7364 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.2027, allocations: 8.031 kB / 0.7364 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004221/0.2031, allocations: 100.2 kB / 0.7365 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006362/0.2037, allocations: 352.5 kB / 0.7368 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.2038, allocations: 4.375 kB / 0.7369 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.728e-05/0.2038, allocations: 12.38 kB / 0.7369 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004453/0.2042, allocations: 395.5 kB / 0.7372 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2043, allocations: 0 / 0.7372 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.2043, allocations: 4 kB / 0.7372 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.2043, allocations: 0 / 0.7372 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004474/0.2047, allocations: 431.7 kB / 0.7377 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006741/0.2054, allocations: 0.6532 MB / 0.7383 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005347/0.2059, allocations: 0.5555 MB / 0.7388 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/0.2063, allocations: 341.6 kB / 0.7392 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005835/0.2068, allocations: 131.9 kB / 0.7393 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004185/0.2073, allocations: 408.8 kB / 0.7397 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.2073, allocations: 0 / 0.7397 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001381/0.2086, allocations: 1.297 MB / 0.7409 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.2087, allocations: 85.09 kB / 0.741 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.21, allocations: 1.294 MB / 0.7423 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.602e-05/0.2101, allocations: 37.69 kB / 0.7423 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.2103, allocations: 281.9 kB / 0.7426 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.2103, allocations: 27.95 kB / 0.7426 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003471/0.2107, allocations: 355.6 kB / 0.743 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.2108, allocations: 322 kB / 0.7433 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.2121, allocations: 1.369 MB / 0.7446 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/0.2135, allocations: 1.505 MB / 0.7461 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007067/0.2205, allocations: 3.56 MB / 0.7496 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.2206, allocations: 0 / 0.7496 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.3118/0.5323, allocations: 4.014 MB / 0.7535 GB, free: 28.87 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.5324, allocations: 5.5 kB / 0.7535 GB, free: 28.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.5324, allocations: 3.688 kB / 0.7535 GB, free: 28.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.5324, allocations: 0.8438 kB / 0.7535 GB, free: 28.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.5325, allocations: 15.52 kB / 0.7535 GB, free: 28.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.5325, allocations: 2.531 kB / 0.7535 GB, free: 28.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004084/0.533, allocations: 239.7 kB / 0.7537 GB, free: 28.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-05/0.533, allocations: 27.5 kB / 0.7538 GB, free: 28.76 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.0003083/0.5333, allocations: 246.4 kB / 0.754 GB, free: 28.65 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.446e-05/0.5334, allocations: 86.86 kB / 0.7541 GB, free: 28.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000984/0.5344, allocations: 0.946 MB / 0.755 GB, free: 28.53 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.5344, allocations: 1.906 kB / 0.755 GB, free: 28.53 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5344, allocations: 0.5625 kB / 0.755 GB, free: 28.53 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.5344, allocations: 3.953 kB / 0.755 GB, free: 28.53 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004312/0.5348, allocations: 0.4906 MB / 0.7555 GB, free: 28.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.5348, allocations: 2.625 kB / 0.7555 GB, free: 28.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.722e-05/0.5349, allocations: 8.688 kB / 0.7555 GB, free: 28.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5349, allocations: 2.875 kB / 0.7555 GB, free: 28.38 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.5349, allocations: 3.266 kB / 0.7555 GB, free: 28.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5349, allocations: 0.7812 kB / 0.7555 GB, free: 28.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5349, allocations: 3.375 kB / 0.7555 GB, free: 28.38 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.5359, allocations: 1.022 MB / 0.7565 GB, free: 28.24 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.428e-05/0.536, allocations: 90.06 kB / 0.7566 GB, free: 28.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.478e-05/0.5361, allocations: 3.969 kB / 0.7566 GB, free: 28.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.5362, allocations: 7.672 kB / 0.7566 GB, free: 28.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.5362, allocations: 6.359 kB / 0.7566 GB, free: 28.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/0.5363, allocations: 13.75 kB / 0.7566 GB, free: 28.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008213/0.5371, allocations: 0.7228 MB / 0.7573 GB, free: 28.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5371, allocations: 0.6562 kB / 0.7573 GB, free: 28.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001457/0.5386, allocations: 0.6004 MB / 0.7579 GB, free: 28.07 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.001637/0.5402, allocations: 0.7032 MB / 0.7586 GB, free: 27.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002195/0.5424, allocations: 1.999 MB / 0.7605 GB, free: 27.89 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5424, allocations: 3.188 kB / 0.7605 GB, free: 27.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000481/0.5429, allocations: 331.3 kB / 0.7609 GB, free: 27.89 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.5433, allocations: 54.64 kB / 0.7609 GB, free: 27.88 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.5454, allocations: 1.941 MB / 0.7628 GB, free: 27.26 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.5458, allocations: 0.9848 MB / 0.7638 GB, free: 26.56 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.5459, allocations: 30.81 kB / 0.7638 GB, free: 26.55 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.5459, allocations: 2.156 kB / 0.7638 GB, free: 26.55 MB / 0.5606 GB Notification: Performance of Templates: time 0.02185/0.5678, allocations: 14.8 MB / 0.7783 GB, free: 22.2 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.750961919082329] Failed to read output from testmodel.py, exit status != 0: 0.5758306980133057 0.5842603040000001 0.388337242 Calling exit ...