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.001642/0.001642, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00201/0.00201, allocations: 193.7 kB / 16.14 MB, free: 6.711 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.5/1.5, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9467/0.9467, allocations: 135.1 MB / 425.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002342/0.002342, allocations: 67.38 kB / 0.5047 GB, free: 5.723 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.167, allocations: 80.93 MB / 0.5837 GB, free: 4.965 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002561/0.1696, allocations: 1.46 MB / 0.5852 GB, free: 3.484 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004695/0.1743, allocations: 3.223 MB / 0.5883 GB, free: 256 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.685e-05/0.1743, allocations: 0 / 0.5883 GB, free: 256 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.853e-05/0.1745, allocations: 15.86 kB / 0.5883 GB, free: 240 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.1747, allocations: 27.84 kB / 0.5884 GB, free: 212 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002225/0.1769, allocations: 0.7675 MB / 0.5891 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.1771, allocations: 107.8 kB / 0.5892 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.748e-05/0.1772, allocations: 4 kB / 0.5892 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.205e-05/0.1772, allocations: 43.78 kB / 0.5893 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.1775, allocations: 149 kB / 0.5894 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/0.1775, allocations: 16 kB / 0.5894 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00247/0.18, allocations: 1.392 MB / 0.5908 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000215/0.1802, allocations: 263.8 kB / 0.591 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002366/0.1805, allocations: 274.3 kB / 0.5913 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002201/0.1827, allocations: 1.473 MB / 0.5927 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1827, allocations: 0 / 0.5927 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.934e-06/0.1827, allocations: 0 / 0.5927 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.1827, allocations: 4 kB / 0.5927 GB, free: 11.72 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.007795/0.1905, allocations: 1.214 MB / 0.5939 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.1906, allocations: 12.02 kB / 0.5939 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00037/0.191, allocations: 83.69 kB / 0.594 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.1913, allocations: 364.9 kB / 0.5944 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-06/0.1913, allocations: 384 / 0.5944 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.94e-05/0.1914, allocations: 12.12 kB / 0.5944 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004009/0.1918, allocations: 391.2 kB / 0.5947 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.1919, allocations: 0 / 0.5947 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.1919, allocations: 4 kB / 0.5947 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1919, allocations: 0 / 0.5947 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004076/0.1923, allocations: 435.7 kB / 0.5952 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005885/0.1929, allocations: 0.6364 MB / 0.5958 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005072/0.1934, allocations: 0.5633 MB / 0.5963 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002998/0.1937, allocations: 341.6 kB / 0.5967 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/0.1948, allocations: 1.028 MB / 0.5977 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003912/0.1952, allocations: 400.9 kB / 0.598 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.1952, allocations: 0 / 0.598 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001272/0.1965, allocations: 1.293 MB / 0.5993 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.1966, allocations: 77.11 kB / 0.5994 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.1977, allocations: 1.202 MB / 0.6006 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.015e-05/0.1978, allocations: 37.58 kB / 0.6006 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/0.198, allocations: 261.4 kB / 0.6008 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.198, allocations: 15.94 kB / 0.6009 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003109/0.1983, allocations: 355.5 kB / 0.6012 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1985, allocations: 314 kB / 0.6015 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.1996, allocations: 1.354 MB / 0.6028 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2329/0.4325, allocations: 1.493 MB / 0.6043 GB, free: 52.17 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006156/0.4387, allocations: 3.544 MB / 0.6077 GB, free: 50.81 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.4387, allocations: 0 / 0.6077 GB, free: 50.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003122/0.4419, allocations: 3.968 MB / 0.6116 GB, free: 48.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.4419, allocations: 6.844 kB / 0.6116 GB, free: 48.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.4419, allocations: 1.281 kB / 0.6116 GB, free: 48.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.4419, allocations: 2.594 kB / 0.6116 GB, free: 48.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.4421, allocations: 21.86 kB / 0.6116 GB, free: 48.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.4421, allocations: 0 / 0.6116 GB, free: 48.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/0.4425, allocations: 232.1 kB / 0.6119 GB, free: 48.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-05/0.4425, allocations: 23.23 kB / 0.6119 GB, free: 48.72 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.00022/0.4427, allocations: 243.1 kB / 0.6121 GB, free: 48.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.07e-05/0.4428, allocations: 64.72 kB / 0.6122 GB, free: 48.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.443, allocations: 73.05 kB / 0.6122 GB, free: 48.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.4431, allocations: 3.188 kB / 0.6123 GB, free: 48.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4431, allocations: 0.875 kB / 0.6123 GB, free: 48.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4431, allocations: 0 / 0.6123 GB, free: 48.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.4434, allocations: 0.4919 MB / 0.6127 GB, free: 48.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4434, allocations: 0 / 0.6127 GB, free: 48.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.058e-05/0.4434, allocations: 14.08 kB / 0.6127 GB, free: 48.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.4435, allocations: 3.125 kB / 0.6128 GB, free: 48.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.4435, allocations: 4.625 kB / 0.6128 GB, free: 48.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4435, allocations: 1.438 kB / 0.6128 GB, free: 48.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4435, allocations: 0 / 0.6128 GB, free: 48.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006816/0.4442, allocations: 1.014 MB / 0.6137 GB, free: 48.08 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.487e-05/0.4442, allocations: 146.9 kB / 0.6139 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.962e-05/0.4443, allocations: 2.969 kB / 0.6139 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.4445, allocations: 6.656 kB / 0.6139 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.4445, allocations: 10.47 kB / 0.6139 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.718e-05/0.4445, allocations: 10.48 kB / 0.6139 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005334/0.4451, allocations: 0.6722 MB / 0.6146 GB, free: 47.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4451, allocations: 0 / 0.6146 GB, free: 47.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009506/0.446, allocations: 401.3 kB / 0.615 GB, free: 47.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 (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.0011/0.4472, allocations: 478.8 kB / 0.6154 GB, free: 47.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001612/0.4488, allocations: 2.5 MB / 0.6179 GB, free: 46.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4488, allocations: 3.375 kB / 0.6179 GB, free: 46.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.449, allocations: 341.4 kB / 0.6182 GB, free: 46.58 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.4493, allocations: 38.45 kB / 0.6182 GB, free: 46.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/0.4516, allocations: 1.914 MB / 0.6201 GB, free: 45.83 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.4519, allocations: 0.9601 MB / 0.621 GB, free: 45.14 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001667/0.4521, allocations: 36.09 kB / 0.6211 GB, free: 45.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.904e-05/0.4522, allocations: 34.27 kB / 0.6211 GB, free: 45.11 MB / 0.4981 GB Notification: Performance of SimCode: time 1.262e-06/0.4522, allocations: 0 / 0.6211 GB, free: 45.11 MB / 0.4981 GB Notification: Performance of Templates: time 0.01339/0.4656, allocations: 9.261 MB / 0.6301 GB, free: 44.54 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)