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.001725/0.001725, allocations: 112 kB / 17.04 MB, free: 5.812 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.002039/0.002039, allocations: 195 kB / 17.98 MB, free: 5.027 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.318/1.318, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7171/0.7171, allocations: 115.1 MB / 407 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 67.91 kB / 494.9 MB, free: 15.8 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2978, allocations: 76.13 MB / 0.5576 GB, free: 36.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.002213/0.3, allocations: 1.319 MB / 0.5589 GB, free: 35.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.3018, allocations: 1.291 MB / 0.5602 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.591e-05/0.3018, allocations: 1.062 kB / 0.5602 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.345e-05/0.3019, allocations: 7.109 kB / 0.5602 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.3021, allocations: 33.45 kB / 0.5602 GB, free: 34.88 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.001034/0.3032, allocations: 376.2 kB / 0.5606 GB, free: 34.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.35e-05/0.3033, allocations: 32.23 kB / 0.5606 GB, free: 34.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.415e-05/0.3033, allocations: 3.562 kB / 0.5606 GB, free: 34.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.096e-05/0.3033, allocations: 17.97 kB / 0.5606 GB, free: 34.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.429e-05/0.3034, allocations: 37.34 kB / 0.5606 GB, free: 34.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.3034, allocations: 2.094 kB / 0.5606 GB, free: 34.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008273/0.3043, allocations: 0.5555 MB / 0.5612 GB, free: 34.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005466/0.3048, allocations: 0.5567 MB / 0.5617 GB, free: 34.4 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.305, allocations: 306.5 kB / 0.562 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.306, allocations: 0.9411 MB / 0.5629 GB, free: 33.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.306, allocations: 0.7969 kB / 0.5629 GB, free: 33.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3061, allocations: 2.25 kB / 0.5629 GB, free: 33.85 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.831e-05/0.3061, allocations: 0 / 0.5629 GB, free: 33.85 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.001195/0.3073, allocations: 1.254 MB / 0.5642 GB, free: 32.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3073, allocations: 8.5 kB / 0.5642 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.3074, allocations: 110.7 kB / 0.5643 GB, free: 32.83 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.3078, allocations: 486.1 kB / 0.5648 GB, free: 32.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-06/0.3078, allocations: 1.406 kB / 0.5648 GB, free: 32.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.3078, allocations: 1.469 kB / 0.5648 GB, free: 32.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.308, allocations: 166.5 kB / 0.5649 GB, free: 32.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.308, allocations: 3.938 kB / 0.5649 GB, free: 32.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.3081, allocations: 1.484 kB / 0.5649 GB, free: 32.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3081, allocations: 1.469 kB / 0.5649 GB, free: 32.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002179/0.3083, allocations: 264.3 kB / 0.5652 GB, free: 32.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005054/0.3088, allocations: 0.5511 MB / 0.5657 GB, free: 32.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.3089, allocations: 158 kB / 0.5659 GB, free: 32.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.3091, allocations: 137.3 kB / 0.566 GB, free: 32.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.312e-05/0.3091, allocations: 84.5 kB / 0.5661 GB, free: 32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.3092, allocations: 35.5 kB / 0.5661 GB, free: 31.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.503e-06/0.3092, allocations: 0.5 kB / 0.5661 GB, free: 31.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0004846/0.3097, allocations: 0.5205 MB / 0.5666 GB, free: 31.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/0.3097, allocations: 55.91 kB / 0.5667 GB, free: 31.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.3112, allocations: 1.389 MB / 0.568 GB, free: 31.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.3112, allocations: 25.7 kB / 0.568 GB, free: 31.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002781/0.3115, allocations: 456.8 kB / 0.5685 GB, free: 30.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/0.3115, allocations: 2.844 kB / 0.5685 GB, free: 30.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.3116, allocations: 116.1 kB / 0.5686 GB, free: 30.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.185e-05/0.3117, allocations: 338.9 kB / 0.5689 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004546/0.3121, allocations: 0.59 MB / 0.5695 GB, free: 30.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000413/0.3125, allocations: 0.5954 MB / 0.5701 GB, free: 30.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007653/0.3133, allocations: 1.162 MB / 0.5712 GB, free: 29.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.3133, allocations: 2.531 kB / 0.5712 GB, free: 29.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00136/0.3147, allocations: 1.392 MB / 0.5726 GB, free: 29.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3147, allocations: 11.19 kB / 0.5726 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.3147, allocations: 5.344 kB / 0.5726 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3148, allocations: 1.406 kB / 0.5726 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.624e-05/0.3148, allocations: 0.5156 kB / 0.5726 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3148, allocations: 6.391 kB / 0.5726 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/0.3151, allocations: 76.72 kB / 0.5727 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.3151, allocations: 0.625 kB / 0.5727 GB, free: 29.34 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.0004848/0.3156, allocations: 382 kB / 0.573 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.831e-05/0.3157, allocations: 110.4 kB / 0.5731 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003889/0.3161, allocations: 405.8 kB / 0.5735 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.3161, allocations: 2.562 kB / 0.5735 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3161, allocations: 0.7969 kB / 0.5735 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3161, allocations: 0 / 0.5735 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005227/0.3166, allocations: 0.548 MB / 0.5741 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3166, allocations: 0 / 0.5741 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.416e-06/0.3167, allocations: 0.6094 kB / 0.5741 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.3167, allocations: 10.58 kB / 0.5741 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.3167, allocations: 0 / 0.5741 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3167, allocations: 0.8906 kB / 0.5741 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3167, allocations: 1.438 kB / 0.5741 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.317, allocations: 433.5 kB / 0.5745 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.3172, allocations: 170.8 kB / 0.5747 GB, free: 28.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.002e-05/0.3172, allocations: 1.781 kB / 0.5747 GB, free: 28.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.3173, allocations: 0.5156 kB / 0.5747 GB, free: 28.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.216e-05/0.3174, allocations: 1.969 kB / 0.5747 GB, free: 28.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.3174, allocations: 1.562 kB / 0.5747 GB, free: 28.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001081/0.3185, allocations: 0.9058 MB / 0.5755 GB, free: 28.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3185, allocations: 0 / 0.5755 GB, free: 28.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007153/0.3192, allocations: 182.6 kB / 0.5757 GB, free: 28.19 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.0008008/0.32, allocations: 289.9 kB / 0.576 GB, free: 28.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008592/0.3209, allocations: 1.052 MB / 0.577 GB, free: 27.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3209, allocations: 1.031 kB / 0.577 GB, free: 27.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.321, allocations: 136.2 kB / 0.5772 GB, free: 27.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.3214, allocations: 33.3 kB / 0.5772 GB, free: 27.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.3236, allocations: 1.663 MB / 0.5788 GB, free: 27.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005531/0.3242, allocations: 1.016 MB / 0.5798 GB, free: 26.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.019e-05/0.3243, allocations: 2.125 kB / 0.5798 GB, free: 26.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.803e-05/0.3243, allocations: 8.906 kB / 0.5798 GB, free: 26.37 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3243, allocations: 0 / 0.5798 GB, free: 26.37 MB / 446.1 MB Notification: Performance of Templates: time 0.01176/0.336, allocations: 4.485 MB / 0.5842 GB, free: 24.88 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe 2>&1)