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.001194/0.001199, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.277/1.277, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7379/0.7379, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.8 kB / 0.5018 GB, free: 3.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3601, allocations: 80.2 MB / 0.5801 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002192/0.3624, allocations: 1.402 MB / 0.5815 GB, free: 3.598 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00377/0.3662, allocations: 3.028 MB / 0.5845 GB, free: 1.562 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.085e-05/0.3662, allocations: 0 / 0.5845 GB, free: 1.562 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.251e-05/0.3663, allocations: 7.781 kB / 0.5845 GB, free: 1.559 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002027/0.3666, allocations: 32.62 kB / 0.5845 GB, free: 1.539 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002483/0.3691, allocations: 0.9947 MB / 0.5855 GB, free: 1.168 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.3692, allocations: 87.33 kB / 0.5855 GB, free: 1.137 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.988e-05/0.3692, allocations: 4.469 kB / 0.5855 GB, free: 1.137 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.135e-05/0.3693, allocations: 38.62 kB / 0.5856 GB, free: 1.125 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.3695, allocations: 157.2 kB / 0.5857 GB, free: 1.086 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.295e-05/0.3696, allocations: 12.88 kB / 0.5857 GB, free: 1.086 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002097/0.3717, allocations: 1.378 MB / 0.5871 GB, free: 0.668 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006902/0.3724, allocations: 0.6814 MB / 0.5878 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003398/0.3727, allocations: 445.4 kB / 0.5882 GB, free: 224 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002601/0.3753, allocations: 1.771 MB / 0.5899 GB, free: 15.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3754, allocations: 0.6562 kB / 0.5899 GB, free: 15.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3754, allocations: 0 / 0.5899 GB, free: 15.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.3754, allocations: 0.9062 kB / 0.5899 GB, free: 15.62 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.01072/0.3861, allocations: 1.695 MB / 0.5916 GB, free: 14.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.3862, allocations: 9 kB / 0.5916 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004051/0.3866, allocations: 150.2 kB / 0.5917 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005495/0.3871, allocations: 0.5204 MB / 0.5922 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.3872, allocations: 12.53 kB / 0.5922 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/0.3872, allocations: 12.83 kB / 0.5923 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/0.3876, allocations: 390.8 kB / 0.5926 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3877, allocations: 3.984 kB / 0.5926 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.3877, allocations: 4 kB / 0.5926 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3877, allocations: 1.75 kB / 0.5926 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004148/0.3881, allocations: 433.9 kB / 0.5931 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000743/0.3889, allocations: 0.7987 MB / 0.5938 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004889/0.3894, allocations: 0.5694 MB / 0.5944 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002971/0.3897, allocations: 337.2 kB / 0.5947 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/0.3907, allocations: 1.031 MB / 0.5957 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003806/0.3911, allocations: 407.8 kB / 0.5961 GB, free: 11.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.432e-06/0.3911, allocations: 0 / 0.5961 GB, free: 11.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001366/0.3925, allocations: 1.338 MB / 0.5974 GB, free: 11.35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.3925, allocations: 88.72 kB / 0.5975 GB, free: 11.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/0.3944, allocations: 1.845 MB / 0.5993 GB, free: 10.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.771e-05/0.3945, allocations: 32.14 kB / 0.5993 GB, free: 10.22 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003444/0.3948, allocations: 475.1 kB / 0.5998 GB, free: 9.824 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.3949, allocations: 20.23 kB / 0.5998 GB, free: 9.809 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003235/0.3952, allocations: 356.5 kB / 0.6001 GB, free: 9.637 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.01e-05/0.3953, allocations: 301.1 kB / 0.6004 GB, free: 9.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.3966, allocations: 1.511 MB / 0.6019 GB, free: 8.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/0.3979, allocations: 1.656 MB / 0.6035 GB, free: 8.051 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006857/0.4048, allocations: 3.689 MB / 0.6071 GB, free: 5.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.4048, allocations: 0 / 0.6071 GB, free: 5.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004064/0.4089, allocations: 4.323 MB / 0.6113 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.409, allocations: 10.19 kB / 0.6114 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.409, allocations: 0 / 0.6114 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.409, allocations: 0 / 0.6114 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.4091, allocations: 19.92 kB / 0.6114 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.4091, allocations: 4 kB / 0.6114 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007395/0.4099, allocations: 224.3 kB / 0.6116 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.5e-05/0.4099, allocations: 23.98 kB / 0.6116 GB, free: 0.6328 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: 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.0005317/0.4105, allocations: 371.1 kB / 0.612 GB, free: 268 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.848e-05/0.4106, allocations: 126 kB / 0.6121 GB, free: 140 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003368/0.4109, allocations: 145 kB / 0.6122 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.4109, allocations: 0 / 0.6122 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.411, allocations: 3.984 kB / 0.6122 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.411, allocations: 4 kB / 0.6122 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006132/0.4116, allocations: 0.6794 MB / 0.6129 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4116, allocations: 4 kB / 0.6129 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.936e-05/0.4117, allocations: 7.984 kB / 0.6129 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.4117, allocations: 3.938 kB / 0.6129 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.4117, allocations: 4 kB / 0.6129 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4117, allocations: 0 / 0.6129 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4117, allocations: 0 / 0.6129 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008494/0.4126, allocations: 1.071 MB / 0.614 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.4127, allocations: 195.1 kB / 0.6141 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.154e-05/0.4128, allocations: 4 kB / 0.6142 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.413, allocations: 3.984 kB / 0.6142 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.718e-05/0.413, allocations: 4 kB / 0.6142 GB, free: 13.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.4131, allocations: 15.97 kB / 0.6142 GB, free: 13.89 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001113/0.4142, allocations: 1.112 MB / 0.6153 GB, free: 12.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4142, allocations: 0 / 0.6153 GB, free: 12.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001368/0.4156, allocations: 419.9 kB / 0.6157 GB, free: 12.34 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.001155/0.4167, allocations: 490.2 kB / 0.6161 GB, free: 11.86 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002098/0.4188, allocations: 2.655 MB / 0.6187 GB, free: 9.191 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4189, allocations: 0 / 0.6187 GB, free: 9.191 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002981/0.4192, allocations: 335.8 kB / 0.619 GB, free: 8.863 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.4196, allocations: 54.47 kB / 0.6191 GB, free: 8.805 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/0.4223, allocations: 2.595 MB / 0.6216 GB, free: 6.176 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006155/0.423, allocations: 1.149 MB / 0.6227 GB, free: 5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001838/0.4231, allocations: 32.55 kB / 0.6228 GB, free: 4.965 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.129e-05/0.4232, allocations: 27.42 kB / 0.6228 GB, free: 4.938 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4233, allocations: 0 / 0.6228 GB, free: 4.938 MB / 462.1 MB Notification: Performance of Templates: time 0.01672/0.44, allocations: 10.1 MB / 0.6327 GB, free: 10.87 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)