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.001664/0.001664, allocations: 110.5 kB / 16.41 MB, free: 6.496 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.001367/0.001367, allocations: 183 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.446/1.446, allocations: 222.9 MB / 241.1 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.8763/0.8763, allocations: 135.2 MB / 426.4 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 68.55 kB / 0.5864 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1782, allocations: 80.94 MB / 0.6654 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002632/0.1808, allocations: 1.405 MB / 0.6668 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005158/0.186, allocations: 3.038 MB / 0.6698 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.92e-05/0.186, allocations: 3.938 kB / 0.6698 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.1862, allocations: 11.92 kB / 0.6698 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.1864, allocations: 31.72 kB / 0.6698 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002813/0.1892, allocations: 0.9966 MB / 0.6708 GB, free: 228 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.1894, allocations: 75.8 kB / 0.6709 GB, free: 152 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.514e-05/0.1894, allocations: 4 kB / 0.6709 GB, free: 148 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.627e-05/0.1895, allocations: 51.77 kB / 0.6709 GB, free: 96 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.1898, allocations: 149.6 kB / 0.671 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.643e-05/0.1898, allocations: 16 kB / 0.6711 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002172/0.192, allocations: 1.388 MB / 0.6724 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007918/0.1928, allocations: 0.6836 MB / 0.6731 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004298/0.1932, allocations: 440.9 kB / 0.6735 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002815/0.196, allocations: 1.798 MB / 0.6753 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.196, allocations: 0 / 0.6753 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.053e-06/0.196, allocations: 4 kB / 0.6753 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.196, allocations: 0 / 0.6753 GB, free: 11.61 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.01107/0.2071, allocations: 1.742 MB / 0.677 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.2071, allocations: 12.03 kB / 0.677 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004698/0.2076, allocations: 155.8 kB / 0.6771 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007295/0.2083, allocations: 0.5374 MB / 0.6777 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.2084, allocations: 4.359 kB / 0.6777 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.721e-05/0.2084, allocations: 11.94 kB / 0.6777 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005535/0.209, allocations: 387.2 kB / 0.678 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.209, allocations: 0 / 0.678 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.209, allocations: 11.94 kB / 0.678 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.209, allocations: 0 / 0.678 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005133/0.2095, allocations: 427.8 kB / 0.6785 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009537/0.2105, allocations: 0.8118 MB / 0.6793 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000638/0.2111, allocations: 0.5632 MB / 0.6798 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003565/0.2115, allocations: 333.7 kB / 0.6801 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001308/0.2128, allocations: 1.028 MB / 0.6811 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004648/0.2132, allocations: 404.8 kB / 0.6815 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.2132, allocations: 0 / 0.6815 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001632/0.2149, allocations: 1.351 MB / 0.6828 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.756e-05/0.2149, allocations: 85.17 kB / 0.6829 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002168/0.2171, allocations: 1.847 MB / 0.6847 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.934e-05/0.2172, allocations: 29.7 kB / 0.6847 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004557/0.2176, allocations: 485.8 kB / 0.6852 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.2177, allocations: 19.83 kB / 0.6852 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003845/0.2181, allocations: 355.5 kB / 0.6856 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.2182, allocations: 301.1 kB / 0.6859 GB, free: 216 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.2198, allocations: 1.51 MB / 0.6873 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001711/0.2215, allocations: 1.65 MB / 0.6889 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007685/0.2292, allocations: 3.69 MB / 0.6925 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.2292, allocations: 3.938 kB / 0.6925 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005287/0.2345, allocations: 4.328 MB / 0.6968 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.2345, allocations: 5.875 kB / 0.6968 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.2345, allocations: 4 kB / 0.6968 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.2346, allocations: 0 / 0.6968 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.2347, allocations: 19.92 kB / 0.6968 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.2347, allocations: 0 / 0.6968 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006208/0.2353, allocations: 237.4 kB / 0.697 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.046e-05/0.2354, allocations: 31.97 kB / 0.6971 GB, free: 4.598 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.0005087/0.2359, allocations: 369.5 kB / 0.6974 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.236, allocations: 126.9 kB / 0.6975 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003673/0.2364, allocations: 149 kB / 0.6977 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2364, allocations: 0 / 0.6977 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2364, allocations: 0 / 0.6977 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.2364, allocations: 0 / 0.6977 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000724/0.2371, allocations: 0.6832 MB / 0.6983 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2371, allocations: 4.031 kB / 0.6983 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.139e-05/0.2372, allocations: 11.98 kB / 0.6984 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.2372, allocations: 3.984 kB / 0.6984 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.2372, allocations: 0 / 0.6984 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/0.2372, allocations: 8 kB / 0.6984 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2372, allocations: 0 / 0.6984 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.2384, allocations: 1.079 MB / 0.6994 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/0.2386, allocations: 204 kB / 0.6996 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.132e-05/0.2387, allocations: 0 / 0.6996 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.2389, allocations: 7.984 kB / 0.6996 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.2389, allocations: 4 kB / 0.6996 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-05/0.239, allocations: 19.97 kB / 0.6996 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001383/0.2404, allocations: 1.104 MB / 0.7007 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2404, allocations: 0 / 0.7007 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001306/0.2417, allocations: 435.1 kB / 0.7011 GB, free: 272 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.001345/0.243, allocations: 486 kB / 0.7016 GB, free: 15.78 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002429/0.2454, allocations: 2.101 MB / 0.7037 GB, free: 13.67 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.2454, allocations: 0 / 0.7037 GB, free: 13.67 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003809/0.2458, allocations: 339.8 kB / 0.704 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/0.2463, allocations: 54.41 kB / 0.704 GB, free: 13.28 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00352/0.2498, allocations: 2.653 MB / 0.7066 GB, free: 10.58 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008954/0.2507, allocations: 1.154 MB / 0.7077 GB, free: 9.398 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.2509, allocations: 27.42 kB / 0.7078 GB, free: 9.371 MB / 0.545 GB Notification: Performance of SimCode: time 6.21e-07/0.2509, allocations: 0 / 0.7078 GB, free: 9.371 MB / 0.545 GB Notification: Performance of Templates: time 0.02826/0.2791, allocations: 15.12 MB / 0.7225 GB, free: 10.25 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)