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.001005/0.001005, allocations: 90.2 kB / 16.67 MB, free: 6.23 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.001189/0.001189, allocations: 182.9 kB / 17.58 MB, free: 5.863 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.416/1.416, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7886/0.7886, allocations: 115.5 MB / 408.2 MB, free: 7.062 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003975/0.0003974, allocations: 12 kB / 496.6 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4612/0.4616, allocations: 77.52 MB / 0.5606 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.001427/0.4631, allocations: 1.04 MB / 0.5616 GB, free: 34.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.4652, allocations: 1.31 MB / 0.5629 GB, free: 33.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.155e-05/0.4653, allocations: 0 / 0.5629 GB, free: 33.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.935e-05/0.4654, allocations: 6.688 kB / 0.5629 GB, free: 33.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.4656, allocations: 37.45 kB / 0.563 GB, free: 33.91 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.0008844/0.4665, allocations: 299.2 kB / 0.5632 GB, free: 33.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.4666, allocations: 57.91 kB / 0.5633 GB, free: 33.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.025e-05/0.4667, allocations: 3.656 kB / 0.5633 GB, free: 33.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.68e-05/0.4667, allocations: 11.12 kB / 0.5633 GB, free: 33.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.4669, allocations: 100.9 kB / 0.5634 GB, free: 33.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.4669, allocations: 3.984 kB / 0.5634 GB, free: 33.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008899/0.4678, allocations: 0.5154 MB / 0.5639 GB, free: 33.6 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006766/0.4685, allocations: 0.5569 MB / 0.5645 GB, free: 33.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002353/0.4688, allocations: 328.9 kB / 0.5648 GB, free: 33.24 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000897/0.4697, allocations: 0.6442 MB / 0.5654 GB, free: 33.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4697, allocations: 0 / 0.5654 GB, free: 33.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4697, allocations: 1.219 kB / 0.5654 GB, free: 33.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.4697, allocations: 1.219 kB / 0.5654 GB, free: 33.07 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.001134/0.4708, allocations: 1.17 MB / 0.5666 GB, free: 32.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.4709, allocations: 15.34 kB / 0.5666 GB, free: 32.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.471, allocations: 109.8 kB / 0.5667 GB, free: 32.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.4714, allocations: 480.9 kB / 0.5671 GB, free: 31.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.4715, allocations: 1.438 kB / 0.5671 GB, free: 31.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.4715, allocations: 2.75 kB / 0.5671 GB, free: 31.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.4717, allocations: 166.7 kB / 0.5673 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.4718, allocations: 1 kB / 0.5673 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.4718, allocations: 0 / 0.5673 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4718, allocations: 3.938 kB / 0.5673 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000308/0.4721, allocations: 270.2 kB / 0.5676 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006356/0.4727, allocations: 0.5487 MB / 0.5681 GB, free: 31.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.4729, allocations: 152.5 kB / 0.5682 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.4731, allocations: 139.7 kB / 0.5684 GB, free: 31.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001188/0.4732, allocations: 82.91 kB / 0.5684 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.4733, allocations: 36.19 kB / 0.5685 GB, free: 31.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.4733, allocations: 1.031 kB / 0.5685 GB, free: 31.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0006844/0.474, allocations: 0.5226 MB / 0.569 GB, free: 31.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.474, allocations: 54.34 kB / 0.569 GB, free: 31.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/0.4759, allocations: 1.383 MB / 0.5704 GB, free: 30.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.476, allocations: 31.92 kB / 0.5704 GB, free: 30.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003695/0.4763, allocations: 456.6 kB / 0.5709 GB, free: 30.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.4764, allocations: 1.062 kB / 0.5709 GB, free: 30.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.4765, allocations: 103.4 kB / 0.571 GB, free: 30.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.658e-05/0.4766, allocations: 339.5 kB / 0.5713 GB, free: 29.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006456/0.4772, allocations: 0.5899 MB / 0.5719 GB, free: 29.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005965/0.4778, allocations: 0.5922 MB / 0.5724 GB, free: 29.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.4789, allocations: 1.165 MB / 0.5736 GB, free: 29.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4789, allocations: 0 / 0.5736 GB, free: 29.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001799/0.4807, allocations: 1.396 MB / 0.5749 GB, free: 28.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.4807, allocations: 11 kB / 0.575 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/0.4808, allocations: 4.547 kB / 0.575 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.4808, allocations: 0 / 0.575 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.198e-05/0.4808, allocations: 0.6094 kB / 0.575 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.4808, allocations: 4.562 kB / 0.575 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/0.4811, allocations: 66.72 kB / 0.575 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.4812, allocations: 0 / 0.575 GB, free: 28.62 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.0005786/0.4817, allocations: 383.3 kB / 0.5754 GB, free: 28.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.289e-05/0.4818, allocations: 109.1 kB / 0.5755 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005137/0.4824, allocations: 413.9 kB / 0.5759 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.4824, allocations: 0.5 kB / 0.5759 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4824, allocations: 3.797 kB / 0.5759 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4824, allocations: 3.984 kB / 0.5759 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006922/0.4831, allocations: 0.5483 MB / 0.5764 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4831, allocations: 0 / 0.5764 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.815e-06/0.4831, allocations: 2.047 kB / 0.5764 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.4831, allocations: 5.281 kB / 0.5764 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.4831, allocations: 0.75 kB / 0.5764 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.4831, allocations: 1.75 kB / 0.5764 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.4831, allocations: 0.5 kB / 0.5764 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004543/0.4836, allocations: 429 kB / 0.5769 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.4837, allocations: 179.3 kB / 0.577 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.539e-05/0.4838, allocations: 5.031 kB / 0.577 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.742e-05/0.4839, allocations: 2.719 kB / 0.577 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.4839, allocations: 0 / 0.577 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.484, allocations: 6.281 kB / 0.577 GB, free: 27.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001251/0.4852, allocations: 0.9064 MB / 0.5779 GB, free: 27.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4852, allocations: 0 / 0.5779 GB, free: 27.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009013/0.4861, allocations: 185.8 kB / 0.5781 GB, free: 27.44 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.0007456/0.4869, allocations: 273.1 kB / 0.5784 GB, free: 27.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001172/0.4881, allocations: 1.048 MB / 0.5794 GB, free: 27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4881, allocations: 3.938 kB / 0.5794 GB, free: 27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.4883, allocations: 139.7 kB / 0.5795 GB, free: 27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.4887, allocations: 33.81 kB / 0.5796 GB, free: 26.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/0.4914, allocations: 1.946 MB / 0.5815 GB, free: 26.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006447/0.492, allocations: 1.017 MB / 0.5824 GB, free: 25.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.918e-05/0.4921, allocations: 13.08 kB / 0.5825 GB, free: 25.39 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4921, allocations: 0 / 0.5825 GB, free: 25.39 MB / 446.1 MB Notification: Performance of Templates: time 0.02002/0.5121, allocations: 10.48 MB / 0.5927 GB, free: 18.06 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)