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.001551/0.001551, allocations: 74.98 kB / 19.93 MB, free: 1.77 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.001666/0.001666, allocations: 171 kB / 23.22 MB, free: 4.887 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.384/1.384, allocations: 177.1 MB / 203.5 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 179] 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.8898/0.8898, allocations: 114 MB / 373.9 MB, free: 13.23 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: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.5548 GB, free: 2.555 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.364e-05/3.555e-05, allocations: 3.562 kB / 0.5548 GB, free: 2.551 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003103/0.003139, allocations: 1.424 MB / 0.5562 GB, free: 1.129 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006727/0.009865, allocations: 3.852 MB / 0.5599 GB, free: 13.26 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.565e-05/0.009911, allocations: 7.938 kB / 0.5599 GB, free: 13.25 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.01003, allocations: 15.8 kB / 0.5599 GB, free: 13.24 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.01024, allocations: 31.83 kB / 0.56 GB, free: 13.21 MB / 478.1 MB [/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.003651/0.01389, allocations: 1.602 MB / 0.5615 GB, free: 11.61 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.01403, allocations: 99.59 kB / 0.5616 GB, free: 11.51 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.709e-05/0.01407, allocations: 4 kB / 0.5616 GB, free: 11.5 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.01418, allocations: 63.86 kB / 0.5617 GB, free: 11.44 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002486/0.01443, allocations: 139.7 kB / 0.5618 GB, free: 11.3 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.531e-05/0.01447, allocations: 12 kB / 0.5618 GB, free: 11.29 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003497/0.01797, allocations: 2.401 MB / 0.5642 GB, free: 8.887 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002375/0.01821, allocations: 279.9 kB / 0.5644 GB, free: 8.613 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.01841, allocations: 152 kB / 0.5646 GB, free: 8.465 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00307/0.02148, allocations: 2.451 MB / 0.567 GB, free: 6.004 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.02148, allocations: 0 / 0.567 GB, free: 6.004 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.02148, allocations: 0 / 0.567 GB, free: 6.004 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.02149, allocations: 0 / 0.567 GB, free: 6.004 MB / 478.1 MB 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.01106/0.03255, allocations: 1.264 MB / 0.5682 GB, free: 4.703 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.03259, allocations: 8.625 kB / 0.5682 GB, free: 4.695 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000411/0.033, allocations: 92.25 kB / 0.5683 GB, free: 4.605 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.03341, allocations: 314.3 kB / 0.5686 GB, free: 4.262 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.03343, allocations: 16.3 kB / 0.5686 GB, free: 4.246 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/0.03347, allocations: 4.375 kB / 0.5686 GB, free: 4.242 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004712/0.03394, allocations: 391.3 kB / 0.569 GB, free: 3.848 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.03395, allocations: 4 kB / 0.569 GB, free: 3.844 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.03396, allocations: 0 / 0.569 GB, free: 3.844 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.03397, allocations: 3.938 kB / 0.569 GB, free: 3.84 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004839/0.03445, allocations: 435.7 kB / 0.5694 GB, free: 3.414 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005865/0.03504, allocations: 0.5732 MB / 0.57 GB, free: 2.809 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005675/0.0356, allocations: 0.5555 MB / 0.5705 GB, free: 2.234 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003456/0.03595, allocations: 333.7 kB / 0.5709 GB, free: 1.902 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006812/0.03663, allocations: 143.7 kB / 0.571 GB, free: 1.762 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004474/0.03708, allocations: 408.8 kB / 0.5714 GB, free: 1.344 MB / 478.1 MB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.03708, allocations: 0 / 0.5714 GB, free: 1.344 MB / 478.1 MB Notification: Performance of matching and sorting (n=8): time 0.001635/0.03871, allocations: 1.293 MB / 0.5726 GB, free: 44 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.03882, allocations: 89.09 kB / 0.5727 GB, free: 15.94 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.0402, allocations: 1.211 MB / 0.5739 GB, free: 14.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.332e-05/0.04025, allocations: 33.69 kB / 0.5739 GB, free: 14.67 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.04046, allocations: 262.1 kB / 0.5742 GB, free: 14.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.0405, allocations: 27.84 kB / 0.5742 GB, free: 14.38 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003554/0.04086, allocations: 347.6 kB / 0.5745 GB, free: 14.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.041, allocations: 310 kB / 0.5748 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.04237, allocations: 1.369 MB / 0.5762 GB, free: 12.36 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/0.04386, allocations: 1.505 MB / 0.5777 GB, free: 10.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007432/0.05129, allocations: 3.556 MB / 0.5811 GB, free: 7.199 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.05129, allocations: 4 kB / 0.5811 GB, free: 7.195 MB / 494.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004698/0.05599, allocations: 4.007 MB / 0.585 GB, free: 3.152 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.05601, allocations: 7.938 kB / 0.585 GB, free: 3.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/0.05603, allocations: 7.938 kB / 0.5851 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.05605, allocations: 0 / 0.5851 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.05619, allocations: 15.98 kB / 0.5851 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.0562, allocations: 4 kB / 0.5851 GB, free: 3.117 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005235/0.05672, allocations: 245.4 kB / 0.5853 GB, free: 2.875 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.734e-05/0.05678, allocations: 27.97 kB / 0.5853 GB, free: 2.848 MB / 494.1 MB 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.0003255/0.05711, allocations: 245.5 kB / 0.5856 GB, free: 2.598 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.703e-05/0.05718, allocations: 75.23 kB / 0.5856 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.05828, allocations: 0.94 MB / 0.5866 GB, free: 1.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.05829, allocations: 0 / 0.5866 GB, free: 1.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.05829, allocations: 0 / 0.5866 GB, free: 1.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.0583, allocations: 4.031 kB / 0.5866 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004494/0.05874, allocations: 447.4 kB / 0.587 GB, free: 1.102 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.05875, allocations: 0 / 0.587 GB, free: 1.102 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.46e-05/0.05882, allocations: 7.984 kB / 0.587 GB, free: 1.094 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.05883, allocations: 0 / 0.587 GB, free: 1.094 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.05884, allocations: 7.938 kB / 0.587 GB, free: 1.086 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.05884, allocations: 0 / 0.587 GB, free: 1.086 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.05884, allocations: 0 / 0.587 GB, free: 1.086 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.05985, allocations: 1.006 MB / 0.588 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.05995, allocations: 91.42 kB / 0.5881 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.96e-05/0.06001, allocations: 3.75 kB / 0.5881 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.06015, allocations: 11.92 kB / 0.5881 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.06019, allocations: 4 kB / 0.5881 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-05/0.06023, allocations: 11.97 kB / 0.5881 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007855/0.06102, allocations: 0.6689 MB / 0.5888 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.06102, allocations: 0 / 0.5888 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001615/0.06263, allocations: 0.5923 MB / 0.5893 GB, free: 14.67 MB / 0.4981 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.00223/0.06486, allocations: 0.7922 MB / 0.5901 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002305/0.06717, allocations: 1.993 MB / 0.5921 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.06717, allocations: 7.938 kB / 0.5921 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000359/0.06753, allocations: 331.8 kB / 0.5924 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.06791, allocations: 42.44 kB / 0.5924 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.07018, allocations: 1.768 MB / 0.5941 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.07055, allocations: 372.1 kB / 0.5945 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000129/0.07068, allocations: 36.47 kB / 0.5945 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.0708, allocations: 28.47 kB / 0.5946 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of SimCode: time 6.91e-07/0.0708, allocations: 0 / 0.5946 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of Templates: time 0.02643/0.09723, allocations: 14.05 MB / 0.6083 GB, free: 11.35 MB / 0.5137 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 -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: 6.318651951849461] Failed to read output from testmodel.py, exit status != 0: 0.10636250302195549 0.11987757699999994 0.09542153599999995 Calling exit ...