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.001106/0.001106, allocations: 72.83 kB / 20.72 MB, free: 3.77 MB / 18.57 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.001204/0.001204, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 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 0.9875/0.9875, allocations: 177.2 MB / 204.6 MB, free: 5.492 MB / 186.7 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.5914/0.5914, allocations: 115 MB / 376 MB, free: 7.488 MB / 346.7 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.643e-06/1.643e-06, allocations: 0 / 428.8 MB, free: 2.715 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.288e-05, allocations: 10.19 kB / 428.8 MB, free: 2.703 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.00174/0.001762, allocations: 1.462 MB / 430.3 MB, free: 1.23 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004205/0.005967, allocations: 4.038 MB / 434.3 MB, free: 13.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.829e-05/0.006006, allocations: 3.938 kB / 434.3 MB, free: 13.17 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.085e-05/0.006097, allocations: 7.922 kB / 434.3 MB, free: 13.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001759/0.006273, allocations: 43.69 kB / 434.4 MB, free: 13.12 MB / 410.7 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.002002/0.008275, allocations: 1.624 MB / 436 MB, free: 11.49 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.265e-05/0.008368, allocations: 91.67 kB / 436.1 MB, free: 11.4 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.892e-05/0.008397, allocations: 7.984 kB / 436.1 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.674e-05/0.008463, allocations: 55.88 kB / 436.1 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.887e-05/0.008562, allocations: 67.14 kB / 436.2 MB, free: 11.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.008576, allocations: 8 kB / 436.2 MB, free: 11.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002047/0.01062, allocations: 2.409 MB / 438.6 MB, free: 8.852 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004563/0.01108, allocations: 0.7259 MB / 439.4 MB, free: 8.125 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.01123, allocations: 238.9 kB / 439.6 MB, free: 7.891 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001904/0.01313, allocations: 2.733 MB / 442.3 MB, free: 5.152 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.01313, allocations: 0 / 442.3 MB, free: 5.152 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.01313, allocations: 3.984 kB / 442.3 MB, free: 5.148 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.01314, allocations: 0 / 442.3 MB, free: 5.148 MB / 410.7 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.001308/0.01445, allocations: 1.883 MB / 444.2 MB, free: 3.227 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.01448, allocations: 8.031 kB / 444.2 MB, free: 3.219 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004319/0.01491, allocations: 68.84 kB / 444.3 MB, free: 3.152 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.01523, allocations: 0.5014 MB / 444.8 MB, free: 2.602 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.01524, allocations: 8.359 kB / 444.8 MB, free: 2.594 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.01526, allocations: 4.375 kB / 444.8 MB, free: 2.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.01545, allocations: 236 kB / 445 MB, free: 2.344 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-06/0.01545, allocations: 4 kB / 445 MB, free: 2.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.01546, allocations: 3.938 kB / 445 MB, free: 2.336 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.01546, allocations: 0 / 445 MB, free: 2.336 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.01558, allocations: 195.9 kB / 445.2 MB, free: 2.145 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.01579, allocations: 288.1 kB / 445.5 MB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.01596, allocations: 285 kB / 445.8 MB, free: 1.547 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.705e-05/0.01605, allocations: 153.7 kB / 445.9 MB, free: 1.391 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002564/0.01631, allocations: 128.1 kB / 446.1 MB, free: 1.266 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.01646, allocations: 228.9 kB / 446.3 MB, free: 1.023 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/0.01646, allocations: 0 / 446.3 MB, free: 1.023 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000369/0.01683, allocations: 0.5168 MB / 446.8 MB, free: 0.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.01687, allocations: 85.11 kB / 446.9 MB, free: 408 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1528/0.1697, allocations: 1.706 MB / 448.6 MB, free: 23.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.918e-05/0.1697, allocations: 28.25 kB / 448.6 MB, free: 23.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.1699, allocations: 400.4 kB / 449 MB, free: 23.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.1699, allocations: 24.84 kB / 449 MB, free: 23.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002857/0.1702, allocations: 437.5 kB / 449.5 MB, free: 23.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.127e-05/0.1703, allocations: 304.6 kB / 449.8 MB, free: 23.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004829/0.1707, allocations: 0.6385 MB / 450.4 MB, free: 23.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000499/0.1712, allocations: 0.7546 MB / 451.2 MB, free: 22.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003912/0.1752, allocations: 3.256 MB / 454.4 MB, free: 21.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1752, allocations: 0 / 454.4 MB, free: 21.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.003417/0.1786, allocations: 5.647 MB / 460.1 MB, free: 19.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1786, allocations: 9.75 kB / 460.1 MB, free: 19.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.1786, allocations: 0.75 kB / 460.1 MB, free: 19.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1786, allocations: 2.812 kB / 460.1 MB, free: 19.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.1787, allocations: 27.12 kB / 460.1 MB, free: 19.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.1787, allocations: 0.5625 kB / 460.1 MB, free: 19.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003038/0.179, allocations: 317.7 kB / 460.4 MB, free: 19.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.1791, allocations: 17 kB / 460.4 MB, free: 19.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 116 (labels[1],labels[2],labels[3],labels[4],labels[5],labels[6],labels[7],labels[8],labels[9],labels[10],labels[11],labels[12],labels[13],labels[14],labels[15],labels[16],labels[17],labels[18],labels[19],labels[20],labels[21],labels[22],labels[23],labels[24],labels[25],labels[26],labels[27],labels[28],labels[29],labels[30],labels[31],labels[32],labels[33],labels[34],labels[35],labels[36],labels[37],labels[38],labels[39],labels[40],labels[41],labels[42],labels[43],labels[44],labels[45],labels[46],labels[47],labels[48],labels[49],labels[50],labels[51],labels[52],labels[53],labels[54],labels[55],labels[56],labels[57],labels[58],labels[59],labels[60],labels[61],labels[62],labels[63],labels[64],labels[65],labels[66],labels[67],labels[68],labels[69],labels[70],labels[71],labels[72],labels[73],labels[74],labels[75],labels[76],labels[77],labels[78],labels[79],labels[80],labels[81],labels[82],labels[83],labels[84],labels[85],labels[86],labels[87],labels[88],labels[89],labels[90],labels[91],labels[92],labels[93],labels[94],labels[95],labels[96],labels[97],labels[98],labels[99],labels[100],cluSiz[1],cluSiz[2],cluSiz[3],cluSiz[4],cluSiz[5],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.0001844/0.1792, allocations: 187 kB / 460.6 MB, free: 19.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.1793, allocations: 35.05 kB / 460.6 MB, free: 19.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002978/0.1796, allocations: 424.2 kB / 461.1 MB, free: 18.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1796, allocations: 0 / 461.1 MB, free: 18.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.1796, allocations: 0 / 461.1 MB, free: 18.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1796, allocations: 5.516 kB / 461.1 MB, free: 18.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.1799, allocations: 440.1 kB / 461.5 MB, free: 18.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1799, allocations: 1.219 kB / 461.5 MB, free: 18.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.25e-05/0.1799, allocations: 6.016 kB / 461.5 MB, free: 18.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1799, allocations: 4 kB / 461.5 MB, free: 18.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.1799, allocations: 13.91 kB / 461.5 MB, free: 18.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1799, allocations: 0 / 461.5 MB, free: 18.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1799, allocations: 1.5 kB / 461.5 MB, free: 18.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.1802, allocations: 404.2 kB / 461.9 MB, free: 18.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.014e-05/0.1802, allocations: 154.1 kB / 462.1 MB, free: 17.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.716e-05/0.1803, allocations: 13.73 kB / 462.1 MB, free: 17.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.1804, allocations: 3.938 kB / 462.1 MB, free: 17.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.1804, allocations: 6.531 kB / 462.1 MB, free: 17.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/0.1804, allocations: 17.38 kB / 462.1 MB, free: 17.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004148/0.1809, allocations: 0.741 MB / 462.8 MB, free: 17.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1809, allocations: 0 / 462.8 MB, free: 17.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009649/0.1818, allocations: 0.6342 MB / 463.5 MB, free: 16.96 MB / 410.7 MB 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.001167/0.183, allocations: 0.809 MB / 464.3 MB, free: 16.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006194/0.1836, allocations: 1.209 MB / 465.5 MB, free: 15.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/0.1836, allocations: 20 kB / 465.5 MB, free: 15.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.226e-05/0.1837, allocations: 166.4 kB / 465.7 MB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.184, allocations: 68.7 kB / 465.7 MB, free: 15.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.1854, allocations: 2.407 MB / 468.1 MB, free: 13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.1855, allocations: 298.7 kB / 468.4 MB, free: 12.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.519e-05/0.1856, allocations: 33.48 kB / 468.5 MB, free: 12.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.1857, allocations: 77.61 kB / 468.6 MB, free: 12.71 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1857, allocations: 0.625 kB / 468.6 MB, free: 12.71 MB / 410.7 MB Notification: Performance of Templates: time 0.0166/0.2023, allocations: 16.11 MB / 484.7 MB, free: 14.3 MB / 426.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.611905237659812]