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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 192.6 kB / 7.807 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4552/0.4552, allocations: 90.85 MB / 99.07 MB, free: 14.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.218/1.218, allocations: 221.4 MB / 342.8 MB, free: 5.191 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008766/0.0008767, allocations: 91.38 kB / 415.5 MB, free: 9.844 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.012e-05/1.015e-05, allocations: 0 / 493.9 MB, free: 11.51 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3272, allocations: 72.3 MB / 0.5529 GB, free: 44.77 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1407/0.4679, allocations: 124.2 MB / 0.6742 GB, free: 400 kB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.4682, allocations: 115.9 kB / 0.6743 GB, free: 284 kB / 490.7 MB [/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 FrontEnd: time 0.3439/0.8121, allocations: 34.54 MB / 0.7081 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.567e-05/0.8122, allocations: 22.44 kB / 0.7081 GB, free: 130.3 MB / 0.5105 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.002587/0.8148, allocations: 1.571 MB / 0.7096 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.8148, allocations: 6.562 kB / 0.7096 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004931/0.8153, allocations: 175.8 kB / 0.7098 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.8164, allocations: 0.758 MB / 0.7105 GB, free: 129 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.8164, allocations: 3.719 kB / 0.7105 GB, free: 129 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.8166, allocations: 19.38 kB / 0.7106 GB, free: 129 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002805/0.8168, allocations: 423.5 kB / 0.711 GB, free: 129 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.8171, allocations: 386.2 kB / 0.7113 GB, free: 129 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.8171, allocations: 0 / 0.7113 GB, free: 129 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.8171, allocations: 3.875 kB / 0.7113 GB, free: 129 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.8171, allocations: 0 / 0.7113 GB, free: 129 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009078/0.8181, allocations: 1.124 MB / 0.7124 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003344/0.8184, allocations: 0.5513 MB / 0.713 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.8186, allocations: 333.6 kB / 0.7133 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007274/0.8193, allocations: 1.046 MB / 0.7143 GB, free: 127.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002543/0.8196, allocations: 394.1 kB / 0.7147 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 3.417e-06/0.8196, allocations: 0 / 0.7147 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0007031/0.8203, allocations: 0.8238 MB / 0.7155 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.8204, allocations: 88.17 kB / 0.7156 GB, free: 127.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.8218, allocations: 1.849 MB / 0.7174 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.254e-05/0.8219, allocations: 29.64 kB / 0.7174 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.8222, allocations: 384.9 kB / 0.7178 GB, free: 126.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.8222, allocations: 16.12 kB / 0.7178 GB, free: 126.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.944e-05/0.8223, allocations: 0 / 0.7178 GB, free: 126.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.8225, allocations: 446.1 kB / 0.7182 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/0.8241, allocations: 2.097 MB / 0.7203 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/0.8259, allocations: 2.269 MB / 0.7225 GB, free: 126 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002198/0.8281, allocations: 2.889 MB / 0.7253 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.8281, allocations: 0 / 0.7253 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.01058/0.8387, allocations: 12.27 MB / 0.7373 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.8388, allocations: 7.562 kB / 0.7373 GB, free: 115 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001785/0.8389, allocations: 56 kB / 0.7373 GB, free: 115 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.197e-05/0.839, allocations: 4 kB / 0.7373 GB, free: 115 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006959/0.8397, allocations: 147.7 kB / 0.7375 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.8397, allocations: 4 kB / 0.7375 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009759/0.8407, allocations: 302.2 kB / 0.7378 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/0.8408, allocations: 139 kB / 0.7379 GB, free: 114.4 MB / 0.5105 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2,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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000211/0.8411, allocations: 172.5 kB / 0.7381 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.391e-05/0.8412, allocations: 143.7 kB / 0.7382 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008214/0.842, allocations: 0.7966 MB / 0.739 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.842, allocations: 6.906 kB / 0.739 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.842, allocations: 0 / 0.739 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.842, allocations: 0 / 0.739 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005587/0.8426, allocations: 0.7403 MB / 0.7397 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.8426, allocations: 4 kB / 0.7397 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.639e-05/0.8427, allocations: 7.938 kB / 0.7397 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.8427, allocations: 7.875 kB / 0.7397 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.8427, allocations: 4 kB / 0.7397 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.8427, allocations: 0 / 0.7397 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.8427, allocations: 0 / 0.7397 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005274/0.8433, allocations: 0.8718 MB / 0.7406 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.8434, allocations: 215.5 kB / 0.7408 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.8435, allocations: 3.5 kB / 0.7408 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.8438, allocations: 7.469 kB / 0.7408 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.8438, allocations: 7.469 kB / 0.7408 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.813e-05/0.8439, allocations: 15.55 kB / 0.7408 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001026/0.8449, allocations: 1.196 MB / 0.742 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00247/0.8474, allocations: 0.7314 MB / 0.7427 GB, free: 110 MB / 0.5105 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002094/0.8495, allocations: 0.8344 MB / 0.7435 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002077/0.8516, allocations: 3.409 MB / 0.7469 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.8516, allocations: 0 / 0.7469 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.8518, allocations: 335.5 kB / 0.7472 GB, free: 106 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.8521, allocations: 61.98 kB / 0.7472 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.8544, allocations: 2.385 MB / 0.7496 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006142/0.855, allocations: 1.31 MB / 0.7508 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of SimCode: time 5.01e-07/0.855, allocations: 0 / 0.7508 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.02193/0.877, allocations: 14.39 MB / 0.7649 GB, free: 93.57 MB / 0.5105 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)