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.001583/0.001582, allocations: 110.8 kB / 16.42 MB, free: 6.461 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.001751/0.001751, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.357/1.357, allocations: 222.9 MB / 241.1 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.002154/0.002154, allocations: 299.6 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.9483/0.9483, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 95.84 kB / 0.6822 GB, free: 6.898 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.403, allocations: 86.98 MB / 0.7671 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.002141/0.4052, allocations: 1.312 MB / 0.7684 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001953/0.4072, allocations: 1.303 MB / 0.7697 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.535e-05/0.4072, allocations: 7.938 kB / 0.7697 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.243e-05/0.4073, allocations: 3.938 kB / 0.7697 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.4075, allocations: 32.84 kB / 0.7697 GB, free: 1.219 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.0009568/0.4085, allocations: 374.9 kB / 0.7701 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.792e-05/0.4086, allocations: 31.91 kB / 0.7701 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.566e-05/0.4086, allocations: 0 / 0.7701 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.492e-05/0.4086, allocations: 15.92 kB / 0.7701 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.414e-05/0.4087, allocations: 29.95 kB / 0.7701 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.4087, allocations: 4 kB / 0.7702 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008231/0.4096, allocations: 0.5499 MB / 0.7707 GB, free: 224 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0005677/0.4101, allocations: 0.5699 MB / 0.7712 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.4104, allocations: 305.2 kB / 0.7715 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008662/0.4112, allocations: 0.9438 MB / 0.7725 GB, free: 14.4 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.4113, allocations: 0 / 0.7725 GB, free: 14.4 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.273e-06/0.4113, allocations: 0 / 0.7725 GB, free: 14.4 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.4113, allocations: 4 kB / 0.7725 GB, free: 14.4 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.001102/0.4124, allocations: 1.252 MB / 0.7737 GB, free: 13.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.4124, allocations: 8.031 kB / 0.7737 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.4125, allocations: 111.3 kB / 0.7738 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.4129, allocations: 479.6 kB / 0.7743 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.959e-06/0.4129, allocations: 384 / 0.7743 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.4129, allocations: 384 / 0.7743 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.4131, allocations: 169.9 kB / 0.7744 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.4131, allocations: 0 / 0.7744 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-06/0.4132, allocations: 4 kB / 0.7744 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.4132, allocations: 0 / 0.7744 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001992/0.4134, allocations: 271.8 kB / 0.7747 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.4138, allocations: 0.5521 MB / 0.7752 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.414, allocations: 150.5 kB / 0.7754 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.299e-05/0.4141, allocations: 136.8 kB / 0.7755 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.229e-05/0.4141, allocations: 80.66 kB / 0.7756 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.4142, allocations: 42.42 kB / 0.7756 GB, free: 10.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.4142, allocations: 3.938 kB / 0.7756 GB, free: 10.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0004578/0.4146, allocations: 0.5272 MB / 0.7761 GB, free: 10.45 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.4147, allocations: 55.53 kB / 0.7762 GB, free: 10.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.416, allocations: 1.388 MB / 0.7775 GB, free: 8.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.416, allocations: 25.7 kB / 0.7776 GB, free: 8.949 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003153/0.4163, allocations: 449.5 kB / 0.778 GB, free: 8.508 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.103e-05/0.4163, allocations: 0 / 0.778 GB, free: 8.508 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.296e-05/0.4164, allocations: 121.6 kB / 0.7781 GB, free: 8.383 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.4166, allocations: 334 kB / 0.7784 GB, free: 8.051 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004179/0.417, allocations: 0.5945 MB / 0.779 GB, free: 7.453 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004057/0.4174, allocations: 0.5945 MB / 0.7796 GB, free: 6.863 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008073/0.4182, allocations: 1.162 MB / 0.7807 GB, free: 5.547 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4182, allocations: 0 / 0.7807 GB, free: 5.547 MB / 0.545 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001242/0.4195, allocations: 1.4 MB / 0.7821 GB, free: 4.141 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.4195, allocations: 7.938 kB / 0.7821 GB, free: 4.133 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.4195, allocations: 0 / 0.7821 GB, free: 4.133 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.4195, allocations: 0 / 0.7821 GB, free: 4.133 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.265e-05/0.4195, allocations: 0 / 0.7821 GB, free: 4.133 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.4195, allocations: 4 kB / 0.7821 GB, free: 4.129 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.4197, allocations: 66.88 kB / 0.7822 GB, free: 4.062 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.4197, allocations: 4.062 kB / 0.7822 GB, free: 4.059 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.0003824/0.4201, allocations: 382.8 kB / 0.7825 GB, free: 3.676 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.628e-05/0.4202, allocations: 106.4 kB / 0.7826 GB, free: 3.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003493/0.4205, allocations: 412.6 kB / 0.783 GB, free: 3.152 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.4206, allocations: 0 / 0.783 GB, free: 3.152 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.4206, allocations: 0 / 0.783 GB, free: 3.152 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.4207, allocations: 175.5 kB / 0.7832 GB, free: 2.961 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.361e-05/0.4208, allocations: 7.984 kB / 0.7832 GB, free: 2.953 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.775e-05/0.4209, allocations: 0 / 0.7832 GB, free: 2.953 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.425e-05/0.4209, allocations: 0 / 0.7832 GB, free: 2.953 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002464/0.4211, allocations: 372.8 kB / 0.7836 GB, free: 2.586 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003537/0.4215, allocations: 0.5663 MB / 0.7841 GB, free: 2 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001035/0.4216, allocations: 140 kB / 0.7842 GB, free: 1.863 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009639/0.4226, allocations: 0.9035 MB / 0.7851 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of Backend: time 3.41e-07/0.4226, allocations: 0 / 0.7851 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001676/0.4243, allocations: 1.182 MB / 0.7863 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of SimCode: time 0.002043/0.4263, allocations: 2.059 MB / 0.7883 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of Templates: time 0.01108/0.4374, allocations: 4.699 MB / 0.7929 GB, free: 9.027 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)