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/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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 108.5 kB / 16.52 MB, free: 6.664 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.001325/0.001325, allocations: 195.2 kB / 17.44 MB, free: 6.047 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.414/1.414, allocations: 222.9 MB / 241.1 MB, free: 13.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.738/0.738, allocations: 115.3 MB / 406.6 MB, free: 6.488 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 63.91 kB / 493.6 MB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4157, allocations: 76.17 MB / 0.5564 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.00263/0.4184, allocations: 1.385 MB / 0.5578 GB, free: 34.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.4204, allocations: 1.336 MB / 0.5591 GB, free: 33.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.277e-05/0.4204, allocations: 1.188 kB / 0.5591 GB, free: 33.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.071e-05/0.4206, allocations: 5.906 kB / 0.5591 GB, free: 33.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.4208, allocations: 31.72 kB / 0.5591 GB, free: 33.68 MB / 446.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‘. Notification: Performance of NFTyping.typeClassSections: time 0.0008325/0.4216, allocations: 312.8 kB / 0.5594 GB, free: 33.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.212e-05/0.4217, allocations: 52.86 kB / 0.5595 GB, free: 33.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.603e-05/0.4218, allocations: 5.047 kB / 0.5595 GB, free: 33.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.53e-05/0.4218, allocations: 11.88 kB / 0.5595 GB, free: 33.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.422, allocations: 106.2 kB / 0.5596 GB, free: 33.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.422, allocations: 0 / 0.5596 GB, free: 33.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008055/0.4228, allocations: 0.5165 MB / 0.5601 GB, free: 33.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006073/0.4234, allocations: 0.555 MB / 0.5606 GB, free: 33.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002292/0.4237, allocations: 304.5 kB / 0.5609 GB, free: 33.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008909/0.4246, allocations: 0.643 MB / 0.5615 GB, free: 32.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4246, allocations: 0 / 0.5615 GB, free: 32.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4246, allocations: 1.094 kB / 0.5615 GB, free: 32.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.417e-06/0.4246, allocations: 1.625 kB / 0.5615 GB, free: 32.87 MB / 446.1 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.001219/0.4258, allocations: 1.254 MB / 0.5628 GB, free: 31.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.4259, allocations: 13.62 kB / 0.5628 GB, free: 31.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001975/0.4261, allocations: 105.1 kB / 0.5629 GB, free: 31.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003766/0.4265, allocations: 486.7 kB / 0.5633 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.4265, allocations: 384 / 0.5633 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.4265, allocations: 1.938 kB / 0.5633 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.4267, allocations: 165.8 kB / 0.5635 GB, free: 31.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.4267, allocations: 0 / 0.5635 GB, free: 31.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.4268, allocations: 2.031 kB / 0.5635 GB, free: 31.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4268, allocations: 0 / 0.5635 GB, free: 31.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002903/0.4271, allocations: 271 kB / 0.5638 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005942/0.4277, allocations: 0.5482 MB / 0.5643 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.4279, allocations: 149.9 kB / 0.5644 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.428, allocations: 143.1 kB / 0.5646 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.4282, allocations: 85.27 kB / 0.5647 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.4282, allocations: 37.69 kB / 0.5647 GB, free: 30.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.81e-07/0.4282, allocations: 0 / 0.5647 GB, free: 30.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0007074/0.4289, allocations: 0.5239 MB / 0.5652 GB, free: 30.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.429, allocations: 52.44 kB / 0.5653 GB, free: 30.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/0.4307, allocations: 1.388 MB / 0.5666 GB, free: 30.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.4307, allocations: 26.39 kB / 0.5666 GB, free: 30.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003246/0.4311, allocations: 457.7 kB / 0.5671 GB, free: 30 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.4311, allocations: 0.9375 kB / 0.5671 GB, free: 30 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.4312, allocations: 112.6 kB / 0.5672 GB, free: 29.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.002e-05/0.4313, allocations: 344.1 kB / 0.5675 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006153/0.4319, allocations: 0.593 MB / 0.5681 GB, free: 29.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006052/0.4326, allocations: 0.5935 MB / 0.5687 GB, free: 29.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009832/0.4336, allocations: 1.165 MB / 0.5698 GB, free: 28.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.4336, allocations: 0 / 0.5698 GB, free: 28.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001626/0.4352, allocations: 1.39 MB / 0.5712 GB, free: 28.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.4352, allocations: 13.86 kB / 0.5712 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/0.4353, allocations: 1.625 kB / 0.5712 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.4353, allocations: 0.5625 kB / 0.5712 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.481e-05/0.4353, allocations: 7.328 kB / 0.5712 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.4353, allocations: 0 / 0.5712 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.4356, allocations: 72 kB / 0.5713 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.4356, allocations: 2.25 kB / 0.5713 GB, free: 28.36 MB / 446.1 MB 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.0005465/0.4362, allocations: 381 kB / 0.5716 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.71e-05/0.4363, allocations: 114.9 kB / 0.5717 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004648/0.4367, allocations: 410.4 kB / 0.5721 GB, free: 28.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.706e-06/0.4367, allocations: 1.062 kB / 0.5721 GB, free: 28.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4368, allocations: 2.031 kB / 0.5721 GB, free: 28.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4368, allocations: 0 / 0.5721 GB, free: 28.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006298/0.4374, allocations: 0.5465 MB / 0.5727 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4374, allocations: 1.859 kB / 0.5727 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.874e-06/0.4374, allocations: 0.6094 kB / 0.5727 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.4374, allocations: 3.938 kB / 0.5727 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.4374, allocations: 0.5 kB / 0.5727 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.4374, allocations: 2.406 kB / 0.5727 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4375, allocations: 0 / 0.5727 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003718/0.4378, allocations: 434.4 kB / 0.5731 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.438, allocations: 171.3 kB / 0.5732 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.391e-05/0.438, allocations: 2.484 kB / 0.5732 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.4381, allocations: 0.6875 kB / 0.5732 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/0.4382, allocations: 4.422 kB / 0.5733 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.4382, allocations: 3.938 kB / 0.5733 GB, free: 27.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001151/0.4393, allocations: 0.9042 MB / 0.5741 GB, free: 27.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4393, allocations: 1.094 kB / 0.5741 GB, free: 27.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008372/0.4402, allocations: 185.9 kB / 0.5743 GB, free: 27.2 MB / 446.1 MB 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 () * Number of clocked 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 (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.0007384/0.4409, allocations: 282.8 kB / 0.5746 GB, free: 27.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.442, allocations: 1.051 MB / 0.5756 GB, free: 26.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.442, allocations: 0 / 0.5756 GB, free: 26.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.4421, allocations: 136.2 kB / 0.5757 GB, free: 26.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.4425, allocations: 34.66 kB / 0.5758 GB, free: 26.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/0.445, allocations: 1.949 MB / 0.5777 GB, free: 25.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005543/0.4456, allocations: 1.013 MB / 0.5787 GB, free: 25.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.913e-05/0.4456, allocations: 13.47 kB / 0.5787 GB, free: 25.14 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4456, allocations: 0 / 0.5787 GB, free: 25.14 MB / 446.1 MB Notification: Performance of Templates: time 0.02006/0.4657, allocations: 10.59 MB / 0.589 GB, free: 18.82 MB / 446.1 MB 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)