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.001501/0.001501, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001516/0.001516, allocations: 193.6 kB / 16.25 MB, free: 6.633 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.374/1.374, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9297/0.9297, allocations: 135.6 MB / 425.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.001851, allocations: 68.48 kB / 0.5054 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1556, allocations: 81.02 MB / 0.5845 GB, free: 4.277 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002617/0.1582, allocations: 1.467 MB / 0.586 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00438/0.1626, allocations: 3.028 MB / 0.5889 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.212e-05/0.1627, allocations: 0 / 0.5889 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.159e-05/0.1628, allocations: 7.922 kB / 0.5889 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.163, allocations: 31.84 kB / 0.589 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002036/0.165, allocations: 0.8819 MB / 0.5898 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.1651, allocations: 83.75 kB / 0.5899 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.1652, allocations: 7.922 kB / 0.5899 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.458e-05/0.1653, allocations: 47.77 kB / 0.59 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.1655, allocations: 157 kB / 0.5901 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.572e-05/0.1655, allocations: 16 kB / 0.5901 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001847/0.1674, allocations: 1.404 MB / 0.5915 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002189/0.1676, allocations: 267.8 kB / 0.5918 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002385/0.1679, allocations: 278.3 kB / 0.592 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.1695, allocations: 1.477 MB / 0.5935 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1695, allocations: 4 kB / 0.5935 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1695, allocations: 0 / 0.5935 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.1695, allocations: 0 / 0.5935 GB, free: 11.1 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.008581/0.1781, allocations: 1.21 MB / 0.5946 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1782, allocations: 12.03 kB / 0.5947 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003543/0.1785, allocations: 91.67 kB / 0.5947 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004235/0.179, allocations: 352.9 kB / 0.5951 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.179, allocations: 12.36 kB / 0.5951 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.656e-05/0.179, allocations: 8.125 kB / 0.5951 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004519/0.1795, allocations: 387.2 kB / 0.5955 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1795, allocations: 0 / 0.5955 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.1795, allocations: 0 / 0.5955 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1795, allocations: 4 kB / 0.5955 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004602/0.18, allocations: 439.7 kB / 0.5959 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006164/0.1806, allocations: 0.6325 MB / 0.5965 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005605/0.1812, allocations: 0.5633 MB / 0.5971 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003818/0.1816, allocations: 341.6 kB / 0.5974 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001173/0.1828, allocations: 1.028 MB / 0.5984 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004468/0.1832, allocations: 400.9 kB / 0.5988 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.1832, allocations: 3.938 kB / 0.5988 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001385/0.1846, allocations: 1.289 MB / 0.6 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.1847, allocations: 85.11 kB / 0.6001 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.186, allocations: 1.206 MB / 0.6013 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.081e-05/0.186, allocations: 33.7 kB / 0.6013 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.1862, allocations: 257.4 kB / 0.6016 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/0.1863, allocations: 31.62 kB / 0.6016 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003356/0.1866, allocations: 347.5 kB / 0.6019 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1868, allocations: 306 kB / 0.6022 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/0.1881, allocations: 1.369 MB / 0.6036 GB, free: 264 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2015/0.3896, allocations: 1.49 MB / 0.605 GB, free: 51.85 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005799/0.3955, allocations: 3.535 MB / 0.6085 GB, free: 50.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3955, allocations: 2.5 kB / 0.6085 GB, free: 50.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.002994/0.3985, allocations: 3.965 MB / 0.6123 GB, free: 48.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.3985, allocations: 5.375 kB / 0.6123 GB, free: 48.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.3986, allocations: 3.469 kB / 0.6124 GB, free: 48.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3986, allocations: 0 / 0.6124 GB, free: 48.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.3987, allocations: 23.08 kB / 0.6124 GB, free: 48.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.3987, allocations: 0.625 kB / 0.6124 GB, free: 48.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003753/0.3991, allocations: 230.2 kB / 0.6126 GB, free: 48.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.3991, allocations: 23.38 kB / 0.6126 GB, free: 48.25 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.0002174/0.3994, allocations: 239.3 kB / 0.6128 GB, free: 48.13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/0.3994, allocations: 65.25 kB / 0.6129 GB, free: 48.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.3997, allocations: 78.48 kB / 0.613 GB, free: 48.03 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3997, allocations: 0 / 0.613 GB, free: 48.03 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.3997, allocations: 3.812 kB / 0.613 GB, free: 48.03 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3997, allocations: 0 / 0.613 GB, free: 48.03 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.4, allocations: 0.4884 MB / 0.6135 GB, free: 47.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4, allocations: 1.125 kB / 0.6135 GB, free: 47.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.18e-05/0.4001, allocations: 8.734 kB / 0.6135 GB, free: 47.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.4001, allocations: 1.156 kB / 0.6135 GB, free: 47.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.4001, allocations: 14.89 kB / 0.6135 GB, free: 47.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.4001, allocations: 2.812 kB / 0.6135 GB, free: 47.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4001, allocations: 1.344 kB / 0.6135 GB, free: 47.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006161/0.4007, allocations: 0.9966 MB / 0.6145 GB, free: 47.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.228e-05/0.4008, allocations: 153.5 kB / 0.6146 GB, free: 47.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.613e-05/0.4008, allocations: 2.219 kB / 0.6146 GB, free: 47.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.401, allocations: 7.938 kB / 0.6146 GB, free: 47.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.401, allocations: 10.16 kB / 0.6146 GB, free: 47.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.463e-05/0.4011, allocations: 15.19 kB / 0.6146 GB, free: 47.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004884/0.4016, allocations: 0.6729 MB / 0.6153 GB, free: 47.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4016, allocations: 1.531 kB / 0.6153 GB, free: 47.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008242/0.4024, allocations: 391.1 kB / 0.6157 GB, free: 47.21 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.0009994/0.4034, allocations: 487.2 kB / 0.6161 GB, free: 47.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001562/0.405, allocations: 2.507 MB / 0.6186 GB, free: 46.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.405, allocations: 0 / 0.6186 GB, free: 46.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.4052, allocations: 339.7 kB / 0.6189 GB, free: 46.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.4055, allocations: 31.8 kB / 0.6189 GB, free: 46.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.407, allocations: 1.924 MB / 0.6208 GB, free: 45.35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.4073, allocations: 0.9634 MB / 0.6218 GB, free: 44.65 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001507/0.4075, allocations: 39.91 kB / 0.6218 GB, free: 44.64 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.742e-05/0.4076, allocations: 22.81 kB / 0.6218 GB, free: 44.63 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.4076, allocations: 1.969 kB / 0.6218 GB, free: 44.63 MB / 0.4981 GB Notification: Performance of Templates: time 0.01367/0.4212, allocations: 9.514 MB / 0.6311 GB, free: 44.05 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)