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.00106/0.00106, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001327/0.001327, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9351/0.9351, allocations: 135.3 MB / 426.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002975/0.0002976, allocations: 12 kB / 0.507 GB, free: 5.117 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1401, allocations: 82.3 MB / 0.5874 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001335/0.1414, allocations: 1.109 MB / 0.5885 GB, free: 1.863 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003953/0.1454, allocations: 2.807 MB / 0.5912 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.1455, allocations: 0 / 0.5912 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.912e-05/0.1456, allocations: 11.86 kB / 0.5912 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001772/0.1457, allocations: 31.84 kB / 0.5913 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00161/0.1474, allocations: 0.7531 MB / 0.592 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.1475, allocations: 91.67 kB / 0.5921 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.226e-05/0.1475, allocations: 4 kB / 0.5921 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.672e-05/0.1476, allocations: 39.89 kB / 0.5921 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002816/0.1479, allocations: 235.7 kB / 0.5924 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.471e-05/0.1479, allocations: 16 kB / 0.5924 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.1497, allocations: 1.306 MB / 0.5937 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006481/0.1503, allocations: 0.7016 MB / 0.5943 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.1505, allocations: 184.9 kB / 0.5945 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.1516, allocations: 1.177 MB / 0.5957 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1517, allocations: 0 / 0.5957 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1517, allocations: 0 / 0.5957 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.1517, allocations: 0 / 0.5957 GB, free: 10.49 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.007345/0.159, allocations: 1.605 MB / 0.5972 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1591, allocations: 8.031 kB / 0.5972 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003505/0.1594, allocations: 138 kB / 0.5974 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005206/0.16, allocations: 0.501 MB / 0.5979 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.16, allocations: 4 kB / 0.5979 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.807e-05/0.16, allocations: 11.97 kB / 0.5979 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004484/0.1605, allocations: 395.1 kB / 0.5983 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1605, allocations: 0 / 0.5983 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.1605, allocations: 0 / 0.5983 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.1605, allocations: 3.938 kB / 0.5983 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004544/0.161, allocations: 435.7 kB / 0.5987 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007144/0.1617, allocations: 0.8073 MB / 0.5995 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00052/0.1622, allocations: 0.5632 MB / 0.6 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003018/0.1626, allocations: 337.7 kB / 0.6003 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009317/0.1635, allocations: 1.032 MB / 0.6013 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003979/0.1639, allocations: 412.8 kB / 0.6017 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.1639, allocations: 0 / 0.6017 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001367/0.1653, allocations: 1.343 MB / 0.603 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.1654, allocations: 85.09 kB / 0.6031 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/0.1671, allocations: 1.835 MB / 0.6049 GB, free: 480 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.1672, allocations: 29.7 kB / 0.6049 GB, free: 444 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.2599/0.4271, allocations: 470.6 kB / 0.6054 GB, free: 48.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.114e-05/0.4272, allocations: 25.23 kB / 0.6054 GB, free: 48.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.4272, allocations: 2.844 kB / 0.6054 GB, free: 48.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.4274, allocations: 410.2 kB / 0.6058 GB, free: 48.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.4285, allocations: 1.511 MB / 0.6073 GB, free: 48.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.4296, allocations: 1.64 MB / 0.6089 GB, free: 48.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.4311, allocations: 2.049 MB / 0.6109 GB, free: 47.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.4311, allocations: 5.453 kB / 0.6109 GB, free: 47.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003561/0.4347, allocations: 4.296 MB / 0.6151 GB, free: 46.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.4347, allocations: 10.8 kB / 0.6151 GB, free: 46.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.4347, allocations: 3.219 kB / 0.6151 GB, free: 46.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.4347, allocations: 1.406 kB / 0.6151 GB, free: 46.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.4349, allocations: 20.59 kB / 0.6151 GB, free: 46.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.4349, allocations: 4.953 kB / 0.6151 GB, free: 46.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004843/0.4354, allocations: 233 kB / 0.6154 GB, free: 46.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.717e-05/0.4354, allocations: 20.78 kB / 0.6154 GB, free: 46.01 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003995/0.4358, allocations: 365.3 kB / 0.6157 GB, free: 45.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.525e-05/0.4359, allocations: 122.9 kB / 0.6158 GB, free: 45.81 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002944/0.4362, allocations: 144.9 kB / 0.616 GB, free: 45.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.4362, allocations: 3.188 kB / 0.616 GB, free: 45.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.4362, allocations: 5.281 kB / 0.616 GB, free: 45.74 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.4363, allocations: 0.6875 kB / 0.616 GB, free: 45.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004434/0.4367, allocations: 0.6764 MB / 0.6166 GB, free: 45.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4367, allocations: 4.656 kB / 0.6167 GB, free: 45.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.629e-05/0.4368, allocations: 13.77 kB / 0.6167 GB, free: 45.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4368, allocations: 0 / 0.6167 GB, free: 45.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.4368, allocations: 10.12 kB / 0.6167 GB, free: 45.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.4368, allocations: 0.9375 kB / 0.6167 GB, free: 45.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4368, allocations: 0 / 0.6167 GB, free: 45.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007655/0.4376, allocations: 1.057 MB / 0.6177 GB, free: 45.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.4377, allocations: 196.8 kB / 0.6179 GB, free: 45.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.4378, allocations: 6.734 kB / 0.6179 GB, free: 45.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.438, allocations: 10.17 kB / 0.6179 GB, free: 45.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.4381, allocations: 7.25 kB / 0.6179 GB, free: 45.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.856e-05/0.4381, allocations: 20.34 kB / 0.6179 GB, free: 45.03 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009934/0.4391, allocations: 1.099 MB / 0.619 GB, free: 44.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4391, allocations: 0 / 0.619 GB, free: 44.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009864/0.4401, allocations: 433 kB / 0.6194 GB, free: 44.68 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001057/0.4412, allocations: 488.5 kB / 0.6199 GB, free: 44.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001875/0.4431, allocations: 2.639 MB / 0.6225 GB, free: 43.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4431, allocations: 3.188 kB / 0.6225 GB, free: 43.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002585/0.4433, allocations: 340.1 kB / 0.6228 GB, free: 43.58 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.4437, allocations: 48.88 kB / 0.6228 GB, free: 43.53 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002512/0.4462, allocations: 2.705 MB / 0.6255 GB, free: 42.56 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004812/0.4467, allocations: 1.149 MB / 0.6266 GB, free: 41.86 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001771/0.4469, allocations: 35.33 kB / 0.6266 GB, free: 41.86 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.323e-05/0.447, allocations: 29.52 kB / 0.6267 GB, free: 41.84 MB / 0.4981 GB Notification: Performance of SimCode: time 3.8e-07/0.447, allocations: 3.844 kB / 0.6267 GB, free: 41.84 MB / 0.4981 GB Notification: Performance of Templates: time 0.01695/0.4639, allocations: 9.54 MB / 0.636 GB, free: 41.18 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)