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.001002/0.001002, allocations: 99.5 kB / 16.02 MB, free: 76 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.0008826/0.0008826, allocations: 180.1 kB / 16.92 MB, free: 6.918 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.298/1.298, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9057/0.9057, allocations: 135.3 MB / 427.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003159/0.0003159, allocations: 12.88 kB / 0.5083 GB, free: 4.695 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1483, allocations: 82.31 MB / 0.5887 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001357/0.1497, allocations: 1.121 MB / 0.5898 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004329/0.154, allocations: 3.158 MB / 0.5928 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.086e-05/0.1541, allocations: 3.938 kB / 0.5928 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.1542, allocations: 7.922 kB / 0.5928 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002057/0.1544, allocations: 19.91 kB / 0.5929 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002046/0.1565, allocations: 0.7755 MB / 0.5936 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.1566, allocations: 107.7 kB / 0.5937 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.364e-05/0.1567, allocations: 4 kB / 0.5937 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.14e-05/0.1567, allocations: 43.84 kB / 0.5938 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.157, allocations: 153 kB / 0.5939 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.551e-05/0.157, allocations: 12 kB / 0.5939 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.1589, allocations: 1.4 MB / 0.5953 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001936/0.1591, allocations: 263.8 kB / 0.5955 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002142/0.1593, allocations: 304 kB / 0.5958 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.1605, allocations: 0.9941 MB / 0.5968 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1605, allocations: 0 / 0.5968 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1605, allocations: 0 / 0.5968 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.1606, allocations: 0 / 0.5968 GB, free: 10.16 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.01026/0.1708, allocations: 1.164 MB / 0.5979 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1709, allocations: 8.031 kB / 0.598 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000324/0.1712, allocations: 83.69 kB / 0.598 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.1716, allocations: 360.9 kB / 0.5984 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.1716, allocations: 4.375 kB / 0.5984 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.1716, allocations: 8.125 kB / 0.5984 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003995/0.172, allocations: 395.1 kB / 0.5988 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.1721, allocations: 0 / 0.5988 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.1721, allocations: 4 kB / 0.5988 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1721, allocations: 0 / 0.5988 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004029/0.1725, allocations: 431.7 kB / 0.5992 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005234/0.173, allocations: 0.6365 MB / 0.5998 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004661/0.1735, allocations: 0.5672 MB / 0.6004 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002823/0.1738, allocations: 337.7 kB / 0.6007 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000919/0.1747, allocations: 1.044 MB / 0.6017 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003672/0.1751, allocations: 396.8 kB / 0.6021 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.1751, allocations: 4 kB / 0.6021 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.00119/0.1763, allocations: 1.289 MB / 0.6033 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.1764, allocations: 81.11 kB / 0.6034 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.1774, allocations: 1.198 MB / 0.6046 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.1774, allocations: 37.69 kB / 0.6046 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.1776, allocations: 269.4 kB / 0.6049 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.1777, allocations: 19.81 kB / 0.6049 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/0.1779, allocations: 287.6 kB / 0.6052 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.316e-05/0.178, allocations: 310 kB / 0.6055 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2755/0.4535, allocations: 1.361 MB / 0.6068 GB, free: 48.63 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.4547, allocations: 1.491 MB / 0.6083 GB, free: 48.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00632/0.4611, allocations: 3.543 MB / 0.6117 GB, free: 47.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.4611, allocations: 0 / 0.6117 GB, free: 47.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003561/0.4647, allocations: 3.967 MB / 0.6156 GB, free: 46.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.4647, allocations: 7.375 kB / 0.6156 GB, free: 46.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.4647, allocations: 0 / 0.6156 GB, free: 46.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.4647, allocations: 3.25 kB / 0.6156 GB, free: 46.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.4649, allocations: 17.33 kB / 0.6156 GB, free: 46.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4649, allocations: 0 / 0.6156 GB, free: 46.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004292/0.4653, allocations: 227.6 kB / 0.6158 GB, free: 45.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.546e-05/0.4654, allocations: 31.59 kB / 0.6159 GB, free: 45.94 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.000238/0.4656, allocations: 242.2 kB / 0.6161 GB, free: 45.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.4657, allocations: 67.02 kB / 0.6162 GB, free: 45.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.4659, allocations: 75.84 kB / 0.6162 GB, free: 45.72 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.4659, allocations: 0 / 0.6162 GB, free: 45.72 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.4659, allocations: 0 / 0.6162 GB, free: 45.72 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.466, allocations: 5.375 kB / 0.6162 GB, free: 45.72 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.4663, allocations: 497.2 kB / 0.6167 GB, free: 45.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4663, allocations: 0 / 0.6167 GB, free: 45.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.239e-05/0.4664, allocations: 9.328 kB / 0.6167 GB, free: 45.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4664, allocations: 0 / 0.6167 GB, free: 45.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.4664, allocations: 6.344 kB / 0.6167 GB, free: 45.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.4664, allocations: 5.062 kB / 0.6167 GB, free: 45.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4664, allocations: 1.75 kB / 0.6167 GB, free: 45.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007017/0.4671, allocations: 0.9987 MB / 0.6177 GB, free: 45.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.115e-05/0.4672, allocations: 150.6 kB / 0.6178 GB, free: 45.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.629e-05/0.4672, allocations: 6.312 kB / 0.6179 GB, free: 45.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.4674, allocations: 6.812 kB / 0.6179 GB, free: 45.15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.4674, allocations: 7.141 kB / 0.6179 GB, free: 45.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-05/0.4675, allocations: 13.09 kB / 0.6179 GB, free: 45.15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005649/0.468, allocations: 0.6731 MB / 0.6185 GB, free: 44.92 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.468, allocations: 0 / 0.6185 GB, free: 44.92 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009749/0.469, allocations: 394 kB / 0.6189 GB, free: 44.9 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.001044/0.4701, allocations: 486.4 kB / 0.6194 GB, free: 44.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001705/0.4718, allocations: 2.499 MB / 0.6218 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4718, allocations: 0 / 0.6218 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002619/0.4721, allocations: 346.8 kB / 0.6221 GB, free: 43.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.4724, allocations: 30.97 kB / 0.6222 GB, free: 43.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.4741, allocations: 1.973 MB / 0.6241 GB, free: 43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.4745, allocations: 0.9616 MB / 0.625 GB, free: 42.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.692e-05/0.4746, allocations: 28.89 kB / 0.6251 GB, free: 42.29 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.4746, allocations: 0 / 0.6251 GB, free: 42.29 MB / 0.4981 GB Notification: Performance of Templates: time 0.01564/0.4902, allocations: 10.49 MB / 0.6353 GB, free: 40.88 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)