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.001497/0.001497, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001785/0.001785, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.313/1.313, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8931/0.8931, allocations: 135.1 MB / 425.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 63.42 kB / 0.5049 GB, free: 5.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1393, allocations: 80.93 MB / 0.5839 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002322/0.1416, allocations: 1.465 MB / 0.5854 GB, free: 3.438 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004207/0.1458, allocations: 3.032 MB / 0.5883 GB, free: 404 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.764e-05/0.1459, allocations: 0 / 0.5883 GB, free: 404 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.247e-05/0.146, allocations: 7.938 kB / 0.5883 GB, free: 396 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.1462, allocations: 35.83 kB / 0.5884 GB, free: 360 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002137/0.1483, allocations: 0.885 MB / 0.5892 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.1485, allocations: 75.81 kB / 0.5893 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.55e-05/0.1485, allocations: 11.92 kB / 0.5893 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.324e-05/0.1486, allocations: 43.78 kB / 0.5893 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.1488, allocations: 157 kB / 0.5895 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.305e-05/0.1489, allocations: 12 kB / 0.5895 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00185/0.1507, allocations: 1.408 MB / 0.5909 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002257/0.151, allocations: 267.8 kB / 0.5911 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002276/0.1512, allocations: 278.3 kB / 0.5914 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.1528, allocations: 1.477 MB / 0.5928 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1528, allocations: 0 / 0.5928 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1528, allocations: 3.938 kB / 0.5928 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.1528, allocations: 0 / 0.5928 GB, free: 11.74 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.008946/0.1618, allocations: 1.207 MB / 0.594 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.1618, allocations: 12.03 kB / 0.594 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003971/0.1622, allocations: 91.69 kB / 0.5941 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.1626, allocations: 352.9 kB / 0.5945 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1626, allocations: 4.375 kB / 0.5945 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.882e-05/0.1627, allocations: 12.12 kB / 0.5945 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/0.1631, allocations: 391.2 kB / 0.5948 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1631, allocations: 0 / 0.5948 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.1632, allocations: 4 kB / 0.5949 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1632, allocations: 0 / 0.5949 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004436/0.1636, allocations: 439.7 kB / 0.5953 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005684/0.1642, allocations: 0.6364 MB / 0.5959 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005161/0.1647, allocations: 0.5634 MB / 0.5964 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/0.165, allocations: 337.5 kB / 0.5968 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/0.1661, allocations: 1.025 MB / 0.5978 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004102/0.1665, allocations: 404.9 kB / 0.5982 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.1665, allocations: 0 / 0.5982 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001308/0.1678, allocations: 1.289 MB / 0.5994 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.1679, allocations: 89.17 kB / 0.5995 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.1691, allocations: 1.206 MB / 0.6007 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.219e-05/0.1691, allocations: 29.7 kB / 0.6007 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.1693, allocations: 265.3 kB / 0.601 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.1693, allocations: 27.64 kB / 0.601 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003136/0.1697, allocations: 343.6 kB / 0.6013 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1698, allocations: 314 kB / 0.6016 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/0.171, allocations: 1.365 MB / 0.6029 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2391/0.4101, allocations: 1.486 MB / 0.6044 GB, free: 52.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006188/0.4164, allocations: 3.536 MB / 0.6078 GB, free: 50.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.4164, allocations: 0 / 0.6078 GB, free: 50.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003149/0.4195, allocations: 3.97 MB / 0.6117 GB, free: 48.99 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.4196, allocations: 3.125 kB / 0.6117 GB, free: 48.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/0.4196, allocations: 3.281 kB / 0.6117 GB, free: 48.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.4196, allocations: 0.5312 kB / 0.6117 GB, free: 48.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.4198, allocations: 17.22 kB / 0.6117 GB, free: 48.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.4198, allocations: 3.188 kB / 0.6117 GB, free: 48.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003947/0.4202, allocations: 229.9 kB / 0.612 GB, free: 48.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.56e-05/0.4202, allocations: 25.81 kB / 0.612 GB, free: 48.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.0002261/0.4205, allocations: 244.2 kB / 0.6122 GB, free: 48.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/0.4205, allocations: 65.78 kB / 0.6123 GB, free: 48.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/0.4208, allocations: 73.58 kB / 0.6124 GB, free: 48.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4208, allocations: 3.125 kB / 0.6124 GB, free: 48.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4208, allocations: 0 / 0.6124 GB, free: 48.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.4208, allocations: 0 / 0.6124 GB, free: 48.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.4211, allocations: 0.491 MB / 0.6128 GB, free: 48.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4211, allocations: 0 / 0.6128 GB, free: 48.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.015e-05/0.4212, allocations: 11.08 kB / 0.6129 GB, free: 48.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4212, allocations: 0 / 0.6129 GB, free: 48.33 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.4212, allocations: 2.844 kB / 0.6129 GB, free: 48.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4212, allocations: 3.375 kB / 0.6129 GB, free: 48.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.4212, allocations: 2.781 kB / 0.6129 GB, free: 48.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006778/0.4219, allocations: 0.9976 MB / 0.6138 GB, free: 48.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.792e-05/0.422, allocations: 154.6 kB / 0.614 GB, free: 48.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.042e-05/0.422, allocations: 4.281 kB / 0.614 GB, free: 48.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.4222, allocations: 10.28 kB / 0.614 GB, free: 48.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.4222, allocations: 3.5 kB / 0.614 GB, free: 48.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.549e-05/0.4223, allocations: 16.58 kB / 0.614 GB, free: 48.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005125/0.4228, allocations: 0.6745 MB / 0.6147 GB, free: 47.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4228, allocations: 0 / 0.6147 GB, free: 47.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008774/0.4237, allocations: 391.2 kB / 0.615 GB, free: 47.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.00105/0.4247, allocations: 494.9 kB / 0.6155 GB, free: 47.67 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001652/0.4264, allocations: 2.497 MB / 0.618 GB, free: 46.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4264, allocations: 0 / 0.618 GB, free: 46.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000253/0.4267, allocations: 336.3 kB / 0.6183 GB, free: 46.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.427, allocations: 36.81 kB / 0.6183 GB, free: 46.65 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.4286, allocations: 1.93 MB / 0.6202 GB, free: 45.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.4289, allocations: 0.9635 MB / 0.6211 GB, free: 45.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001591/0.429, allocations: 39.05 kB / 0.6212 GB, free: 45.22 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.171e-05/0.4291, allocations: 25.86 kB / 0.6212 GB, free: 45.21 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.4291, allocations: 3.844 kB / 0.6212 GB, free: 45.21 MB / 0.4981 GB Notification: Performance of Templates: time 0.01511/0.4443, allocations: 9.511 MB / 0.6305 GB, free: 44.64 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)