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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,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=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 101.1 kB / 16.4 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 192 kB / 17.34 MB, free: 5.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.744/0.744, allocations: 122.9 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 63.97 kB / 0.5686 GB, free: 28.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1291, allocations: 77.94 MB / 0.6447 GB, free: 8.914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002265/0.1314, allocations: 1.417 MB / 0.6461 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00593/0.1374, allocations: 4.204 MB / 0.6502 GB, free: 3.262 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/0.1375, allocations: 4 kB / 0.6502 GB, free: 3.258 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.1376, allocations: 15.86 kB / 0.6502 GB, free: 3.242 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.1378, allocations: 35.78 kB / 0.6502 GB, free: 3.207 MB / 494.1 MB [/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/IBPSA 4.0.0-master/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.003628/0.1415, allocations: 1.499 MB / 0.6517 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000136/0.1416, allocations: 83.75 kB / 0.6518 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.932e-05/0.1417, allocations: 11.88 kB / 0.6518 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.079e-05/0.1418, allocations: 51.88 kB / 0.6518 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.142, allocations: 161.6 kB / 0.652 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.316e-05/0.142, allocations: 12 kB / 0.652 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003346/0.1454, allocations: 2.204 MB / 0.6541 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007207/0.1461, allocations: 0.7614 MB / 0.6549 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004179/0.1466, allocations: 0.5002 MB / 0.6554 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003302/0.1499, allocations: 2.557 MB / 0.6579 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1499, allocations: 0 / 0.6579 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1499, allocations: 0 / 0.6579 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.1499, allocations: 0 / 0.6579 GB, free: 11.35 MB / 0.4981 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.01089/0.1608, allocations: 2.046 MB / 0.6599 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.1609, allocations: 8.625 kB / 0.6599 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004387/0.1613, allocations: 171.6 kB / 0.66 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005756/0.1619, allocations: 0.5781 MB / 0.6606 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.1619, allocations: 4.375 kB / 0.6606 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/0.162, allocations: 8.375 kB / 0.6606 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004257/0.1624, allocations: 403.4 kB / 0.661 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.1624, allocations: 0 / 0.661 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.1624, allocations: 0 / 0.661 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1624, allocations: 0 / 0.661 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000433/0.1629, allocations: 431.8 kB / 0.6614 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008282/0.1637, allocations: 0.9382 MB / 0.6623 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005131/0.1642, allocations: 0.5712 MB / 0.6629 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003452/0.1646, allocations: 333.6 kB / 0.6632 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001194/0.1658, allocations: 1.028 MB / 0.6642 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000415/0.1662, allocations: 408.8 kB / 0.6646 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.634e-06/0.1663, allocations: 0 / 0.6646 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001436/0.1677, allocations: 1.375 MB / 0.6659 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.1678, allocations: 85.09 kB / 0.666 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002259/0.17, allocations: 2.225 MB / 0.6682 GB, free: 264 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.857e-05/0.1701, allocations: 33.69 kB / 0.6682 GB, free: 224 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004167/0.1705, allocations: 0.5258 MB / 0.6687 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.837e-05/0.1706, allocations: 23.84 kB / 0.6688 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004452/0.171, allocations: 455.5 kB / 0.6692 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1711, allocations: 305.1 kB / 0.6695 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001762/0.1729, allocations: 2.053 MB / 0.6715 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001871/0.1748, allocations: 2.232 MB / 0.6737 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008008/0.1828, allocations: 4.689 MB / 0.6782 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.1828, allocations: 0 / 0.6782 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006462/0.1893, allocations: 6.252 MB / 0.6844 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.1894, allocations: 4 kB / 0.6844 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/0.1894, allocations: 11.88 kB / 0.6844 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.1894, allocations: 0 / 0.6844 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.1896, allocations: 24.02 kB / 0.6844 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.1896, allocations: 4 kB / 0.6844 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006713/0.1903, allocations: 304.6 kB / 0.6847 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.637e-05/0.1903, allocations: 27.98 kB / 0.6847 GB, free: 15.07 MB / 0.5294 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.0005903/0.1909, allocations: 474.6 kB / 0.6852 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.1911, allocations: 154.7 kB / 0.6853 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003592/0.1914, allocations: 148 kB / 0.6855 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.1915, allocations: 3.984 kB / 0.6855 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1915, allocations: 0 / 0.6855 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1915, allocations: 0 / 0.6855 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006757/0.1922, allocations: 0.7672 MB / 0.6862 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1922, allocations: 0 / 0.6862 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.663e-05/0.1922, allocations: 15.92 kB / 0.6862 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1923, allocations: 4.031 kB / 0.6862 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.1923, allocations: 0 / 0.6862 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.1923, allocations: 7.938 kB / 0.6862 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1923, allocations: 0 / 0.6862 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009727/0.1933, allocations: 1.089 MB / 0.6873 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.1935, allocations: 235.8 kB / 0.6875 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.1936, allocations: 0 / 0.6875 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.1938, allocations: 7.984 kB / 0.6875 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.1939, allocations: 4 kB / 0.6875 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.539e-05/0.1939, allocations: 11.97 kB / 0.6875 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001494/0.1954, allocations: 1.305 MB / 0.6888 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.01e-07/0.1954, allocations: 0 / 0.6888 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001457/0.1969, allocations: 0.6313 MB / 0.6894 GB, free: 10.1 MB / 0.5294 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.001735/0.1986, allocations: 0.7094 MB / 0.6901 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002962/0.2016, allocations: 3.552 MB / 0.6936 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2016, allocations: 0 / 0.6936 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003275/0.2019, allocations: 339.8 kB / 0.6939 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.2024, allocations: 59.98 kB / 0.694 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003119/0.2055, allocations: 2.954 MB / 0.6969 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007534/0.2063, allocations: 1.235 MB / 0.6981 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001454/0.2065, allocations: 32.56 kB / 0.6981 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.2066, allocations: 31.34 kB / 0.6981 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of SimCode: time 4.91e-07/0.2066, allocations: 0 / 0.6981 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of Templates: time 0.02422/0.2308, allocations: 14.43 MB / 0.7122 GB, free: 2.73 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (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)