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.001209/0.001209, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001172/0.001172, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.411/1.411, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8308/0.8308, allocations: 132.2 MB / 423.2 MB, free: 6.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 71.86 kB / 0.5025 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3965, allocations: 80.18 MB / 0.5808 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002331/0.3988, allocations: 1.402 MB / 0.5821 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00421/0.4031, allocations: 3.016 MB / 0.5851 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.371e-05/0.4032, allocations: 1 kB / 0.5851 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.4034, allocations: 18.64 kB / 0.5851 GB, free: 23.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.4036, allocations: 26.58 kB / 0.5851 GB, free: 23.73 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002953/0.4066, allocations: 1.001 MB / 0.5861 GB, free: 23.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.4068, allocations: 81.69 kB / 0.5862 GB, free: 23.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.573e-05/0.4068, allocations: 3.594 kB / 0.5862 GB, free: 23.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.475e-05/0.4069, allocations: 48.02 kB / 0.5862 GB, free: 23.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002321/0.4071, allocations: 157.9 kB / 0.5864 GB, free: 22.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.534e-05/0.4072, allocations: 13.44 kB / 0.5864 GB, free: 22.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002267/0.4095, allocations: 1.368 MB / 0.5877 GB, free: 22.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000661/0.4101, allocations: 0.6927 MB / 0.5884 GB, free: 21.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003346/0.4105, allocations: 440 kB / 0.5888 GB, free: 21.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002465/0.413, allocations: 1.77 MB / 0.5906 GB, free: 20.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.413, allocations: 4 kB / 0.5906 GB, free: 20.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.413, allocations: 0 / 0.5906 GB, free: 20.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.413, allocations: 2.219 kB / 0.5906 GB, free: 20.19 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.01066/0.4237, allocations: 1.686 MB / 0.5922 GB, free: 18.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.4237, allocations: 13.11 kB / 0.5922 GB, free: 18.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003988/0.4241, allocations: 144.2 kB / 0.5924 GB, free: 18.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004533/0.4246, allocations: 0.5289 MB / 0.5929 GB, free: 17.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.4246, allocations: 4.859 kB / 0.5929 GB, free: 17.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.574e-05/0.4247, allocations: 8.688 kB / 0.5929 GB, free: 17.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000349/0.425, allocations: 397.5 kB / 0.5933 GB, free: 17.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.4251, allocations: 0 / 0.5933 GB, free: 17.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.4251, allocations: 4 kB / 0.5933 GB, free: 17.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.4251, allocations: 4 kB / 0.5933 GB, free: 17.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003203/0.4254, allocations: 438.2 kB / 0.5937 GB, free: 16.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006003/0.426, allocations: 0.7996 MB / 0.5945 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003828/0.4264, allocations: 0.565 MB / 0.595 GB, free: 15.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.4267, allocations: 347 kB / 0.5954 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008456/0.4275, allocations: 1.026 MB / 0.5964 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003086/0.4278, allocations: 398.8 kB / 0.5967 GB, free: 13.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.502e-06/0.4279, allocations: 1.25 kB / 0.5967 GB, free: 13.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001055/0.4289, allocations: 1.349 MB / 0.5981 GB, free: 12.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.429, allocations: 81.11 kB / 0.5981 GB, free: 11.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.4304, allocations: 1.846 MB / 0.5999 GB, free: 10.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.4304, allocations: 33.7 kB / 0.6 GB, free: 10.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002626/0.4307, allocations: 474 kB / 0.6004 GB, free: 9.555 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.4307, allocations: 13.59 kB / 0.6004 GB, free: 9.543 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/0.431, allocations: 359.5 kB / 0.6008 GB, free: 9.188 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.376e-05/0.431, allocations: 305.1 kB / 0.6011 GB, free: 8.887 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009636/0.432, allocations: 1.518 MB / 0.6026 GB, free: 7.367 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009987/0.433, allocations: 1.646 MB / 0.6042 GB, free: 5.711 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006334/0.4393, allocations: 3.688 MB / 0.6078 GB, free: 1.934 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.4394, allocations: 0.8438 kB / 0.6078 GB, free: 1.934 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004306/0.4437, allocations: 4.321 MB / 0.612 GB, free: 13.57 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.4438, allocations: 4 kB / 0.612 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/0.4438, allocations: 9.266 kB / 0.612 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.4438, allocations: 0 / 0.612 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.444, allocations: 12 kB / 0.612 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.444, allocations: 0.75 kB / 0.612 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006599/0.4447, allocations: 237.3 kB / 0.6122 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-05/0.4447, allocations: 23.98 kB / 0.6123 GB, free: 13.29 MB / 462.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.0005167/0.4452, allocations: 370 kB / 0.6126 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.4454, allocations: 118.5 kB / 0.6127 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003773/0.4457, allocations: 147.7 kB / 0.6129 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.4458, allocations: 0 / 0.6129 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.4458, allocations: 0 / 0.6129 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4458, allocations: 3.938 kB / 0.6129 GB, free: 12.65 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006377/0.4464, allocations: 0.6837 MB / 0.6135 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.4464, allocations: 5.141 kB / 0.6135 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.354e-05/0.4465, allocations: 8 kB / 0.6136 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.4465, allocations: 0 / 0.6136 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.4465, allocations: 4.984 kB / 0.6136 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.4465, allocations: 4 kB / 0.6136 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.4466, allocations: 0 / 0.6136 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.4476, allocations: 1.055 MB / 0.6146 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/0.4478, allocations: 195.1 kB / 0.6148 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.275e-05/0.4479, allocations: 7.984 kB / 0.6148 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.4481, allocations: 8.5 kB / 0.6148 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.4482, allocations: 13.3 kB / 0.6148 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.222e-05/0.4482, allocations: 11.98 kB / 0.6148 GB, free: 10.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001279/0.4495, allocations: 1.101 MB / 0.6159 GB, free: 9.441 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4495, allocations: 2.688 kB / 0.6159 GB, free: 9.441 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00136/0.4509, allocations: 431.9 kB / 0.6163 GB, free: 9.02 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.001258/0.4522, allocations: 486.1 kB / 0.6168 GB, free: 8.543 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002685/0.4549, allocations: 2.649 MB / 0.6194 GB, free: 5.887 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4549, allocations: 0.5 kB / 0.6194 GB, free: 5.887 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003793/0.4553, allocations: 344.8 kB / 0.6197 GB, free: 5.551 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004837/0.4558, allocations: 47.2 kB / 0.6197 GB, free: 5.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003518/0.4593, allocations: 2.654 MB / 0.6223 GB, free: 2.816 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008032/0.4601, allocations: 1.157 MB / 0.6235 GB, free: 1.633 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.4603, allocations: 27.42 kB / 0.6235 GB, free: 1.605 MB / 462.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4603, allocations: 0 / 0.6235 GB, free: 1.605 MB / 462.1 MB Notification: Performance of Templates: time 0.02765/0.4879, allocations: 15.04 MB / 0.6382 GB, free: 2.57 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)