Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_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.ClusterBoreholes_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_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.001055/0.001055, allocations: 191.6 kB / 7.806 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.445/0.445, allocations: 90.85 MB / 99.07 MB, free: 14.94 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.193/1.193, allocations: 221.4 MB / 342.8 MB, free: 5.27 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.0009671/0.0009673, allocations: 95.8 kB / 415.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.255e-06/8.275e-06, allocations: 4 kB / 493.9 MB, free: 8.031 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2827, allocations: 72.29 MB / 0.5529 GB, free: 73.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1051/0.3879, allocations: 106 MB / 0.6565 GB, free: 3.953 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.3882, allocations: 99.92 kB / 0.6566 GB, free: 3.855 MB / 474.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.03924/0.4274, allocations: 13.13 MB / 0.6694 GB, free: 6.762 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.105e-05/0.4275, allocations: 16 kB / 0.6694 GB, free: 6.746 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.001311/0.4288, allocations: 0.9937 MB / 0.6704 GB, free: 5.703 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.4289, allocations: 8.031 kB / 0.6704 GB, free: 5.695 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001949/0.4291, allocations: 110.5 kB / 0.6705 GB, free: 5.586 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007295/0.4298, allocations: 0.5228 MB / 0.671 GB, free: 5.016 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.4298, allocations: 0 / 0.671 GB, free: 5.016 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.326e-05/0.4299, allocations: 0 / 0.671 GB, free: 5.016 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005104/0.4304, allocations: 399.4 kB / 0.6714 GB, free: 4.625 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003614/0.4308, allocations: 269.3 kB / 0.6717 GB, free: 4.355 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.4308, allocations: 0 / 0.6717 GB, free: 4.355 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.4308, allocations: 0 / 0.6717 GB, free: 4.355 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.4309, allocations: 0 / 0.6717 GB, free: 4.355 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006726/0.4316, allocations: 0.573 MB / 0.6722 GB, free: 3.742 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.4318, allocations: 218.3 kB / 0.6724 GB, free: 3.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.4321, allocations: 204.7 kB / 0.6726 GB, free: 3.316 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.3e-05/0.4322, allocations: 24.72 kB / 0.6727 GB, free: 3.289 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.4322, allocations: 35.56 kB / 0.6727 GB, free: 3.246 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.4322, allocations: 3.188 kB / 0.6727 GB, free: 3.246 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0008502/0.4331, allocations: 0.562 MB / 0.6732 GB, free: 2.676 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.4331, allocations: 51.41 kB / 0.6733 GB, free: 2.613 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.4343, allocations: 1.134 MB / 0.6744 GB, free: 1.473 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.086e-05/0.4343, allocations: 25.7 kB / 0.6744 GB, free: 1.441 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.4345, allocations: 253.5 kB / 0.6747 GB, free: 1.188 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.4346, allocations: 0 / 0.6747 GB, free: 1.188 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.4346, allocations: 0 / 0.6747 GB, free: 1.188 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.4347, allocations: 345.8 kB / 0.675 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007552/0.4355, allocations: 0.6958 MB / 0.6757 GB, free: 152 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007736/0.4363, allocations: 0.6998 MB / 0.6764 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008251/0.4371, allocations: 0.7319 MB / 0.6771 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4371, allocations: 7.938 kB / 0.6771 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003052/0.4402, allocations: 2.646 MB / 0.6797 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/0.4403, allocations: 10.03 kB / 0.6797 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001063/0.4404, allocations: 28 kB / 0.6797 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.4404, allocations: 0 / 0.6797 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.371e-05/0.4405, allocations: 19.95 kB / 0.6797 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.4405, allocations: 1.641 kB / 0.6797 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.4407, allocations: 66.84 kB / 0.6798 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.4409, allocations: 83.91 kB / 0.6799 GB, free: 11.85 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 105 (cmp,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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002178/0.4411, allocations: 158.2 kB / 0.68 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.4412, allocations: 110.4 kB / 0.6801 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/0.4428, allocations: 0.7968 MB / 0.6809 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.4428, allocations: 2.438 kB / 0.6809 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.4428, allocations: 0 / 0.6809 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4428, allocations: 0 / 0.6809 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005372/0.4434, allocations: 0.5113 MB / 0.6814 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.4434, allocations: 7.922 kB / 0.6814 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.235e-05/0.4435, allocations: 11.97 kB / 0.6814 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.4435, allocations: 3.906 kB / 0.6814 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.759e-05/0.4435, allocations: 15.97 kB / 0.6814 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.4435, allocations: 3.984 kB / 0.6814 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4435, allocations: 0 / 0.6814 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007353/0.4443, allocations: 0.579 MB / 0.682 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.4444, allocations: 171.6 kB / 0.6822 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.4446, allocations: 0 / 0.6822 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.4447, allocations: 0 / 0.6822 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.4448, allocations: 19.95 kB / 0.6822 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.599e-05/0.4448, allocations: 43.88 kB / 0.6822 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0009037/0.4457, allocations: 0.8373 MB / 0.683 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007986/0.4466, allocations: 243.8 kB / 0.6833 GB, free: 8.254 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0009272/0.4475, allocations: 310.6 kB / 0.6836 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001162/0.4487, allocations: 1.131 MB / 0.6847 GB, free: 6.84 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4487, allocations: 0 / 0.6847 GB, free: 6.84 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002868/0.449, allocations: 215.7 kB / 0.6849 GB, free: 6.629 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.4493, allocations: 36.47 kB / 0.6849 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.4514, allocations: 1.379 MB / 0.6863 GB, free: 5.184 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007833/0.4522, allocations: 1.092 MB / 0.6873 GB, free: 4.066 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/0.4522, allocations: 0 / 0.6873 GB, free: 4.066 MB / 0.4948 GB Notification: Performance of Templates: time 0.01427/0.4665, allocations: 6.895 MB / 0.6941 GB, free: 13.2 MB / 0.5105 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe 2>&1)