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_100boreholes.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_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005628/0.005628, allocations: 102 kB / 15.73 MB, free: 6.055 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.00136/0.001361, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.297/1.297, allocations: 222.9 MB / 240.4 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.8013/0.8013, allocations: 135.1 MB / 425.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 61.75 kB / 0.5857 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1256, allocations: 80.92 MB / 0.6647 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002217/0.1278, allocations: 1.408 MB / 0.6661 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004338/0.1322, allocations: 3.025 MB / 0.669 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.389e-05/0.1322, allocations: 0 / 0.669 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.994e-05/0.1324, allocations: 11.86 kB / 0.669 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002131/0.1326, allocations: 35.83 kB / 0.6691 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.1351, allocations: 0.994 MB / 0.67 GB, free: 284 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.1353, allocations: 83.69 kB / 0.6701 GB, free: 200 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.802e-05/0.1353, allocations: 7.984 kB / 0.6701 GB, free: 192 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.55e-05/0.1354, allocations: 39.91 kB / 0.6702 GB, free: 152 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.1356, allocations: 161.6 kB / 0.6703 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.512e-05/0.1357, allocations: 12 kB / 0.6703 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00186/0.1375, allocations: 1.377 MB / 0.6717 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006088/0.1382, allocations: 0.6797 MB / 0.6723 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003396/0.1385, allocations: 448.9 kB / 0.6728 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001879/0.1404, allocations: 1.788 MB / 0.6745 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1404, allocations: 0 / 0.6745 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1404, allocations: 4 kB / 0.6745 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.1404, allocations: 0 / 0.6745 GB, free: 11.68 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.007909/0.1484, allocations: 1.693 MB / 0.6762 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.1484, allocations: 8.031 kB / 0.6762 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003795/0.1488, allocations: 138.9 kB / 0.6763 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004921/0.1493, allocations: 0.5211 MB / 0.6768 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1493, allocations: 16.3 kB / 0.6768 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.246e-05/0.1494, allocations: 15.92 kB / 0.6769 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004068/0.1498, allocations: 383.1 kB / 0.6772 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1498, allocations: 4 kB / 0.6772 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1498, allocations: 0 / 0.6772 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1498, allocations: 0 / 0.6772 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004112/0.1502, allocations: 439.7 kB / 0.6776 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006596/0.1509, allocations: 0.8034 MB / 0.6784 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004878/0.1514, allocations: 0.571 MB / 0.679 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/0.1517, allocations: 333.7 kB / 0.6793 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009824/0.1527, allocations: 1.028 MB / 0.6803 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003832/0.1531, allocations: 404.8 kB / 0.6807 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.1531, allocations: 4 kB / 0.6807 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001253/0.1544, allocations: 1.343 MB / 0.682 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.1544, allocations: 81.11 kB / 0.6821 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.1561, allocations: 1.843 MB / 0.6839 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.1561, allocations: 25.7 kB / 0.6839 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003349/0.1565, allocations: 477.4 kB / 0.6844 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.1565, allocations: 27.73 kB / 0.6844 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003073/0.1568, allocations: 351.5 kB / 0.6847 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.335e-05/0.1569, allocations: 301.1 kB / 0.685 GB, free: 380 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/0.1582, allocations: 1.506 MB / 0.6865 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/0.1595, allocations: 1.646 MB / 0.6881 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00703/0.1666, allocations: 3.694 MB / 0.6917 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.1666, allocations: 3.938 kB / 0.6917 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004197/0.1708, allocations: 4.327 MB / 0.6959 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1708, allocations: 8 kB / 0.6959 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.1708, allocations: 0 / 0.6959 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1709, allocations: 4.031 kB / 0.6959 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.171, allocations: 15.98 kB / 0.696 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.171, allocations: 4 kB / 0.696 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004959/0.1715, allocations: 228.3 kB / 0.6962 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.932e-05/0.1716, allocations: 23.98 kB / 0.6962 GB, free: 4.773 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.0004059/0.172, allocations: 369.4 kB / 0.6966 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.662e-05/0.1721, allocations: 118 kB / 0.6967 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003237/0.1724, allocations: 149.1 kB / 0.6968 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.1724, allocations: 0 / 0.6968 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1724, allocations: 0 / 0.6968 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1724, allocations: 0 / 0.6968 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005558/0.173, allocations: 0.6871 MB / 0.6975 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.173, allocations: 0 / 0.6975 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.829e-05/0.1731, allocations: 8 kB / 0.6975 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1731, allocations: 3.938 kB / 0.6975 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.1731, allocations: 12.02 kB / 0.6975 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1731, allocations: 320 / 0.6975 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.1731, allocations: 0 / 0.6975 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009108/0.174, allocations: 1.063 MB / 0.6985 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.1742, allocations: 195.1 kB / 0.6987 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.243e-05/0.1743, allocations: 8 kB / 0.6987 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.1745, allocations: 3.984 kB / 0.6987 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.1745, allocations: 11.98 kB / 0.6987 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/0.1746, allocations: 11.98 kB / 0.6988 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001133/0.1757, allocations: 1.101 MB / 0.6998 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.1757, allocations: 0 / 0.6998 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009858/0.1767, allocations: 435.8 kB / 0.7002 GB, free: 484 kB / 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.001048/0.1778, allocations: 491.8 kB / 0.7007 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00225/0.18, allocations: 2.648 MB / 0.7033 GB, free: 13.33 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1801, allocations: 0 / 0.7033 GB, free: 13.33 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003249/0.1804, allocations: 339.8 kB / 0.7036 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.1808, allocations: 54.48 kB / 0.7037 GB, free: 12.94 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/0.1835, allocations: 2.567 MB / 0.7062 GB, free: 10.33 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000657/0.1842, allocations: 1.153 MB / 0.7073 GB, free: 9.148 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001199/0.1843, allocations: 32.55 kB / 0.7073 GB, free: 9.117 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.1844, allocations: 23.42 kB / 0.7074 GB, free: 9.094 MB / 0.545 GB Notification: Performance of SimCode: time 5.72e-07/0.1844, allocations: 4 kB / 0.7074 GB, free: 9.09 MB / 0.545 GB Notification: Performance of Templates: time 0.01751/0.2019, allocations: 10.11 MB / 0.7172 GB, free: 15.02 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)