Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.0008055/0.0008053, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.00523/0.00523, allocations: 169.4 kB / 16.26 MB, free: 6.66 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.37/1.37, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7593/0.7593, allocations: 132.4 MB / 423.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.0003281, allocations: 9.312 kB / 0.504 GB, free: 3.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4145, allocations: 81.57 MB / 0.5837 GB, free: 4.293 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001561/0.4161, allocations: 1.13 MB / 0.5848 GB, free: 3.461 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005046/0.4212, allocations: 3.159 MB / 0.5879 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.724e-05/0.4213, allocations: 0 / 0.5879 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.4214, allocations: 11.27 kB / 0.5879 GB, free: 1.359 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002489/0.4217, allocations: 28.73 kB / 0.5879 GB, free: 1.344 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00275/0.4245, allocations: 0.7661 MB / 0.5887 GB, free: 1.035 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.4247, allocations: 105.5 kB / 0.5888 GB, free: 1.008 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.181e-05/0.4248, allocations: 3.547 kB / 0.5888 GB, free: 1.008 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.898e-05/0.4249, allocations: 44.23 kB / 0.5888 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004525/0.4254, allocations: 229.2 kB / 0.589 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.152e-05/0.4254, allocations: 12.94 kB / 0.5891 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003141/0.4286, allocations: 1.386 MB / 0.5904 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008739/0.4295, allocations: 0.6835 MB / 0.5911 GB, free: 364 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008626/0.4303, allocations: 471.1 kB / 0.5915 GB, free: 48 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004179/0.4345, allocations: 1.768 MB / 0.5933 GB, free: 15.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4346, allocations: 0 / 0.5933 GB, free: 15.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.4346, allocations: 1.219 kB / 0.5933 GB, free: 15.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.033e-05/0.4346, allocations: 4 kB / 0.5933 GB, free: 15.44 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.01251/0.4471, allocations: 1.598 MB / 0.5948 GB, free: 14.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.4472, allocations: 8.625 kB / 0.5948 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005048/0.4477, allocations: 142.7 kB / 0.595 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007015/0.4484, allocations: 0.5234 MB / 0.5955 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.4484, allocations: 7.922 kB / 0.5955 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.876e-05/0.4485, allocations: 10.14 kB / 0.5955 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005616/0.4491, allocations: 384.5 kB / 0.5959 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4491, allocations: 0 / 0.5959 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.4491, allocations: 13.08 kB / 0.5959 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.4491, allocations: 1.5 kB / 0.5959 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004644/0.4496, allocations: 433.6 kB / 0.5963 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.4507, allocations: 0.8061 MB / 0.5971 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006074/0.4514, allocations: 0.566 MB / 0.5976 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003928/0.4518, allocations: 340.5 kB / 0.598 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001217/0.453, allocations: 1.041 MB / 0.599 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005082/0.4535, allocations: 407.5 kB / 0.5994 GB, free: 11.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 2.054e-06/0.4535, allocations: 0 / 0.5994 GB, free: 11.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.00171/0.4552, allocations: 1.339 MB / 0.6007 GB, free: 11.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/0.4553, allocations: 87.66 kB / 0.6007 GB, free: 11.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002905/0.4582, allocations: 1.837 MB / 0.6025 GB, free: 10.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.672e-05/0.4583, allocations: 31.86 kB / 0.6026 GB, free: 10.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005895/0.4589, allocations: 479.5 kB / 0.603 GB, free: 9.613 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.598e-05/0.459, allocations: 27.8 kB / 0.6031 GB, free: 9.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003859/0.4594, allocations: 288.5 kB / 0.6033 GB, free: 9.438 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.4595, allocations: 302.5 kB / 0.6036 GB, free: 9.141 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00197/0.4615, allocations: 1.51 MB / 0.6051 GB, free: 8.551 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002127/0.4636, allocations: 1.644 MB / 0.6067 GB, free: 7.863 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007836/0.4715, allocations: 3.692 MB / 0.6103 GB, free: 4.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.808e-06/0.4715, allocations: 0 / 0.6103 GB, free: 4.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00497/0.4765, allocations: 4.327 MB / 0.6145 GB, free: 324 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.4765, allocations: 4 kB / 0.6145 GB, free: 320 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.4765, allocations: 4.031 kB / 0.6145 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.4766, allocations: 4 kB / 0.6145 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.4767, allocations: 19.92 kB / 0.6146 GB, free: 292 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.4767, allocations: 0 / 0.6146 GB, free: 292 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009455/0.4777, allocations: 232.3 kB / 0.6148 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-05/0.4778, allocations: 19.98 kB / 0.6148 GB, free: 36 kB / 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: 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.0006143/0.4784, allocations: 367 kB / 0.6152 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.4785, allocations: 130 kB / 0.6153 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004387/0.479, allocations: 145 kB / 0.6154 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.479, allocations: 4 kB / 0.6154 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.479, allocations: 0 / 0.6154 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.479, allocations: 3.984 kB / 0.6154 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000877/0.4799, allocations: 0.6832 MB / 0.6161 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4799, allocations: 0 / 0.6161 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.367e-05/0.48, allocations: 8.031 kB / 0.6161 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.48, allocations: 4 kB / 0.6161 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.48, allocations: 7.984 kB / 0.6161 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.48, allocations: 4 kB / 0.6161 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.48, allocations: 4 kB / 0.6161 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.4811, allocations: 1.055 MB / 0.6171 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003046/0.4814, allocations: 199.1 kB / 0.6173 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.4815, allocations: 0 / 0.6173 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.4817, allocations: 4 kB / 0.6173 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.4818, allocations: 15.92 kB / 0.6174 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.441e-05/0.4818, allocations: 11.98 kB / 0.6174 GB, free: 13.29 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001378/0.4832, allocations: 1.104 MB / 0.6184 GB, free: 12.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 3e-07/0.4832, allocations: 0 / 0.6184 GB, free: 12.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0017/0.4849, allocations: 431.8 kB / 0.6189 GB, free: 11.73 MB / 462.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.001971/0.4869, allocations: 482.9 kB / 0.6193 GB, free: 11.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002565/0.4895, allocations: 2.648 MB / 0.6219 GB, free: 8.598 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4895, allocations: 0 / 0.6219 GB, free: 8.598 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003227/0.4898, allocations: 343.7 kB / 0.6222 GB, free: 8.262 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005187/0.4904, allocations: 54.09 kB / 0.6223 GB, free: 8.207 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0038/0.4942, allocations: 2.865 MB / 0.6251 GB, free: 5.309 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008869/0.4951, allocations: 1.153 MB / 0.6262 GB, free: 4.129 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002375/0.4953, allocations: 36.55 kB / 0.6262 GB, free: 4.094 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.4954, allocations: 23.42 kB / 0.6263 GB, free: 4.07 MB / 462.1 MB Notification: Performance of SimCode: time 8.61e-07/0.4955, allocations: 0 / 0.6263 GB, free: 4.07 MB / 462.1 MB Notification: Performance of Templates: time 0.01907/0.5145, allocations: 9.729 MB / 0.6358 GB, free: 10.38 MB / 478.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)