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.001193/0.001193, allocations: 105.8 kB / 16.41 MB, free: 6.488 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.001438/0.001438, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7918/0.7918, allocations: 135.2 MB / 426.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 63.81 kB / 0.5864 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1362, allocations: 80.94 MB / 0.6654 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002398/0.1386, allocations: 1.406 MB / 0.6668 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004445/0.143, allocations: 3.024 MB / 0.6698 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.657e-05/0.143, allocations: 0 / 0.6698 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.1431, allocations: 19.8 kB / 0.6698 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.1433, allocations: 27.83 kB / 0.6698 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00218/0.1455, allocations: 1.001 MB / 0.6708 GB, free: 208 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.1456, allocations: 79.73 kB / 0.6709 GB, free: 128 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.1457, allocations: 4 kB / 0.6709 GB, free: 124 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.786e-05/0.1458, allocations: 43.8 kB / 0.6709 GB, free: 80 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.146, allocations: 139.7 kB / 0.671 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.653e-05/0.146, allocations: 16 kB / 0.671 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00187/0.1479, allocations: 1.381 MB / 0.6724 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002197/0.1481, allocations: 267.8 kB / 0.6727 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002301/0.1484, allocations: 270.3 kB / 0.6729 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001678/0.15, allocations: 1.487 MB / 0.6744 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.15, allocations: 0 / 0.6744 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.112e-06/0.15, allocations: 0 / 0.6744 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.415e-05/0.1501, allocations: 0 / 0.6744 GB, free: 12.52 MB / 0.5137 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.009944/0.16, allocations: 1.253 MB / 0.6756 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.16, allocations: 8.031 kB / 0.6756 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003601/0.1604, allocations: 92.25 kB / 0.6757 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.1608, allocations: 360.9 kB / 0.676 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.1608, allocations: 12.38 kB / 0.676 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.759e-05/0.1609, allocations: 7.938 kB / 0.676 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004514/0.1613, allocations: 387.2 kB / 0.6764 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.1613, allocations: 4 kB / 0.6764 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.1614, allocations: 0 / 0.6764 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1614, allocations: 4 kB / 0.6764 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004807/0.1618, allocations: 439.6 kB / 0.6768 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006271/0.1625, allocations: 0.637 MB / 0.6775 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005608/0.163, allocations: 0.5594 MB / 0.678 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003374/0.1634, allocations: 337.7 kB / 0.6783 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/0.1645, allocations: 1.028 MB / 0.6793 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005131/0.165, allocations: 408.9 kB / 0.6797 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.163e-06/0.165, allocations: 0 / 0.6797 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001354/0.1664, allocations: 1.293 MB / 0.681 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.1664, allocations: 81.11 kB / 0.6811 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.1676, allocations: 1.207 MB / 0.6822 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.609e-05/0.1676, allocations: 33.69 kB / 0.6823 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.1678, allocations: 265.8 kB / 0.6825 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.1679, allocations: 23.83 kB / 0.6826 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003205/0.1682, allocations: 343.6 kB / 0.6829 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.1683, allocations: 318 kB / 0.6832 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.1696, allocations: 1.365 MB / 0.6845 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/0.171, allocations: 1.497 MB / 0.686 GB, free: 124 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00708/0.178, allocations: 3.538 MB / 0.6894 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.178, allocations: 3.938 kB / 0.6894 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004464/0.1825, allocations: 3.973 MB / 0.6933 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1825, allocations: 4 kB / 0.6933 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.1825, allocations: 4 kB / 0.6933 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.1826, allocations: 0 / 0.6933 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.1827, allocations: 15.98 kB / 0.6933 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1827, allocations: 0 / 0.6933 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004836/0.1832, allocations: 233.4 kB / 0.6936 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.062e-05/0.1832, allocations: 28.02 kB / 0.6936 GB, free: 8.199 MB / 0.5294 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.0003058/0.1835, allocations: 245.5 kB / 0.6938 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.886e-05/0.1836, allocations: 71.3 kB / 0.6939 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002711/0.1839, allocations: 74.89 kB / 0.694 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1839, allocations: 0 / 0.694 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1839, allocations: 0 / 0.694 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.1839, allocations: 4.031 kB / 0.694 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004546/0.1843, allocations: 0.4966 MB / 0.6945 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1843, allocations: 4 kB / 0.6945 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.139e-05/0.1844, allocations: 11.92 kB / 0.6945 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1844, allocations: 0 / 0.6945 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.1844, allocations: 4 kB / 0.6945 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1844, allocations: 0 / 0.6945 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.1844, allocations: 4 kB / 0.6945 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009775/0.1854, allocations: 1.006 MB / 0.6955 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.1855, allocations: 152.5 kB / 0.6956 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.642e-05/0.1856, allocations: 4 kB / 0.6956 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.1857, allocations: 7.984 kB / 0.6956 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.1858, allocations: 4 kB / 0.6956 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.284e-05/0.1858, allocations: 23.91 kB / 0.6956 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007168/0.1865, allocations: 0.6648 MB / 0.6963 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1865, allocations: 0 / 0.6963 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009772/0.1875, allocations: 403 kB / 0.6967 GB, free: 4.922 MB / 0.5294 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.001079/0.1886, allocations: 489.9 kB / 0.6971 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001995/0.1906, allocations: 1.941 MB / 0.699 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1906, allocations: 0 / 0.699 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000345/0.1909, allocations: 339.8 kB / 0.6994 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.1912, allocations: 41.5 kB / 0.6994 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.1932, allocations: 1.762 MB / 0.7011 GB, free: 316 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005929/0.1938, allocations: 0.9723 MB / 0.7021 GB, free: 15.31 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001213/0.194, allocations: 32.56 kB / 0.7021 GB, free: 15.28 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.652e-05/0.1941, allocations: 23.42 kB / 0.7021 GB, free: 15.25 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.1941, allocations: 0 / 0.7021 GB, free: 15.25 MB / 0.545 GB Notification: Performance of Templates: time 0.01648/0.2105, allocations: 9.561 MB / 0.7115 GB, free: 5.727 MB / 0.545 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)