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.001185/0.001185, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001203/0.001203, allocations: 198.8 kB / 16.91 MB, free: 6.195 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.36/1.36, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7873/0.7873, allocations: 132.2 MB / 422.9 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 67.91 kB / 0.5019 GB, free: 12.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.397, allocations: 80.19 MB / 0.5803 GB, free: 27.1 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002311/0.3994, allocations: 1.457 MB / 0.5817 GB, free: 25.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003714/0.4031, allocations: 3.043 MB / 0.5847 GB, free: 23.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.532e-05/0.4032, allocations: 0 / 0.5847 GB, free: 23.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.4033, allocations: 9.047 kB / 0.5847 GB, free: 23.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000224/0.4035, allocations: 28.16 kB / 0.5847 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002329/0.4059, allocations: 0.8819 MB / 0.5855 GB, free: 23.08 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.406, allocations: 81.92 kB / 0.5856 GB, free: 23.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.911e-05/0.4061, allocations: 6.484 kB / 0.5856 GB, free: 23.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.119e-05/0.4061, allocations: 44.62 kB / 0.5857 GB, free: 23.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/0.4064, allocations: 221.7 kB / 0.5859 GB, free: 22.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.669e-05/0.4064, allocations: 18 kB / 0.5859 GB, free: 22.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001728/0.4082, allocations: 1.409 MB / 0.5873 GB, free: 22.13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005717/0.4088, allocations: 0.6919 MB / 0.588 GB, free: 21.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003098/0.4091, allocations: 440.2 kB / 0.5884 GB, free: 21.53 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001299/0.4104, allocations: 1.211 MB / 0.5896 GB, free: 20.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4104, allocations: 0.7812 kB / 0.5896 GB, free: 20.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4104, allocations: 0 / 0.5896 GB, free: 20.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.4104, allocations: 0.5938 kB / 0.5896 GB, free: 20.87 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.008405/0.4188, allocations: 1.693 MB / 0.5912 GB, free: 19.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.4189, allocations: 9.109 kB / 0.5912 GB, free: 19.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003666/0.4193, allocations: 138.9 kB / 0.5914 GB, free: 18.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/0.4197, allocations: 0.5255 MB / 0.5919 GB, free: 18.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.4197, allocations: 12.34 kB / 0.5919 GB, free: 18.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.4197, allocations: 13.09 kB / 0.5919 GB, free: 18.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003221/0.4201, allocations: 389.5 kB / 0.5923 GB, free: 17.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.4201, allocations: 0 / 0.5923 GB, free: 17.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.4201, allocations: 11.88 kB / 0.5923 GB, free: 17.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.4201, allocations: 0 / 0.5923 GB, free: 17.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002977/0.4204, allocations: 440.8 kB / 0.5927 GB, free: 17.53 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005477/0.421, allocations: 0.8082 MB / 0.5935 GB, free: 16.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003634/0.4214, allocations: 0.5585 MB / 0.594 GB, free: 16.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/0.4216, allocations: 337.7 kB / 0.5944 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008168/0.4224, allocations: 1.038 MB / 0.5954 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002904/0.4227, allocations: 400.3 kB / 0.5957 GB, free: 14.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.4227, allocations: 0 / 0.5957 GB, free: 14.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009731/0.4237, allocations: 1.344 MB / 0.5971 GB, free: 12.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.4237, allocations: 85.59 kB / 0.5971 GB, free: 12.63 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.4251, allocations: 1.847 MB / 0.5989 GB, free: 10.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.4251, allocations: 25.7 kB / 0.599 GB, free: 10.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002562/0.4254, allocations: 479.2 kB / 0.5994 GB, free: 10.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.4254, allocations: 19.8 kB / 0.5994 GB, free: 10.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/0.4257, allocations: 351.5 kB / 0.5998 GB, free: 9.867 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.368e-05/0.4257, allocations: 302.8 kB / 0.6001 GB, free: 9.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008721/0.4266, allocations: 1.506 MB / 0.6015 GB, free: 8.062 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009551/0.4275, allocations: 1.65 MB / 0.6032 GB, free: 6.402 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005817/0.4334, allocations: 3.691 MB / 0.6068 GB, free: 2.621 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.4334, allocations: 1.125 kB / 0.6068 GB, free: 2.621 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003698/0.4371, allocations: 4.321 MB / 0.611 GB, free: 14.26 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.4371, allocations: 8 kB / 0.611 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.4372, allocations: 0 / 0.611 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.4372, allocations: 0 / 0.611 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.4373, allocations: 17.55 kB / 0.611 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.4373, allocations: 4 kB / 0.611 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006483/0.438, allocations: 224.3 kB / 0.6112 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-05/0.4381, allocations: 27.98 kB / 0.6112 GB, free: 13.98 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.0005572/0.4386, allocations: 377.6 kB / 0.6116 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.4387, allocations: 122 kB / 0.6117 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003754/0.4391, allocations: 147 kB / 0.6119 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.4391, allocations: 0 / 0.6119 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.4391, allocations: 5.062 kB / 0.6119 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4392, allocations: 0 / 0.6119 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005892/0.4397, allocations: 0.6755 MB / 0.6125 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.4398, allocations: 4.562 kB / 0.6125 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.121e-05/0.4398, allocations: 14.23 kB / 0.6125 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.4398, allocations: 0 / 0.6125 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.4399, allocations: 4 kB / 0.6125 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.4399, allocations: 0 / 0.6125 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4399, allocations: 0 / 0.6125 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008647/0.4408, allocations: 1.068 MB / 0.6136 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.4409, allocations: 196.7 kB / 0.6138 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.172e-05/0.441, allocations: 8 kB / 0.6138 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.4412, allocations: 3.984 kB / 0.6138 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.4413, allocations: 6.312 kB / 0.6138 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.19e-05/0.4413, allocations: 19.97 kB / 0.6138 GB, free: 11.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001143/0.4425, allocations: 1.104 MB / 0.6149 GB, free: 10.12 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4425, allocations: 0 / 0.6149 GB, free: 10.12 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001256/0.4438, allocations: 427.9 kB / 0.6153 GB, free: 9.699 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.001192/0.445, allocations: 489.2 kB / 0.6158 GB, free: 9.223 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00223/0.4472, allocations: 2.653 MB / 0.6184 GB, free: 6.562 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4472, allocations: 0.5938 kB / 0.6184 GB, free: 6.562 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002912/0.4475, allocations: 336.9 kB / 0.6187 GB, free: 6.234 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.4479, allocations: 55.19 kB / 0.6187 GB, free: 6.176 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/0.4511, allocations: 2.907 MB / 0.6216 GB, free: 3.254 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006205/0.4517, allocations: 1.153 MB / 0.6227 GB, free: 2.074 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.4518, allocations: 27.42 kB / 0.6227 GB, free: 2.047 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4518, allocations: 0 / 0.6227 GB, free: 2.047 MB / 462.1 MB Notification: Performance of Templates: time 0.02309/0.4749, allocations: 15.03 MB / 0.6374 GB, free: 3.016 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)