Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_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.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 107.2 kB / 17.02 MB, free: 5.66 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.001141/0.001141, allocations: 192.1 kB / 17.97 MB, free: 5.062 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 / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.714/0.714, allocations: 115.1 MB / 406.9 MB, free: 6.312 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 67.91 kB / 494.8 MB, free: 15.8 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3157, allocations: 76.15 MB / 0.5576 GB, free: 36.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002245/0.318, allocations: 1.415 MB / 0.559 GB, free: 35.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005287/0.3233, allocations: 4.193 MB / 0.5631 GB, free: 32.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.142e-05/0.3234, allocations: 0 / 0.5631 GB, free: 32.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.3236, allocations: 13.33 kB / 0.5631 GB, free: 32.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002085/0.3238, allocations: 30.83 kB / 0.5631 GB, free: 32.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'. [/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.004107/0.3279, allocations: 1.499 MB / 0.5646 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.3281, allocations: 96.59 kB / 0.5647 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.952e-05/0.3281, allocations: 4.656 kB / 0.5647 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.058e-05/0.3282, allocations: 54.52 kB / 0.5647 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.3284, allocations: 156.9 kB / 0.5649 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.949e-05/0.3285, allocations: 17.86 kB / 0.5649 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003718/0.3322, allocations: 2.207 MB / 0.5671 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007696/0.333, allocations: 0.7538 MB / 0.5678 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003879/0.3334, allocations: 0.4937 MB / 0.5683 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004546/0.3379, allocations: 2.552 MB / 0.5708 GB, free: 30.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.338, allocations: 2.5 kB / 0.5708 GB, free: 30.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.338, allocations: 0.5625 kB / 0.5708 GB, free: 30.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.416e-05/0.338, allocations: 3.938 kB / 0.5708 GB, free: 30.3 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.009585/0.3476, allocations: 1.968 MB / 0.5727 GB, free: 28.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.3476, allocations: 10.19 kB / 0.5727 GB, free: 28.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004479/0.3481, allocations: 161.3 kB / 0.5729 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005702/0.3487, allocations: 0.5668 MB / 0.5734 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.3487, allocations: 7.125 kB / 0.5734 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.477e-05/0.3488, allocations: 13.98 kB / 0.5734 GB, free: 28.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004231/0.3492, allocations: 389.1 kB / 0.5738 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3492, allocations: 6.812 kB / 0.5738 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3492, allocations: 0.6094 kB / 0.5738 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3492, allocations: 2.016 kB / 0.5738 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004334/0.3497, allocations: 432.5 kB / 0.5742 GB, free: 28.33 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009611/0.3506, allocations: 0.9294 MB / 0.5751 GB, free: 27.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004874/0.3511, allocations: 0.5657 MB / 0.5757 GB, free: 27.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.3514, allocations: 335.4 kB / 0.576 GB, free: 27.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008049/0.3523, allocations: 1.029 MB / 0.577 GB, free: 26.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003933/0.3527, allocations: 409.3 kB / 0.5774 GB, free: 26.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 2.344e-06/0.3527, allocations: 1.031 kB / 0.5774 GB, free: 26.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001516/0.3542, allocations: 1.356 MB / 0.5787 GB, free: 26.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.3543, allocations: 90.52 kB / 0.5788 GB, free: 26.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002543/0.3568, allocations: 2.22 MB / 0.581 GB, free: 25.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.308e-05/0.3569, allocations: 29.86 kB / 0.581 GB, free: 25.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003231/0.3572, allocations: 0.5277 MB / 0.5815 GB, free: 25.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.3573, allocations: 23.8 kB / 0.5815 GB, free: 25.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003769/0.3577, allocations: 453.4 kB / 0.582 GB, free: 24.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.594e-05/0.3577, allocations: 302.5 kB / 0.5823 GB, free: 24.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001609/0.3593, allocations: 2.064 MB / 0.5843 GB, free: 23.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/0.361, allocations: 2.231 MB / 0.5865 GB, free: 22.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006857/0.3678, allocations: 4.682 MB / 0.591 GB, free: 17.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.3679, allocations: 1.75 kB / 0.591 GB, free: 17.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.004795/0.3727, allocations: 6.235 MB / 0.5971 GB, free: 11.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.3727, allocations: 8.688 kB / 0.5971 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.3727, allocations: 0 / 0.5971 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.3727, allocations: 5.719 kB / 0.5971 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.3729, allocations: 23.92 kB / 0.5972 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.3729, allocations: 0 / 0.5972 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007887/0.3737, allocations: 299.7 kB / 0.5974 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.095e-05/0.3738, allocations: 19.98 kB / 0.5975 GB, free: 10.93 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 116 (cluSiz[5],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],gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0006214/0.3744, allocations: 468.9 kB / 0.5979 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.996e-05/0.3745, allocations: 148.1 kB / 0.5981 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003219/0.3748, allocations: 153.8 kB / 0.5982 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3748, allocations: 0 / 0.5982 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3748, allocations: 7.938 kB / 0.5982 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3749, allocations: 0 / 0.5982 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006446/0.3755, allocations: 0.7749 MB / 0.599 GB, free: 9.348 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3755, allocations: 4 kB / 0.599 GB, free: 9.344 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.374e-05/0.3756, allocations: 12.95 kB / 0.599 GB, free: 9.332 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.3756, allocations: 0 / 0.599 GB, free: 9.332 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.3756, allocations: 4 kB / 0.599 GB, free: 9.328 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3756, allocations: 4.547 kB / 0.599 GB, free: 9.324 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3756, allocations: 3.938 kB / 0.599 GB, free: 9.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006807/0.3763, allocations: 1.083 MB / 0.6001 GB, free: 8.215 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.3765, allocations: 218.7 kB / 0.6003 GB, free: 7.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.3766, allocations: 3.984 kB / 0.6003 GB, free: 7.977 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.3768, allocations: 7.406 kB / 0.6003 GB, free: 7.973 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.3769, allocations: 7.984 kB / 0.6003 GB, free: 7.965 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.3769, allocations: 15.98 kB / 0.6003 GB, free: 7.949 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001196/0.3781, allocations: 1.302 MB / 0.6016 GB, free: 6.633 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3781, allocations: 0 / 0.6016 GB, free: 6.633 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002108/0.3802, allocations: 0.6286 MB / 0.6022 GB, free: 6.004 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001855/0.3821, allocations: 0.6869 MB / 0.6029 GB, free: 5.344 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002239/0.3844, allocations: 3.556 MB / 0.6063 GB, free: 1.773 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3844, allocations: 0 / 0.6063 GB, free: 1.773 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.3846, allocations: 343.8 kB / 0.6067 GB, free: 1.438 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005146/0.3852, allocations: 64.44 kB / 0.6067 GB, free: 1.371 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.3883, allocations: 2.908 MB / 0.6096 GB, free: 14.43 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007401/0.3891, allocations: 1.231 MB / 0.6108 GB, free: 13.17 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001642/0.3893, allocations: 36.55 kB / 0.6108 GB, free: 13.14 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.3894, allocations: 27.42 kB / 0.6108 GB, free: 13.11 MB / 462.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3894, allocations: 0 / 0.6108 GB, free: 13.11 MB / 462.1 MB Notification: Performance of Templates: time 0.02448/0.4139, allocations: 14.43 MB / 0.6249 GB, free: 14.73 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)