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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 97.69 kB / 19.59 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 191.9 kB / 22.85 MB, free: 5.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 225.6 MB / 251.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 179] 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.8167/0.8167, allocations: 144.9 MB / 451.7 MB, free: 5.52 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.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=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: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 62.09 kB / 0.6257 GB, free: 15.48 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1373, allocations: 86.7 MB / 0.7104 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002257/0.1396, allocations: 1.442 MB / 0.7118 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005916/0.1455, allocations: 4.27 MB / 0.716 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.76e-05/0.1456, allocations: 7.938 kB / 0.716 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.676e-05/0.1457, allocations: 11.86 kB / 0.716 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.1458, allocations: 27.84 kB / 0.716 GB, free: 2.992 MB / 0.5294 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/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.003268/0.1491, allocations: 1.597 MB / 0.7176 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.1492, allocations: 91.73 kB / 0.7177 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.344e-05/0.1493, allocations: 0 / 0.7177 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.008e-05/0.1493, allocations: 51.83 kB / 0.7177 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.1496, allocations: 151.6 kB / 0.7178 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.395e-05/0.1496, allocations: 16 kB / 0.7179 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003238/0.1528, allocations: 2.504 MB / 0.7203 GB, free: 14.58 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002133/0.153, allocations: 279.8 kB / 0.7206 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002166/0.1533, allocations: 278.3 kB / 0.7208 GB, free: 14.03 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002316/0.1556, allocations: 2.107 MB / 0.7229 GB, free: 11.92 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1556, allocations: 4 kB / 0.7229 GB, free: 11.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1556, allocations: 0 / 0.7229 GB, free: 11.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.1556, allocations: 0 / 0.7229 GB, free: 11.91 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.009423/0.165, allocations: 1.272 MB / 0.7241 GB, free: 10.61 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.165, allocations: 8.031 kB / 0.7242 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003624/0.1654, allocations: 96.23 kB / 0.7242 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.1658, allocations: 303.2 kB / 0.7245 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.1658, allocations: 8.359 kB / 0.7245 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/0.1658, allocations: 4.375 kB / 0.7245 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004208/0.1662, allocations: 399.4 kB / 0.7249 GB, free: 9.758 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1662, allocations: 0 / 0.7249 GB, free: 9.758 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.1663, allocations: 0 / 0.7249 GB, free: 9.758 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.1663, allocations: 7.984 kB / 0.7249 GB, free: 9.75 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004235/0.1667, allocations: 427.8 kB / 0.7253 GB, free: 9.332 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005643/0.1673, allocations: 0.6205 MB / 0.7259 GB, free: 8.668 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005139/0.1678, allocations: 0.5555 MB / 0.7265 GB, free: 8.094 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/0.1681, allocations: 333.7 kB / 0.7268 GB, free: 7.762 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006059/0.1687, allocations: 139.9 kB / 0.7269 GB, free: 7.625 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004023/0.1691, allocations: 412.8 kB / 0.7273 GB, free: 7.203 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 2.825e-06/0.1691, allocations: 7.922 kB / 0.7273 GB, free: 7.195 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.001303/0.1704, allocations: 1.297 MB / 0.7286 GB, free: 5.891 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.1704, allocations: 81.11 kB / 0.7287 GB, free: 5.793 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.1716, allocations: 1.223 MB / 0.7299 GB, free: 4.555 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/0.1716, allocations: 25.7 kB / 0.7299 GB, free: 4.523 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.1718, allocations: 269.9 kB / 0.7302 GB, free: 4.254 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.1718, allocations: 27.78 kB / 0.7302 GB, free: 4.227 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003194/0.1721, allocations: 355.8 kB / 0.7305 GB, free: 3.875 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1723, allocations: 306 kB / 0.7308 GB, free: 3.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.1735, allocations: 1.369 MB / 0.7322 GB, free: 2.199 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.1748, allocations: 1.505 MB / 0.7336 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006789/0.1816, allocations: 3.564 MB / 0.7371 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1816, allocations: 0 / 0.7371 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004146/0.1858, allocations: 4.011 MB / 0.741 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1858, allocations: 4 kB / 0.741 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.1858, allocations: 4 kB / 0.741 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1858, allocations: 0 / 0.741 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.1859, allocations: 19.92 kB / 0.7411 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1859, allocations: 4.031 kB / 0.7411 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004543/0.1864, allocations: 241.4 kB / 0.7413 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/0.1865, allocations: 23.98 kB / 0.7413 GB, free: 8.688 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.0002794/0.1867, allocations: 241.6 kB / 0.7415 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.515e-05/0.1868, allocations: 79.23 kB / 0.7416 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000962/0.1878, allocations: 0.9399 MB / 0.7425 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.1878, allocations: 4 kB / 0.7425 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1878, allocations: 0 / 0.7425 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1878, allocations: 0 / 0.7425 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004167/0.1882, allocations: 472 kB / 0.743 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1882, allocations: 0 / 0.743 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.804e-05/0.1883, allocations: 15.86 kB / 0.743 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1883, allocations: 0 / 0.743 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.1883, allocations: 4 kB / 0.743 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.1883, allocations: 4 kB / 0.743 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1883, allocations: 4.031 kB / 0.743 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009059/0.1892, allocations: 1.002 MB / 0.744 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.688e-05/0.1893, allocations: 79.28 kB / 0.7441 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.551e-05/0.1893, allocations: 4 kB / 0.7441 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.1894, allocations: 15.86 kB / 0.7441 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.1895, allocations: 8 kB / 0.7441 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.1895, allocations: 19.91 kB / 0.7441 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006982/0.1902, allocations: 0.6689 MB / 0.7448 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1902, allocations: 0 / 0.7448 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001321/0.1915, allocations: 0.5845 MB / 0.7453 GB, free: 4.473 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.001638/0.1932, allocations: 0.6926 MB / 0.746 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001969/0.1951, allocations: 1.994 MB / 0.748 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1951, allocations: 0 / 0.748 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003378/0.1955, allocations: 339.8 kB / 0.7483 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.1957, allocations: 40.62 kB / 0.7483 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2509/0.4467, allocations: 1.816 MB / 0.7501 GB, free: 39.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/0.4471, allocations: 0.965 MB / 0.751 GB, free: 38.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.4472, allocations: 26.11 kB / 0.7511 GB, free: 38.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.172e-06/0.4472, allocations: 1.562 kB / 0.7511 GB, free: 38.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.02122/0.4685, allocations: 14.08 MB / 0.7648 GB, free: 35.88 MB / 0.5606 GB " [Timeout remaining time 660] 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: 10.737683112998639] Failed to read output from testmodel.py, exit status != 0: 0.475046563999058 0.485144012 0.32736492700000003 Calling exit ...