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.001251/0.001251, allocations: 105.2 kB / 16.27 MB, free: 6.41 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.00125/0.00125, allocations: 184.6 kB / 17.2 MB, free: 5.953 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.334/1.334, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7666/0.7666, allocations: 126.1 MB / 417.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 71.89 kB / 0.495 GB, free: 3.5 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3443, allocations: 78.71 MB / 0.5719 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.002212/0.3465, allocations: 1.306 MB / 0.5731 GB, free: 30.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.3484, allocations: 1.299 MB / 0.5744 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.429e-05/0.3484, allocations: 1.312 kB / 0.5744 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.023e-05/0.3485, allocations: 5.578 kB / 0.5744 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.3487, allocations: 25.61 kB / 0.5744 GB, free: 29.67 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'. [/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 NFTyping.typeClassSections: time 0.0009321/0.3497, allocations: 381.5 kB / 0.5748 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.924e-05/0.3497, allocations: 36.09 kB / 0.5748 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.3498, allocations: 3.797 kB / 0.5748 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.554e-05/0.3498, allocations: 14.39 kB / 0.5749 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.934e-05/0.3499, allocations: 34.03 kB / 0.5749 GB, free: 29.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.35, allocations: 0 / 0.5749 GB, free: 29.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008955/0.3509, allocations: 0.5099 MB / 0.5754 GB, free: 29.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006484/0.3515, allocations: 0.5635 MB / 0.5759 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002236/0.3517, allocations: 300 kB / 0.5762 GB, free: 29.01 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009772/0.3527, allocations: 0.934 MB / 0.5771 GB, free: 28.56 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3527, allocations: 0 / 0.5771 GB, free: 28.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3528, allocations: 0 / 0.5771 GB, free: 28.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.3528, allocations: 1.156 kB / 0.5771 GB, free: 28.56 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.0009596/0.3537, allocations: 1.259 MB / 0.5784 GB, free: 27.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.3538, allocations: 10.5 kB / 0.5784 GB, free: 27.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.3539, allocations: 109.2 kB / 0.5785 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.3543, allocations: 477.4 kB / 0.5789 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.3543, allocations: 384 / 0.5789 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.3543, allocations: 7.125 kB / 0.5789 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.3545, allocations: 168.6 kB / 0.5791 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.3545, allocations: 4 kB / 0.5791 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.3545, allocations: 1.656 kB / 0.5791 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3545, allocations: 0 / 0.5791 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001978/0.3547, allocations: 268 kB / 0.5794 GB, free: 26.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.3552, allocations: 0.5475 MB / 0.5799 GB, free: 26.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.3553, allocations: 150.8 kB / 0.58 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.3554, allocations: 143.5 kB / 0.5802 GB, free: 26.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.495e-05/0.3555, allocations: 82.33 kB / 0.5803 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.3555, allocations: 35.53 kB / 0.5803 GB, free: 26.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.3555, allocations: 4.438 kB / 0.5803 GB, free: 26.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0005039/0.356, allocations: 0.5297 MB / 0.5808 GB, free: 26.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.3561, allocations: 52.44 kB / 0.5809 GB, free: 26.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.3574, allocations: 1.382 MB / 0.5822 GB, free: 25.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.3574, allocations: 27.17 kB / 0.5822 GB, free: 25.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.3577, allocations: 454.6 kB / 0.5827 GB, free: 25.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.204e-05/0.3577, allocations: 0 / 0.5827 GB, free: 25.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.173e-05/0.3578, allocations: 117.2 kB / 0.5828 GB, free: 25.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.317e-05/0.3579, allocations: 344.5 kB / 0.5831 GB, free: 24.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000469/0.3583, allocations: 0.5884 MB / 0.5837 GB, free: 24.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004478/0.3588, allocations: 0.5967 MB / 0.5843 GB, free: 24.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007728/0.3596, allocations: 1.167 MB / 0.5854 GB, free: 23.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3596, allocations: 0 / 0.5854 GB, free: 23.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001248/0.3608, allocations: 1.398 MB / 0.5868 GB, free: 22.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.3608, allocations: 4 kB / 0.5868 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.3609, allocations: 0.5938 kB / 0.5868 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3609, allocations: 2.094 kB / 0.5868 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.618e-05/0.3609, allocations: 3.984 kB / 0.5868 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3609, allocations: 4 kB / 0.5868 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.3611, allocations: 66.88 kB / 0.5869 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.3611, allocations: 3.984 kB / 0.5869 GB, free: 22.88 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.0003116/0.3614, allocations: 380.9 kB / 0.5872 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/0.3615, allocations: 110.4 kB / 0.5873 GB, free: 22.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/0.3618, allocations: 419 kB / 0.5877 GB, free: 21.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3618, allocations: 0 / 0.5877 GB, free: 21.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3618, allocations: 0 / 0.5877 GB, free: 21.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.3618, allocations: 0.6562 kB / 0.5877 GB, free: 21.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/0.3622, allocations: 0.5494 MB / 0.5883 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3622, allocations: 0 / 0.5883 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.43e-06/0.3622, allocations: 0 / 0.5883 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3622, allocations: 1.344 kB / 0.5883 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.3622, allocations: 4 kB / 0.5883 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3622, allocations: 0 / 0.5883 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3622, allocations: 4.781 kB / 0.5883 GB, free: 21.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.3624, allocations: 436.5 kB / 0.5887 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.865e-05/0.3625, allocations: 163.6 kB / 0.5888 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.285e-05/0.3626, allocations: 4 kB / 0.5889 GB, free: 20.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.13e-05/0.3627, allocations: 4 kB / 0.5889 GB, free: 20.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.746e-05/0.3627, allocations: 7.203 kB / 0.5889 GB, free: 20.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.3627, allocations: 0 / 0.5889 GB, free: 20.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006744/0.3634, allocations: 0.9075 MB / 0.5897 GB, free: 19.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3634, allocations: 3.938 kB / 0.5898 GB, free: 19.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005793/0.364, allocations: 179.9 kB / 0.5899 GB, free: 19.65 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.0005768/0.3646, allocations: 276.7 kB / 0.5902 GB, free: 19.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005543/0.3651, allocations: 1.051 MB / 0.5912 GB, free: 18.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3651, allocations: 0 / 0.5912 GB, free: 18.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.178e-05/0.3652, allocations: 139.9 kB / 0.5913 GB, free: 18.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.3656, allocations: 42.28 kB / 0.5914 GB, free: 18.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.3671, allocations: 1.692 MB / 0.593 GB, free: 16.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.3674, allocations: 1.012 MB / 0.594 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.185e-05/0.3674, allocations: 7.938 kB / 0.594 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.29e-05/0.3674, allocations: 7.438 kB / 0.594 GB, free: 15.42 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3674, allocations: 0 / 0.594 GB, free: 15.42 MB / 446.1 MB Notification: Performance of Templates: time 0.008891/0.3763, allocations: 4.491 MB / 0.5984 GB, free: 10.98 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)