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_1borehole_5meters.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_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008016/0.0008015, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008247/0.008247, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.513/1.513, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9109/0.9109, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003563, allocations: 8 kB / 0.5076 GB, free: 4.727 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1483, allocations: 82.31 MB / 0.588 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00144/0.1497, allocations: 1.121 MB / 0.5891 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004824/0.1546, allocations: 3.156 MB / 0.5922 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.223e-05/0.1547, allocations: 7.938 kB / 0.5922 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.1548, allocations: 7.922 kB / 0.5922 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.155, allocations: 23.91 kB / 0.5922 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002191/0.1572, allocations: 0.7636 MB / 0.593 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.1573, allocations: 115.6 kB / 0.5931 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.079e-05/0.1574, allocations: 4 kB / 0.5931 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.586e-05/0.1575, allocations: 43.83 kB / 0.5931 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.1577, allocations: 156.9 kB / 0.5933 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.272e-05/0.1578, allocations: 16 kB / 0.5933 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002205/0.16, allocations: 1.388 MB / 0.5946 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002449/0.1603, allocations: 263.8 kB / 0.5949 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002728/0.1605, allocations: 304 kB / 0.5952 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002089/0.1626, allocations: 1.477 MB / 0.5966 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1627, allocations: 0 / 0.5966 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1627, allocations: 0 / 0.5966 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.388e-05/0.1627, allocations: 0 / 0.5966 GB, free: 9.711 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.01059/0.1733, allocations: 1.16 MB / 0.5978 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/0.1733, allocations: 12.03 kB / 0.5978 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003799/0.1737, allocations: 83.69 kB / 0.5979 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004295/0.1742, allocations: 356.9 kB / 0.5982 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.1742, allocations: 8.375 kB / 0.5982 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.953e-05/0.1743, allocations: 12.11 kB / 0.5982 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004452/0.1747, allocations: 391.1 kB / 0.5986 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.1747, allocations: 0 / 0.5986 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.1748, allocations: 0 / 0.5986 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1748, allocations: 0 / 0.5986 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004634/0.1752, allocations: 435.7 kB / 0.599 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006331/0.1759, allocations: 0.6365 MB / 0.5996 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005317/0.1764, allocations: 0.5595 MB / 0.6002 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003257/0.1768, allocations: 345.5 kB / 0.6005 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001037/0.1778, allocations: 1.036 MB / 0.6015 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004222/0.1782, allocations: 400.8 kB / 0.6019 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.1783, allocations: 4 kB / 0.6019 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001316/0.1796, allocations: 1.289 MB / 0.6032 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.1796, allocations: 81.11 kB / 0.6032 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.1808, allocations: 1.202 MB / 0.6044 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/0.1808, allocations: 33.69 kB / 0.6044 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.181, allocations: 261.4 kB / 0.6047 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.1811, allocations: 27.73 kB / 0.6047 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002388/0.1813, allocations: 283.6 kB / 0.605 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1814, allocations: 314 kB / 0.6053 GB, free: 360 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2711/0.4525, allocations: 1.357 MB / 0.6066 GB, free: 48.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009879/0.4536, allocations: 1.491 MB / 0.6081 GB, free: 48.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006448/0.46, allocations: 3.542 MB / 0.6115 GB, free: 47.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.46, allocations: 3.312 kB / 0.6115 GB, free: 47.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003316/0.4634, allocations: 3.967 MB / 0.6154 GB, free: 46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.4634, allocations: 6.281 kB / 0.6154 GB, free: 46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.4634, allocations: 0.5 kB / 0.6154 GB, free: 46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.4634, allocations: 2.906 kB / 0.6154 GB, free: 46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.4636, allocations: 15.77 kB / 0.6154 GB, free: 46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.4636, allocations: 5.062 kB / 0.6154 GB, free: 46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004243/0.464, allocations: 233.7 kB / 0.6157 GB, free: 45.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.683e-05/0.4641, allocations: 23.38 kB / 0.6157 GB, free: 45.82 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 (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.0002383/0.4643, allocations: 246.2 kB / 0.6159 GB, free: 45.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.989e-05/0.4644, allocations: 64.81 kB / 0.616 GB, free: 45.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002524/0.4646, allocations: 76.31 kB / 0.616 GB, free: 45.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.4646, allocations: 0 / 0.616 GB, free: 45.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.4646, allocations: 3.281 kB / 0.616 GB, free: 45.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4647, allocations: 0 / 0.616 GB, free: 45.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.465, allocations: 499.1 kB / 0.6165 GB, free: 45.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.465, allocations: 0 / 0.6165 GB, free: 45.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.299e-05/0.465, allocations: 8.922 kB / 0.6165 GB, free: 45.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4651, allocations: 3.312 kB / 0.6165 GB, free: 45.33 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.4651, allocations: 2.812 kB / 0.6165 GB, free: 45.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4651, allocations: 6.141 kB / 0.6165 GB, free: 45.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4651, allocations: 0 / 0.6165 GB, free: 45.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006869/0.4658, allocations: 1.01 MB / 0.6175 GB, free: 45.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.808e-05/0.4658, allocations: 150.2 kB / 0.6177 GB, free: 45.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.641e-05/0.4659, allocations: 0 / 0.6177 GB, free: 45.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.4661, allocations: 6.078 kB / 0.6177 GB, free: 45.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.4661, allocations: 9.734 kB / 0.6177 GB, free: 45.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-05/0.4661, allocations: 14.27 kB / 0.6177 GB, free: 45.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005397/0.4667, allocations: 0.6709 MB / 0.6184 GB, free: 44.81 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4667, allocations: 2.406 kB / 0.6184 GB, free: 44.81 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008931/0.4676, allocations: 398.5 kB / 0.6187 GB, free: 44.79 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 (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.00104/0.4686, allocations: 483.1 kB / 0.6192 GB, free: 44.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001662/0.4703, allocations: 2.495 MB / 0.6216 GB, free: 43.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4703, allocations: 0 / 0.6216 GB, free: 43.69 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002665/0.4706, allocations: 345.3 kB / 0.622 GB, free: 43.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.4709, allocations: 41.06 kB / 0.622 GB, free: 43.65 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.4726, allocations: 1.929 MB / 0.6239 GB, free: 42.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.4729, allocations: 0.9635 MB / 0.6248 GB, free: 42.22 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001584/0.4731, allocations: 34.27 kB / 0.6249 GB, free: 42.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.4732, allocations: 21.69 kB / 0.6249 GB, free: 42.21 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.4732, allocations: 0 / 0.6249 GB, free: 42.21 MB / 0.4981 GB Notification: Performance of Templates: time 0.01434/0.4875, allocations: 9.172 MB / 0.6338 GB, free: 41.61 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)