Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.004428/0.004428, allocations: 100.5 kB / 15.73 MB, free: 6.477 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.001048/0.001048, allocations: 189 kB / 16.67 MB, free: 6.391 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7592/0.7592, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 59.95 kB / 0.5814 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1586, allocations: 80.21 MB / 0.6597 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002734/0.1613, allocations: 1.413 MB / 0.6611 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004748/0.1661, allocations: 3.016 MB / 0.6641 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.322e-05/0.1662, allocations: 4 kB / 0.6641 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.1663, allocations: 11.81 kB / 0.6641 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.1666, allocations: 35.77 kB / 0.6641 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002465/0.169, allocations: 0.994 MB / 0.6651 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.1692, allocations: 79.8 kB / 0.6652 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.863e-05/0.1692, allocations: 7.984 kB / 0.6652 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.115e-05/0.1693, allocations: 47.78 kB / 0.6652 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.1696, allocations: 139.6 kB / 0.6653 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.1696, allocations: 12 kB / 0.6654 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001934/0.1715, allocations: 1.381 MB / 0.6667 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002045/0.1718, allocations: 263.8 kB / 0.667 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002253/0.172, allocations: 274.3 kB / 0.6672 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.1736, allocations: 1.477 MB / 0.6687 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1736, allocations: 0 / 0.6687 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1736, allocations: 0 / 0.6687 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.1736, allocations: 0 / 0.6687 GB, free: 4.188 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.007684/0.1813, allocations: 1.218 MB / 0.6698 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.1814, allocations: 11.97 kB / 0.6699 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003492/0.1817, allocations: 83.69 kB / 0.6699 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.1821, allocations: 356.9 kB / 0.6703 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1822, allocations: 8.375 kB / 0.6703 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.1822, allocations: 7.938 kB / 0.6703 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00044/0.1827, allocations: 387.2 kB / 0.6707 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1827, allocations: 3.984 kB / 0.6707 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1827, allocations: 0 / 0.6707 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.1827, allocations: 4 kB / 0.6707 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004445/0.1832, allocations: 439.7 kB / 0.6711 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006079/0.1838, allocations: 0.6326 MB / 0.6717 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005016/0.1843, allocations: 0.5671 MB / 0.6723 GB, free: 320 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003619/0.1847, allocations: 341.7 kB / 0.6726 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009941/0.1857, allocations: 1.025 MB / 0.6736 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003916/0.1861, allocations: 400.9 kB / 0.674 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.1861, allocations: 0 / 0.674 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001288/0.1874, allocations: 1.289 MB / 0.6752 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.1874, allocations: 77.11 kB / 0.6753 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.1886, allocations: 1.206 MB / 0.6765 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.396e-05/0.1886, allocations: 33.83 kB / 0.6765 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.1888, allocations: 269.3 kB / 0.6768 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.1888, allocations: 23.73 kB / 0.6768 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003119/0.1892, allocations: 343.6 kB / 0.6771 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1893, allocations: 314 kB / 0.6774 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.1905, allocations: 1.361 MB / 0.6788 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.1918, allocations: 1.493 MB / 0.6802 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007226/0.199, allocations: 3.538 MB / 0.6837 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.199, allocations: 7.875 kB / 0.6837 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004205/0.2033, allocations: 3.961 MB / 0.6875 GB, free: 224 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.2033, allocations: 8.031 kB / 0.6875 GB, free: 216 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.2033, allocations: 4 kB / 0.6876 GB, free: 212 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.2033, allocations: 4 kB / 0.6876 GB, free: 208 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.2035, allocations: 19.98 kB / 0.6876 GB, free: 188 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.2035, allocations: 3.938 kB / 0.6876 GB, free: 184 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004479/0.204, allocations: 224.3 kB / 0.6878 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-05/0.204, allocations: 23.94 kB / 0.6878 GB, free: 15.93 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.0002791/0.2043, allocations: 237.6 kB / 0.688 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.306e-05/0.2044, allocations: 70.78 kB / 0.6881 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002635/0.2046, allocations: 74.83 kB / 0.6882 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.2047, allocations: 4 kB / 0.6882 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2047, allocations: 0 / 0.6882 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2047, allocations: 0 / 0.6882 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004273/0.2051, allocations: 0.4928 MB / 0.6887 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2051, allocations: 0 / 0.6887 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.317e-05/0.2052, allocations: 16.02 kB / 0.6887 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.2052, allocations: 0 / 0.6887 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.2052, allocations: 7.938 kB / 0.6887 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2052, allocations: 0 / 0.6887 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2053, allocations: 0 / 0.6887 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009138/0.2062, allocations: 1.001 MB / 0.6897 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.2063, allocations: 151.9 kB / 0.6898 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.346e-05/0.2063, allocations: 3.938 kB / 0.6898 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.2065, allocations: 7.984 kB / 0.6898 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.2065, allocations: 4 kB / 0.6898 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.946e-05/0.2066, allocations: 19.97 kB / 0.6898 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006901/0.2073, allocations: 0.6609 MB / 0.6905 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2073, allocations: 0 / 0.6905 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009865/0.2083, allocations: 395.9 kB / 0.6909 GB, free: 12.69 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.001086/0.2094, allocations: 489 kB / 0.6913 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002223/0.2116, allocations: 2.495 MB / 0.6938 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.2116, allocations: 4 kB / 0.6938 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003351/0.212, allocations: 344.1 kB / 0.6941 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.2123, allocations: 39.5 kB / 0.6941 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.2142, allocations: 1.737 MB / 0.6958 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004957/0.2147, allocations: 0.964 MB / 0.6968 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000119/0.2149, allocations: 36.55 kB / 0.6968 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.644e-05/0.215, allocations: 31.42 kB / 0.6968 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of SimCode: time 4.01e-07/0.215, allocations: 3.938 kB / 0.6968 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of Templates: time 0.01614/0.2311, allocations: 9.528 MB / 0.7061 GB, free: 13 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)