Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.00539/0.005391, allocations: 103 kB / 15.73 MB, free: 6.047 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.001284/0.001284, allocations: 196 kB / 16.68 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7725/0.7725, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 63.73 kB / 0.5814 GB, free: 23.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1542, allocations: 80.22 MB / 0.6597 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002212/0.1565, allocations: 1.402 MB / 0.6611 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004252/0.1607, allocations: 3.02 MB / 0.6641 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.188e-05/0.1608, allocations: 0 / 0.6641 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.1609, allocations: 15.86 kB / 0.6641 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.1611, allocations: 31.84 kB / 0.6641 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002295/0.1634, allocations: 0.9862 MB / 0.6651 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.1636, allocations: 87.67 kB / 0.6652 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.016e-05/0.1636, allocations: 7.984 kB / 0.6652 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.749e-05/0.1637, allocations: 43.84 kB / 0.6652 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000303/0.164, allocations: 161.6 kB / 0.6654 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.524e-05/0.1641, allocations: 12 kB / 0.6654 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001878/0.1659, allocations: 1.377 MB / 0.6667 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008357/0.1668, allocations: 0.6836 MB / 0.6674 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004405/0.1672, allocations: 441 kB / 0.6678 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002121/0.1694, allocations: 1.791 MB / 0.6695 GB, free: 228 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1694, allocations: 0 / 0.6695 GB, free: 228 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1694, allocations: 3.938 kB / 0.6696 GB, free: 224 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.371e-05/0.1694, allocations: 0 / 0.6696 GB, free: 224 kB / 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.01005/0.1795, allocations: 1.694 MB / 0.6712 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1795, allocations: 13.11 kB / 0.6712 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003865/0.1799, allocations: 135 kB / 0.6713 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004951/0.1804, allocations: 0.5289 MB / 0.6719 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.1804, allocations: 384 / 0.6719 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.1805, allocations: 11.94 kB / 0.6719 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004039/0.1809, allocations: 391.2 kB / 0.6722 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.1809, allocations: 0 / 0.6722 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.1809, allocations: 7.984 kB / 0.6723 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1809, allocations: 3.984 kB / 0.6723 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004169/0.1814, allocations: 435.7 kB / 0.6727 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006834/0.1821, allocations: 0.815 MB / 0.6735 GB, free: 12 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004975/0.1826, allocations: 0.5633 MB / 0.674 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.1829, allocations: 337.7 kB / 0.6743 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009958/0.1839, allocations: 1.028 MB / 0.6753 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003787/0.1843, allocations: 400.9 kB / 0.6757 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.1843, allocations: 0 / 0.6757 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001271/0.1856, allocations: 1.347 MB / 0.677 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.1856, allocations: 85.14 kB / 0.6771 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001698/0.1873, allocations: 1.839 MB / 0.6789 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/0.1874, allocations: 29.7 kB / 0.6789 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003346/0.1877, allocations: 473.3 kB / 0.6794 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.1878, allocations: 27.64 kB / 0.6794 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003006/0.1881, allocations: 347.5 kB / 0.6798 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.244e-05/0.1882, allocations: 301.1 kB / 0.68 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.1894, allocations: 1.514 MB / 0.6815 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/0.1908, allocations: 1.646 MB / 0.6831 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007123/0.1979, allocations: 3.69 MB / 0.6867 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.1979, allocations: 3.938 kB / 0.6867 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004366/0.2023, allocations: 4.32 MB / 0.691 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.2024, allocations: 10.34 kB / 0.691 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.2024, allocations: 0 / 0.691 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.2024, allocations: 0 / 0.691 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.2025, allocations: 15.98 kB / 0.691 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.2025, allocations: 4 kB / 0.691 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005562/0.2031, allocations: 232.2 kB / 0.6912 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.913e-05/0.2032, allocations: 32 kB / 0.6912 GB, free: 9.305 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.0004517/0.2036, allocations: 377.4 kB / 0.6916 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-05/0.2037, allocations: 118.1 kB / 0.6917 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003306/0.2041, allocations: 149 kB / 0.6919 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2041, allocations: 3.938 kB / 0.6919 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2041, allocations: 32 / 0.6919 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2041, allocations: 4 kB / 0.6919 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005892/0.2047, allocations: 0.6755 MB / 0.6925 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2047, allocations: 7.938 kB / 0.6925 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.274e-05/0.2048, allocations: 11.92 kB / 0.6925 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.2048, allocations: 0 / 0.6925 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.2048, allocations: 8 kB / 0.6925 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2048, allocations: 0 / 0.6925 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2048, allocations: 0 / 0.6925 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009159/0.2057, allocations: 1.063 MB / 0.6936 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.2059, allocations: 191.1 kB / 0.6938 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.407e-05/0.206, allocations: 4 kB / 0.6938 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.2062, allocations: 3.984 kB / 0.6938 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.2063, allocations: 8 kB / 0.6938 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.025e-05/0.2063, allocations: 23.91 kB / 0.6938 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001144/0.2075, allocations: 1.101 MB / 0.6949 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2075, allocations: 0 / 0.6949 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001005/0.2085, allocations: 439.8 kB / 0.6953 GB, free: 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.001074/0.2096, allocations: 478.8 kB / 0.6958 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002313/0.2119, allocations: 2.65 MB / 0.6983 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2119, allocations: 0 / 0.6983 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.2122, allocations: 335.8 kB / 0.6987 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.2126, allocations: 58.59 kB / 0.6987 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002783/0.2154, allocations: 2.556 MB / 0.7012 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006668/0.2161, allocations: 1.149 MB / 0.7023 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001285/0.2162, allocations: 33.09 kB / 0.7024 GB, free: 13.67 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.962e-05/0.2163, allocations: 31.42 kB / 0.7024 GB, free: 13.64 MB / 0.545 GB Notification: Performance of SimCode: time 3.5e-07/0.2163, allocations: 0 / 0.7024 GB, free: 13.64 MB / 0.545 GB Notification: Performance of Templates: time 0.0183/0.2346, allocations: 10.11 MB / 0.7123 GB, free: 3.562 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)