Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.005905/0.005906, allocations: 100.8 kB / 15.87 MB, free: 5.84 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.001167/0.001167, allocations: 193.6 kB / 16.79 MB, free: 5.777 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.367/1.367, allocations: 222.9 MB / 240.5 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.961/0.961, allocations: 135.1 MB / 425.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.48 kB / 0.5054 GB, free: 5.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1819, allocations: 80.92 MB / 0.5844 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002743/0.1847, allocations: 1.454 MB / 0.5858 GB, free: 3.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004934/0.1897, allocations: 3.231 MB / 0.589 GB, free: 192 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.223e-05/0.1898, allocations: 3.938 kB / 0.589 GB, free: 188 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.19, allocations: 11.92 kB / 0.589 GB, free: 176 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.1902, allocations: 23.91 kB / 0.589 GB, free: 152 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.1925, allocations: 0.7725 MB / 0.5898 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.1927, allocations: 103.7 kB / 0.5899 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.687e-05/0.1927, allocations: 4 kB / 0.5899 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.65e-05/0.1928, allocations: 43.73 kB / 0.5899 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002958/0.1931, allocations: 232.8 kB / 0.5901 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.018e-05/0.1932, allocations: 12 kB / 0.5901 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002136/0.1953, allocations: 1.392 MB / 0.5915 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006699/0.196, allocations: 0.6758 MB / 0.5922 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003789/0.1964, allocations: 445 kB / 0.5926 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001665/0.1981, allocations: 1.197 MB / 0.5937 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1981, allocations: 0 / 0.5937 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1981, allocations: 0 / 0.5937 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.1981, allocations: 4 kB / 0.5937 GB, free: 11.28 MB / 0.4981 GB 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.008262/0.2064, allocations: 1.702 MB / 0.5954 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.2064, allocations: 8.031 kB / 0.5954 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004489/0.2069, allocations: 138.9 kB / 0.5956 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006052/0.2075, allocations: 0.5211 MB / 0.5961 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.2075, allocations: 8.375 kB / 0.5961 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.293e-05/0.2076, allocations: 16.11 kB / 0.5961 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004539/0.208, allocations: 387.1 kB / 0.5965 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2081, allocations: 0 / 0.5965 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.2081, allocations: 0 / 0.5965 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2081, allocations: 0 / 0.5965 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004172/0.2085, allocations: 435.7 kB / 0.5969 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008296/0.2094, allocations: 0.8035 MB / 0.5977 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005275/0.2099, allocations: 0.5632 MB / 0.5982 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002983/0.2102, allocations: 337.7 kB / 0.5985 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001165/0.2114, allocations: 1.036 MB / 0.5995 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004268/0.2118, allocations: 400.8 kB / 0.5999 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 2.074e-06/0.2118, allocations: 4 kB / 0.5999 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001442/0.2133, allocations: 1.343 MB / 0.6012 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.2133, allocations: 85.09 kB / 0.6013 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001674/0.215, allocations: 1.843 MB / 0.6031 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.437e-05/0.2151, allocations: 25.7 kB / 0.6031 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003521/0.2154, allocations: 481.2 kB / 0.6036 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.2155, allocations: 31.84 kB / 0.6036 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003173/0.2158, allocations: 351.5 kB / 0.604 GB, free: 260 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.3351/0.5509, allocations: 301.1 kB / 0.6043 GB, free: 51.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/0.5527, allocations: 1.508 MB / 0.6057 GB, free: 51.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.554, allocations: 1.643 MB / 0.6073 GB, free: 51.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006298/0.5603, allocations: 3.692 MB / 0.6109 GB, free: 49.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.5603, allocations: 2.391 kB / 0.6109 GB, free: 49.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003754/0.5641, allocations: 4.32 MB / 0.6152 GB, free: 47.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.5641, allocations: 7.312 kB / 0.6152 GB, free: 47.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.5642, allocations: 0 / 0.6152 GB, free: 47.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.5642, allocations: 3.031 kB / 0.6152 GB, free: 47.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.5643, allocations: 18.44 kB / 0.6152 GB, free: 47.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/0.5644, allocations: 3.812 kB / 0.6152 GB, free: 47.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005516/0.5649, allocations: 229.5 kB / 0.6154 GB, free: 47.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.044e-05/0.565, allocations: 25.91 kB / 0.6154 GB, free: 47.54 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (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 (16): * Single equations (assignments): 13 * Array equations: 2 * 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.0004375/0.5654, allocations: 366 kB / 0.6158 GB, free: 47.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.869e-05/0.5655, allocations: 121.1 kB / 0.6159 GB, free: 47.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003249/0.5658, allocations: 143.9 kB / 0.616 GB, free: 47.28 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.5659, allocations: 2.156 kB / 0.616 GB, free: 47.28 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5659, allocations: 6.844 kB / 0.616 GB, free: 47.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5659, allocations: 0 / 0.616 GB, free: 47.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005083/0.5664, allocations: 0.6808 MB / 0.6167 GB, free: 46.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.5664, allocations: 4.344 kB / 0.6167 GB, free: 46.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.786e-05/0.5665, allocations: 3.875 kB / 0.6167 GB, free: 46.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.5665, allocations: 6.25 kB / 0.6167 GB, free: 46.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.5665, allocations: 5.031 kB / 0.6167 GB, free: 46.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.5665, allocations: 0 / 0.6167 GB, free: 46.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.5665, allocations: 7.406 kB / 0.6167 GB, free: 46.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000787/0.5673, allocations: 1.053 MB / 0.6178 GB, free: 46.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.5674, allocations: 204.3 kB / 0.618 GB, free: 46.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.101e-05/0.5675, allocations: 0 / 0.618 GB, free: 46.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.5677, allocations: 6.453 kB / 0.618 GB, free: 46.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.5678, allocations: 12.73 kB / 0.618 GB, free: 46.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.22e-05/0.5678, allocations: 15.98 kB / 0.618 GB, free: 46.56 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001048/0.5689, allocations: 1.104 MB / 0.6191 GB, free: 46.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.11e-07/0.5689, allocations: 3.656 kB / 0.6191 GB, free: 46.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001136/0.57, allocations: 428.2 kB / 0.6195 GB, free: 46.21 MB / 0.4981 GB 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.001145/0.5712, allocations: 492.6 kB / 0.6199 GB, free: 46.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002059/0.5733, allocations: 2.643 MB / 0.6225 GB, free: 45.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5733, allocations: 0 / 0.6225 GB, free: 45.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002909/0.5736, allocations: 341.8 kB / 0.6229 GB, free: 45.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.574, allocations: 44 kB / 0.6229 GB, free: 45.06 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002836/0.5768, allocations: 2.911 MB / 0.6257 GB, free: 43.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005232/0.5774, allocations: 1.149 MB / 0.6269 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.5775, allocations: 27.81 kB / 0.6269 GB, free: 43.24 MB / 0.4981 GB Notification: Performance of SimCode: time 8.01e-07/0.5775, allocations: 0 / 0.6269 GB, free: 43.24 MB / 0.4981 GB Notification: Performance of Templates: time 0.02979/0.6073, allocations: 15.03 MB / 0.6416 GB, free: 40.36 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)