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_100boreholes.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.001249/0.001249, allocations: 83.03 kB / 19.94 MB, free: 1.777 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.001362/0.001362, allocations: 163.9 kB / 23.22 MB, free: 4.902 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.363/1.363, allocations: 177.1 MB / 203.5 MB, free: 9.203 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.8887/0.8887, allocations: 114 MB / 373.9 MB, free: 13.27 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_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.5548 GB, free: 2.602 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.588e-05, allocations: 4.156 kB / 0.5548 GB, free: 2.598 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002311/0.002337, allocations: 1.429 MB / 0.5562 GB, free: 1.168 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006491/0.008828, allocations: 3.856 MB / 0.5599 GB, free: 13.3 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-05/0.008878, allocations: 7.938 kB / 0.5599 GB, free: 13.29 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.00898, allocations: 11.86 kB / 0.5599 GB, free: 13.28 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002299/0.00921, allocations: 31.83 kB / 0.56 GB, free: 13.25 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.003919/0.01313, allocations: 1.598 MB / 0.5615 GB, free: 11.64 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.01329, allocations: 95.66 kB / 0.5616 GB, free: 11.55 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.971e-05/0.01332, allocations: 7.984 kB / 0.5616 GB, free: 11.54 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.889e-05/0.01342, allocations: 55.89 kB / 0.5617 GB, free: 11.49 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.01365, allocations: 157.6 kB / 0.5618 GB, free: 11.34 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.649e-05/0.0137, allocations: 16 kB / 0.5618 GB, free: 11.32 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003754/0.01745, allocations: 2.409 MB / 0.5642 GB, free: 8.906 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008451/0.0183, allocations: 0.7811 MB / 0.565 GB, free: 8.121 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003282/0.01863, allocations: 271.5 kB / 0.5652 GB, free: 7.855 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004027/0.02265, allocations: 2.836 MB / 0.568 GB, free: 5.008 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.02266, allocations: 0 / 0.568 GB, free: 5.008 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.02266, allocations: 0 / 0.568 GB, free: 5.008 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.02267, allocations: 0 / 0.568 GB, free: 5.008 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.01224/0.03491, allocations: 1.959 MB / 0.5699 GB, free: 3.004 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.03495, allocations: 8.625 kB / 0.5699 GB, free: 2.996 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005043/0.03545, allocations: 171.6 kB / 0.5701 GB, free: 2.828 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006635/0.03612, allocations: 0.517 MB / 0.5706 GB, free: 2.262 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.03613, allocations: 4.375 kB / 0.5706 GB, free: 2.258 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.03617, allocations: 8.359 kB / 0.5706 GB, free: 2.25 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004706/0.03665, allocations: 395.3 kB / 0.571 GB, free: 1.852 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.03666, allocations: 8 kB / 0.571 GB, free: 1.844 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.03667, allocations: 0 / 0.571 GB, free: 1.844 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.03667, allocations: 0 / 0.571 GB, free: 1.844 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004701/0.03714, allocations: 439.7 kB / 0.5714 GB, free: 1.414 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008922/0.03803, allocations: 0.8493 MB / 0.5722 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005818/0.03862, allocations: 0.5556 MB / 0.5728 GB, free: 15.95 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/0.03895, allocations: 333.6 kB / 0.5731 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006982/0.03965, allocations: 151.6 kB / 0.5732 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004387/0.04009, allocations: 404.8 kB / 0.5736 GB, free: 15.06 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/0.04009, allocations: 7.938 kB / 0.5736 GB, free: 15.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.001523/0.04161, allocations: 1.375 MB / 0.575 GB, free: 13.67 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.04167, allocations: 81.09 kB / 0.575 GB, free: 13.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002378/0.04405, allocations: 2.229 MB / 0.5772 GB, free: 11.31 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.52e-05/0.0441, allocations: 29.7 kB / 0.5773 GB, free: 11.28 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004573/0.04456, allocations: 0.5296 MB / 0.5778 GB, free: 10.74 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.04459, allocations: 19.83 kB / 0.5778 GB, free: 10.72 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004264/0.04502, allocations: 443.4 kB / 0.5782 GB, free: 10.28 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.04515, allocations: 305.1 kB / 0.5785 GB, free: 9.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001922/0.04707, allocations: 2.057 MB / 0.5805 GB, free: 7.922 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002111/0.04919, allocations: 2.234 MB / 0.5827 GB, free: 5.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008606/0.05779, allocations: 4.678 MB / 0.5873 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.0578, allocations: 0 / 0.5873 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006848/0.06465, allocations: 6.252 MB / 0.5934 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.06467, allocations: 17.53 kB / 0.5934 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.06469, allocations: 3.984 kB / 0.5934 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.06471, allocations: 4 kB / 0.5934 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.06484, allocations: 15.98 kB / 0.5934 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.06485, allocations: 0 / 0.5934 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006845/0.06553, allocations: 308.6 kB / 0.5937 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.456e-05/0.0656, allocations: 27.98 kB / 0.5937 GB, free: 10.15 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 116 (cluSiz[5],cluSiz[4],cluSiz[3],cluSiz[2],cluSiz[1],labels[100],labels[99],labels[98],labels[97],labels[96],labels[95],labels[94],labels[93],labels[92],labels[91],labels[90],labels[89],labels[88],labels[87],labels[86],labels[85],labels[84],labels[83],labels[82],labels[81],labels[80],labels[79],labels[78],labels[77],labels[76],labels[75],labels[74],labels[73],labels[72],labels[71],labels[70],labels[69],labels[68],labels[67],labels[66],labels[65],labels[64],labels[63],labels[62],labels[61],labels[60],labels[59],labels[58],labels[57],labels[56],labels[55],labels[54],labels[53],labels[52],labels[51],labels[50],labels[49],labels[48],labels[47],labels[46],labels[45],labels[44],labels[43],labels[42],labels[41],labels[40],labels[39],labels[38],labels[37],labels[36],labels[35],labels[34],labels[33],labels[32],labels[31],labels[30],labels[29],labels[28],labels[27],labels[26],labels[25],labels[24],labels[23],labels[22],labels[21],labels[20],labels[19],labels[18],labels[17],labels[16],labels[15],labels[14],labels[13],labels[12],labels[11],labels[10],labels[9],labels[8],labels[7],labels[6],labels[5],labels[4],labels[3],labels[2],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.0006229/0.06622, allocations: 471.7 kB / 0.5942 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.06635, allocations: 158.7 kB / 0.5943 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.0675, allocations: 1.012 MB / 0.5953 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.06751, allocations: 4 kB / 0.5953 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.06751, allocations: 0 / 0.5953 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.06752, allocations: 0 / 0.5953 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007188/0.06823, allocations: 0.7172 MB / 0.596 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.06824, allocations: 4 kB / 0.596 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.259e-05/0.06831, allocations: 12.02 kB / 0.596 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.06831, allocations: 0 / 0.596 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.06833, allocations: 7.938 kB / 0.596 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.06833, allocations: 0 / 0.596 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.06833, allocations: 0 / 0.596 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.06941, allocations: 1.089 MB / 0.5971 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/0.06957, allocations: 146.7 kB / 0.5972 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.06968, allocations: 11.94 kB / 0.5973 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.06989, allocations: 7.984 kB / 0.5973 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.06993, allocations: 4 kB / 0.5973 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.48e-05/0.06996, allocations: 15.97 kB / 0.5973 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00156/0.07152, allocations: 1.302 MB / 0.5986 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.07152, allocations: 0 / 0.5986 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001562/0.07308, allocations: 0.643 MB / 0.5992 GB, free: 4.465 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.002156/0.07524, allocations: 0.7854 MB / 0.6 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00295/0.07819, allocations: 2.806 MB / 0.6027 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.07819, allocations: 0 / 0.6027 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003643/0.07856, allocations: 339.7 kB / 0.603 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.079, allocations: 52.53 kB / 0.6031 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00365/0.08265, allocations: 2.948 MB / 0.6059 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006594/0.08331, allocations: 0.6511 MB / 0.6066 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001322/0.08344, allocations: 44.75 kB / 0.6066 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.08355, allocations: 28.42 kB / 0.6066 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of SimCode: time 8.41e-07/0.08355, allocations: 0 / 0.6066 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of Templates: time 0.02577/0.1093, allocations: 14.38 MB / 0.6207 GB, free: 14.51 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 39.98900344595313] Failed to read output from testmodel.py, exit status != 0: 0.11777809262275696 0.132628093 0.10697439600000001 Calling exit ...