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.001258/0.001258, allocations: 107.6 kB / 16.37 MB, free: 6.348 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.001256/0.001256, allocations: 192.4 kB / 17.31 MB, free: 5.891 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.302/1.302, 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.7577/0.7577, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 68.02 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1473, allocations: 80.92 MB / 0.6653 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002254/0.1496, allocations: 1.405 MB / 0.6667 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004078/0.1537, allocations: 3.029 MB / 0.6696 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.3e-05/0.1538, allocations: 0 / 0.6696 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.1539, allocations: 7.922 kB / 0.6696 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.1542, allocations: 39.72 kB / 0.6697 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002237/0.1564, allocations: 0.9937 MB / 0.6706 GB, free: 316 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.1566, allocations: 83.73 kB / 0.6707 GB, free: 232 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.218e-05/0.1566, allocations: 4 kB / 0.6707 GB, free: 228 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.214e-05/0.1567, allocations: 43.83 kB / 0.6708 GB, free: 184 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.1569, allocations: 161.6 kB / 0.6709 GB, free: 20 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.1569, allocations: 12 kB / 0.6709 GB, free: 8 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001848/0.1588, allocations: 1.381 MB / 0.6723 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005879/0.1594, allocations: 0.6797 MB / 0.6729 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000333/0.1597, allocations: 449 kB / 0.6734 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002008/0.1617, allocations: 1.788 MB / 0.6751 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1618, allocations: 0 / 0.6751 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1618, allocations: 0 / 0.6751 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.1618, allocations: 0 / 0.6751 GB, free: 11.71 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.009883/0.1717, allocations: 1.689 MB / 0.6768 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.1717, allocations: 8.031 kB / 0.6768 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004091/0.1722, allocations: 146.9 kB / 0.6769 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005015/0.1727, allocations: 0.5251 MB / 0.6774 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.1727, allocations: 8.359 kB / 0.6774 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.1727, allocations: 11.94 kB / 0.6775 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004197/0.1732, allocations: 391.1 kB / 0.6778 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1732, allocations: 0 / 0.6778 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.1732, allocations: 0 / 0.6778 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1732, allocations: 4 kB / 0.6778 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004021/0.1736, allocations: 435.7 kB / 0.6782 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007213/0.1743, allocations: 0.8073 MB / 0.679 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004721/0.1748, allocations: 0.5671 MB / 0.6796 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/0.1751, allocations: 337.7 kB / 0.6799 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009817/0.1761, allocations: 1.028 MB / 0.6809 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003784/0.1765, allocations: 400.8 kB / 0.6813 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.1765, allocations: 0 / 0.6813 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001292/0.1778, allocations: 1.347 MB / 0.6826 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.1779, allocations: 85.11 kB / 0.6827 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/0.1795, allocations: 1.843 MB / 0.6845 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.429e-05/0.1796, allocations: 29.7 kB / 0.6845 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003218/0.1799, allocations: 473.3 kB / 0.685 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.18, allocations: 19.75 kB / 0.685 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000285/0.1803, allocations: 351.5 kB / 0.6853 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.921e-05/0.1804, allocations: 305.1 kB / 0.6856 GB, free: 412 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/0.1816, allocations: 1.51 MB / 0.6871 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00128/0.1829, allocations: 1.646 MB / 0.6887 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006535/0.1894, allocations: 3.69 MB / 0.6923 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/0.1895, allocations: 3.938 kB / 0.6923 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00404/0.1935, allocations: 4.32 MB / 0.6965 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.1936, allocations: 8 kB / 0.6965 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.1936, allocations: 3.984 kB / 0.6965 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.1936, allocations: 0 / 0.6965 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.1937, allocations: 19.94 kB / 0.6966 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.1938, allocations: 4 kB / 0.6966 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005299/0.1943, allocations: 228.3 kB / 0.6968 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.651e-05/0.1943, allocations: 23.98 kB / 0.6968 GB, free: 4.809 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.0004135/0.1948, allocations: 369.5 kB / 0.6971 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.845e-05/0.1949, allocations: 118 kB / 0.6973 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003255/0.1952, allocations: 149 kB / 0.6974 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1952, allocations: 3.984 kB / 0.6974 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1952, allocations: 0 / 0.6974 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1952, allocations: 4 kB / 0.6974 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005481/0.1958, allocations: 0.6871 MB / 0.6981 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1958, allocations: 8.031 kB / 0.6981 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.566e-05/0.1959, allocations: 4 kB / 0.6981 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1959, allocations: 4 kB / 0.6981 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.1959, allocations: 7.984 kB / 0.6981 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1959, allocations: 3.938 kB / 0.6981 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1959, allocations: 0 / 0.6981 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00088/0.1968, allocations: 1.055 MB / 0.6991 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.197, allocations: 191.1 kB / 0.6993 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.405e-05/0.197, allocations: 11.98 kB / 0.6993 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.1972, allocations: 3.938 kB / 0.6993 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.1973, allocations: 7.984 kB / 0.6993 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.033e-05/0.1973, allocations: 11.98 kB / 0.6994 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001107/0.1984, allocations: 1.112 MB / 0.7004 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1984, allocations: 0 / 0.7004 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001055/0.1995, allocations: 431.8 kB / 0.7009 GB, free: 0.5 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.00107/0.2006, allocations: 484.5 kB / 0.7013 GB, free: 16 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002211/0.2028, allocations: 2.644 MB / 0.7039 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2028, allocations: 0 / 0.7039 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003108/0.2031, allocations: 343.7 kB / 0.7042 GB, free: 13.03 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.2035, allocations: 53.73 kB / 0.7043 GB, free: 12.97 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002829/0.2064, allocations: 2.628 MB / 0.7068 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006382/0.207, allocations: 1.149 MB / 0.708 GB, free: 9.121 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.2071, allocations: 23.42 kB / 0.708 GB, free: 9.098 MB / 0.545 GB Notification: Performance of SimCode: time 1.483e-06/0.2071, allocations: 0 / 0.708 GB, free: 9.098 MB / 0.545 GB Notification: Performance of Templates: time 0.02226/0.2294, allocations: 15.04 MB / 0.7227 GB, free: 10.05 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)