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.001761/0.001761, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002089/0.002089, allocations: 190.8 kB / 22.23 MB, free: 5.105 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.473/1.473, allocations: 225.6 MB / 251 MB, free: 13.03 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.9163/0.9163, allocations: 145 MB / 451.2 MB, free: 5.441 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.002037/0.002037, allocations: 64.52 kB / 0.6254 GB, free: 15.46 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1693, allocations: 86.72 MB / 0.7101 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002566/0.1719, allocations: 1.422 MB / 0.7115 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006948/0.1788, allocations: 4.281 MB / 0.7157 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.938e-05/0.1789, allocations: 0 / 0.7157 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.179, allocations: 11.86 kB / 0.7157 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002314/0.1792, allocations: 31.83 kB / 0.7157 GB, free: 2.973 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.004234/0.1835, allocations: 1.597 MB / 0.7173 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.1836, allocations: 91.73 kB / 0.7173 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.288e-05/0.1837, allocations: 7.984 kB / 0.7174 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.518e-05/0.1838, allocations: 51.78 kB / 0.7174 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.184, allocations: 151.6 kB / 0.7175 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.115e-05/0.1841, allocations: 16 kB / 0.7176 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00495/0.189, allocations: 2.613 MB / 0.7201 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002568/0.1893, allocations: 267.8 kB / 0.7204 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002842/0.1896, allocations: 278.3 kB / 0.7206 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003594/0.1932, allocations: 2.154 MB / 0.7227 GB, free: 11.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1932, allocations: 0 / 0.7227 GB, free: 11.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1932, allocations: 3.938 kB / 0.7227 GB, free: 11.74 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.1932, allocations: 0 / 0.7227 GB, free: 11.74 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.01093/0.2041, allocations: 1.272 MB / 0.724 GB, free: 10.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.2042, allocations: 8.031 kB / 0.724 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004361/0.2046, allocations: 96.23 kB / 0.7241 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004569/0.2051, allocations: 307.1 kB / 0.7244 GB, free: 9.996 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.2051, allocations: 12.3 kB / 0.7244 GB, free: 9.984 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.136e-05/0.2051, allocations: 4.375 kB / 0.7244 GB, free: 9.98 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004931/0.2056, allocations: 399.5 kB / 0.7248 GB, free: 9.578 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.2056, allocations: 0 / 0.7248 GB, free: 9.578 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.2056, allocations: 4 kB / 0.7248 GB, free: 9.574 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-06/0.2056, allocations: 3.984 kB / 0.7248 GB, free: 9.57 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005388/0.2062, allocations: 435.7 kB / 0.7252 GB, free: 9.145 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006614/0.2068, allocations: 0.6127 MB / 0.7258 GB, free: 8.488 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006657/0.2075, allocations: 0.5594 MB / 0.7263 GB, free: 7.91 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003488/0.2079, allocations: 333.7 kB / 0.7267 GB, free: 7.578 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006966/0.2085, allocations: 135.8 kB / 0.7268 GB, free: 7.445 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004766/0.209, allocations: 412.8 kB / 0.7272 GB, free: 7.023 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.209, allocations: 0 / 0.7272 GB, free: 7.023 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.001521/0.2105, allocations: 1.289 MB / 0.7284 GB, free: 5.727 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.2106, allocations: 85.23 kB / 0.7285 GB, free: 5.625 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.2119, allocations: 1.223 MB / 0.7297 GB, free: 4.387 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.571e-05/0.212, allocations: 29.7 kB / 0.7297 GB, free: 4.352 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/0.2122, allocations: 265.9 kB / 0.73 GB, free: 4.086 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.2123, allocations: 23.84 kB / 0.73 GB, free: 4.062 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003692/0.2126, allocations: 351.6 kB / 0.7304 GB, free: 3.715 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.2128, allocations: 310 kB / 0.7307 GB, free: 3.406 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/0.2142, allocations: 1.369 MB / 0.732 GB, free: 2.035 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001515/0.2157, allocations: 1.505 MB / 0.7335 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007599/0.2233, allocations: 3.56 MB / 0.7369 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.2233, allocations: 0 / 0.7369 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004697/0.228, allocations: 4.019 MB / 0.7409 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.228, allocations: 11.94 kB / 0.7409 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.228, allocations: 0 / 0.7409 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.2281, allocations: 4 kB / 0.7409 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.2282, allocations: 15.98 kB / 0.7409 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2282, allocations: 0 / 0.7409 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005251/0.2287, allocations: 241.4 kB / 0.7411 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-05/0.2288, allocations: 19.98 kB / 0.7411 GB, free: 8.523 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.0004128/0.2292, allocations: 256.6 kB / 0.7414 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.807e-05/0.2293, allocations: 71.28 kB / 0.7415 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.2305, allocations: 0.9476 MB / 0.7424 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/0.2305, allocations: 4 kB / 0.7424 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.2305, allocations: 0 / 0.7424 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2305, allocations: 0 / 0.7424 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005408/0.2311, allocations: 472 kB / 0.7428 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.2311, allocations: 7.984 kB / 0.7428 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.289e-05/0.2311, allocations: 11.92 kB / 0.7428 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.2312, allocations: 0 / 0.7428 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.2312, allocations: 4 kB / 0.7429 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.2312, allocations: 0 / 0.7429 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2312, allocations: 0 / 0.7429 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.2322, allocations: 1.006 MB / 0.7438 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.406e-05/0.2323, allocations: 87.28 kB / 0.7439 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.211e-05/0.2324, allocations: 4 kB / 0.7439 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.2325, allocations: 7.984 kB / 0.7439 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.2326, allocations: 0 / 0.7439 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/0.2326, allocations: 19.97 kB / 0.7439 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000786/0.2334, allocations: 0.6728 MB / 0.7446 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2334, allocations: 0 / 0.7446 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001535/0.2349, allocations: 0.5884 MB / 0.7452 GB, free: 4.297 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.001805/0.2368, allocations: 0.7016 MB / 0.7459 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002236/0.239, allocations: 2.001 MB / 0.7478 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.239, allocations: 0 / 0.7478 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003891/0.2394, allocations: 335.8 kB / 0.7481 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.2397, allocations: 40.53 kB / 0.7482 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2889/0.5286, allocations: 1.764 MB / 0.7499 GB, free: 39.35 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004466/0.529, allocations: 0.9642 MB / 0.7508 GB, free: 38.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001755/0.5292, allocations: 33.62 kB / 0.7509 GB, free: 38.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.5293, allocations: 26.62 kB / 0.7509 GB, free: 38.65 MB / 0.5606 GB Notification: Performance of SimCode: time 9.02e-07/0.5293, allocations: 0.875 kB / 0.7509 GB, free: 38.65 MB / 0.5606 GB Notification: Performance of Templates: time 0.02434/0.5537, allocations: 13.85 MB / 0.7644 GB, free: 35.9 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.181759890168905] Failed to read output from testmodel.py, exit status != 0: 0.5610799556598067 0.572576608 0.37652905200000003 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f25dba797b0>