Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001741/0.001741, allocations: 109 kB / 16.42 MB, free: 6.512 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.001737/0.001738, allocations: 188.3 kB / 17.35 MB, free: 5.738 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002046/0.002045, allocations: 285.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9323/0.9323, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 103.8 kB / 0.6822 GB, free: 6.891 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3955, allocations: 86.97 MB / 0.7671 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.002336/0.3979, allocations: 1.318 MB / 0.7684 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002124/0.4, allocations: 1.299 MB / 0.7697 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.616e-05/0.4001, allocations: 4 kB / 0.7697 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.777e-05/0.4002, allocations: 3.938 kB / 0.7697 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002064/0.4004, allocations: 36.86 kB / 0.7697 GB, free: 1.23 MB / 0.5294 GB [/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/BuildingSystems 2.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.0009402/0.4013, allocations: 374.9 kB / 0.7701 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.024e-05/0.4014, allocations: 35.91 kB / 0.7701 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.11e-05/0.4015, allocations: 7.922 kB / 0.7701 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.213e-05/0.4015, allocations: 11.94 kB / 0.7701 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.66e-05/0.4016, allocations: 33.95 kB / 0.7702 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.4016, allocations: 0 / 0.7702 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00083/0.4025, allocations: 0.5538 MB / 0.7707 GB, free: 224 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0005857/0.4031, allocations: 0.5659 MB / 0.7713 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002208/0.4033, allocations: 301.2 kB / 0.7715 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009088/0.4042, allocations: 0.9477 MB / 0.7725 GB, free: 14.41 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.4042, allocations: 0 / 0.7725 GB, free: 14.41 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4042, allocations: 0 / 0.7725 GB, free: 14.41 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.4042, allocations: 4 kB / 0.7725 GB, free: 14.41 MB / 0.545 GB 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.001206/0.4055, allocations: 1.248 MB / 0.7737 GB, free: 13.1 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.4055, allocations: 8.031 kB / 0.7737 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.4056, allocations: 111.3 kB / 0.7738 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004633/0.4061, allocations: 479.6 kB / 0.7743 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.32e-06/0.4061, allocations: 384 / 0.7743 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.4061, allocations: 384 / 0.7743 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.4063, allocations: 165.9 kB / 0.7744 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.4063, allocations: 0 / 0.7744 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.4063, allocations: 4 kB / 0.7744 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.4064, allocations: 0 / 0.7744 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.4066, allocations: 275.7 kB / 0.7747 GB, free: 12.03 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004724/0.4071, allocations: 0.5444 MB / 0.7752 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.4072, allocations: 154.5 kB / 0.7754 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.4073, allocations: 136.8 kB / 0.7755 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.676e-05/0.4074, allocations: 92.56 kB / 0.7756 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.4074, allocations: 38.5 kB / 0.7756 GB, free: 10.99 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.4074, allocations: 0 / 0.7756 GB, free: 10.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0005308/0.408, allocations: 0.5233 MB / 0.7761 GB, free: 10.46 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.408, allocations: 51.41 kB / 0.7762 GB, free: 10.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/0.4093, allocations: 1.388 MB / 0.7775 GB, free: 9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.4094, allocations: 25.7 kB / 0.7776 GB, free: 8.969 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003398/0.4097, allocations: 457.5 kB / 0.778 GB, free: 8.52 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.203e-05/0.4097, allocations: 0 / 0.778 GB, free: 8.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.4099, allocations: 125.8 kB / 0.7781 GB, free: 8.391 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.41, allocations: 334 kB / 0.7784 GB, free: 8.059 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004383/0.4104, allocations: 0.5945 MB / 0.779 GB, free: 7.461 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004227/0.4109, allocations: 0.5906 MB / 0.7796 GB, free: 6.875 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008322/0.4117, allocations: 1.162 MB / 0.7807 GB, free: 5.559 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4117, allocations: 0 / 0.7807 GB, free: 5.559 MB / 0.545 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001259/0.413, allocations: 1.4 MB / 0.7821 GB, free: 4.152 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.413, allocations: 7.938 kB / 0.7821 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.413, allocations: 3.938 kB / 0.7821 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.413, allocations: 4.062 kB / 0.7821 GB, free: 4.137 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.584e-05/0.4131, allocations: 4 kB / 0.7821 GB, free: 4.133 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.4131, allocations: 0 / 0.7821 GB, free: 4.133 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.4132, allocations: 66.88 kB / 0.7822 GB, free: 4.066 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-06/0.4133, allocations: 0 / 0.7822 GB, free: 4.066 MB / 0.545 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 (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],cmp) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000424/0.4137, allocations: 382.8 kB / 0.7825 GB, free: 3.684 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.414e-05/0.4138, allocations: 106.4 kB / 0.7826 GB, free: 3.578 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003717/0.4141, allocations: 416.6 kB / 0.783 GB, free: 3.156 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.4142, allocations: 0 / 0.783 GB, free: 3.156 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4142, allocations: 0 / 0.783 GB, free: 3.156 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.4143, allocations: 171.5 kB / 0.7832 GB, free: 2.969 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.584e-05/0.4144, allocations: 8 kB / 0.7832 GB, free: 2.961 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-05/0.4145, allocations: 0 / 0.7832 GB, free: 2.961 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/0.4145, allocations: 0 / 0.7832 GB, free: 2.961 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002603/0.4148, allocations: 372.8 kB / 0.7836 GB, free: 2.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003967/0.4152, allocations: 0.5664 MB / 0.7841 GB, free: 2.004 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001148/0.4153, allocations: 135.9 kB / 0.7843 GB, free: 1.871 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001001/0.4163, allocations: 0.9075 MB / 0.7851 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of Backend: time 6.31e-07/0.4164, allocations: 0 / 0.7851 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001771/0.4181, allocations: 1.179 MB / 0.7863 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of SimCode: time 0.002089/0.4202, allocations: 2.055 MB / 0.7883 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of Templates: time 0.01093/0.4312, allocations: 4.702 MB / 0.7929 GB, free: 9.031 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe 2>&1)