Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001687/0.001687, allocations: 71.75 kB / 20.51 MB, free: 1.273 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.002247/0.002247, allocations: 162.9 kB / 23.76 MB, free: 4.445 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.475/1.475, allocations: 177.2 MB / 204.1 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9216/0.9216, allocations: 113.9 MB / 374.5 MB, free: 12.89 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 660] "Notification: IBPSA 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.002134/0.002134, allocations: 67.67 kB / 0.5551 GB, free: 2.688 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1601, allocations: 89.15 MB / 0.6422 GB, free: 9.5 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002742/0.1628, allocations: 1.408 MB / 0.6435 GB, free: 8.082 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006878/0.1697, allocations: 3.845 MB / 0.6473 GB, free: 4.223 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.343e-05/0.1698, allocations: 7.938 kB / 0.6473 GB, free: 4.215 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.1699, allocations: 11.86 kB / 0.6473 GB, free: 4.203 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.1701, allocations: 35.83 kB / 0.6473 GB, free: 4.168 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'. Notification: Performance of NFTyping.typeClassSections: time 0.004259/0.1744, allocations: 1.589 MB / 0.6489 GB, free: 2.578 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.1745, allocations: 87.69 kB / 0.649 GB, free: 2.492 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.106e-05/0.1745, allocations: 4 kB / 0.649 GB, free: 2.488 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.146e-05/0.1746, allocations: 51.83 kB / 0.649 GB, free: 2.438 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/0.1749, allocations: 147.6 kB / 0.6492 GB, free: 2.293 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.638e-05/0.1749, allocations: 12 kB / 0.6492 GB, free: 2.281 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004092/0.179, allocations: 2.394 MB / 0.6515 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002524/0.1793, allocations: 275.8 kB / 0.6518 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002516/0.1795, allocations: 222.9 kB / 0.652 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00331/0.1828, allocations: 2.141 MB / 0.6541 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1828, allocations: 4 kB / 0.6541 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1828, allocations: 3.938 kB / 0.6541 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.45e-05/0.1829, allocations: 0 / 0.6541 GB, free: 13.24 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.01042/0.1933, allocations: 1.288 MB / 0.6554 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1933, allocations: 8.031 kB / 0.6554 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004073/0.1937, allocations: 88.25 kB / 0.6554 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004534/0.1942, allocations: 299.2 kB / 0.6557 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.1942, allocations: 8.375 kB / 0.6557 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.1942, allocations: 15.92 kB / 0.6558 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004719/0.1947, allocations: 391.1 kB / 0.6561 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1947, allocations: 0 / 0.6561 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.1947, allocations: 4 kB / 0.6561 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1947, allocations: 4 kB / 0.6561 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004696/0.1952, allocations: 431.7 kB / 0.6565 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006184/0.1958, allocations: 0.5732 MB / 0.6571 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005793/0.1964, allocations: 0.5594 MB / 0.6577 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003411/0.1967, allocations: 341.7 kB / 0.658 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007109/0.1975, allocations: 135.8 kB / 0.6581 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004551/0.1979, allocations: 412.8 kB / 0.6585 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.542e-06/0.1979, allocations: 0 / 0.6585 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001465/0.1994, allocations: 1.289 MB / 0.6598 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/0.1994, allocations: 85.09 kB / 0.6598 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.2008, allocations: 1.219 MB / 0.661 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.566e-05/0.2008, allocations: 29.7 kB / 0.6611 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.201, allocations: 265.9 kB / 0.6613 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/0.2011, allocations: 23.83 kB / 0.6613 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003659/0.2014, allocations: 351.6 kB / 0.6617 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.2016, allocations: 310 kB / 0.662 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.2029, allocations: 1.373 MB / 0.6633 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/0.2044, allocations: 1.505 MB / 0.6648 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007753/0.2122, allocations: 3.556 MB / 0.6683 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.2122, allocations: 0 / 0.6683 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004881/0.2171, allocations: 4.019 MB / 0.6722 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.2171, allocations: 8 kB / 0.6722 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.2171, allocations: 0 / 0.6722 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.2171, allocations: 4 kB / 0.6722 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.2173, allocations: 15.98 kB / 0.6722 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.026e-06/0.2173, allocations: 0 / 0.6722 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00051/0.2178, allocations: 237.3 kB / 0.6724 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.664e-05/0.2178, allocations: 27.98 kB / 0.6725 GB, free: 10.07 MB / 0.5762 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.0003476/0.2182, allocations: 241.6 kB / 0.6727 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.784e-05/0.2183, allocations: 75.28 kB / 0.6728 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.2193, allocations: 0.94 MB / 0.6737 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2194, allocations: 3.938 kB / 0.6737 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2194, allocations: 0 / 0.6737 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.2194, allocations: 4 kB / 0.6737 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004702/0.2198, allocations: 447.3 kB / 0.6741 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2198, allocations: 3.938 kB / 0.6741 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.642e-05/0.2199, allocations: 19.94 kB / 0.6741 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.2199, allocations: 4 kB / 0.6741 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.2199, allocations: 4 kB / 0.6741 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.2199, allocations: 0 / 0.6741 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/0.2199, allocations: 4 kB / 0.6741 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.221, allocations: 1.002 MB / 0.6751 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.2211, allocations: 83.28 kB / 0.6752 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.858e-05/0.2211, allocations: 0 / 0.6752 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.2213, allocations: 19.92 kB / 0.6752 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.2213, allocations: 4 kB / 0.6752 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.277e-05/0.2214, allocations: 15.97 kB / 0.6752 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008057/0.2222, allocations: 0.6689 MB / 0.6759 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2222, allocations: 0 / 0.6759 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001527/0.2237, allocations: 0.5845 MB / 0.6765 GB, free: 5.887 MB / 0.5762 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.002228/0.2259, allocations: 0.7053 MB / 0.6772 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0022/0.2281, allocations: 1.997 MB / 0.6791 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2281, allocations: 4 kB / 0.6791 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003655/0.2285, allocations: 331.8 kB / 0.6794 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.2288, allocations: 40.53 kB / 0.6795 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/0.2311, allocations: 1.774 MB / 0.6812 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.2315, allocations: 368.1 kB / 0.6815 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001367/0.2316, allocations: 40.45 kB / 0.6816 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.2317, allocations: 28.48 kB / 0.6816 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of SimCode: time 9.12e-07/0.2317, allocations: 0 / 0.6816 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of Templates: time 0.02546/0.2572, allocations: 14.03 MB / 0.6953 GB, free: 2.633 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.07944938307628] Failed to read output from testmodel.py, exit status != 0: 0.2659198639448732 0.532404345 0.34703559500000003 Calling exit ...