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.001537/0.001537, allocations: 108 kB / 15.6 MB, free: 124 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 197 kB / 16.54 MB, free: 6.668 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9444/0.9444, allocations: 135.2 MB / 425.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.00125, allocations: 68.05 kB / 0.5054 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1588, allocations: 80.93 MB / 0.5845 GB, free: 4.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.00273/0.1616, allocations: 1.403 MB / 0.5858 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004584/0.1662, allocations: 3.014 MB / 0.5888 GB, free: 44 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.968e-05/0.1663, allocations: 4 kB / 0.5888 GB, free: 40 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.1665, allocations: 11.86 kB / 0.5888 GB, free: 28 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.1668, allocations: 31.92 kB / 0.5888 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002687/0.1695, allocations: 0.9901 MB / 0.5898 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.1696, allocations: 79.73 kB / 0.5899 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.564e-05/0.1696, allocations: 15.86 kB / 0.5899 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.013e-05/0.1697, allocations: 39.86 kB / 0.5899 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.17, allocations: 165.6 kB / 0.5901 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.869e-05/0.17, allocations: 12 kB / 0.5901 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002099/0.1721, allocations: 1.365 MB / 0.5914 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000661/0.1728, allocations: 0.6991 MB / 0.5921 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004215/0.1733, allocations: 441 kB / 0.5925 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002299/0.1756, allocations: 1.76 MB / 0.5942 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1756, allocations: 0 / 0.5942 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.177e-06/0.1756, allocations: 0 / 0.5942 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.208e-05/0.1756, allocations: 3.938 kB / 0.5942 GB, free: 10.43 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.01091/0.1865, allocations: 1.698 MB / 0.5959 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1866, allocations: 11.97 kB / 0.5959 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004673/0.1871, allocations: 146.9 kB / 0.5961 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005524/0.1876, allocations: 0.5173 MB / 0.5966 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.1877, allocations: 8.359 kB / 0.5966 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.7e-05/0.1877, allocations: 12.12 kB / 0.5966 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004637/0.1882, allocations: 391.2 kB / 0.597 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1882, allocations: 4 kB / 0.597 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.1882, allocations: 0 / 0.597 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1883, allocations: 0 / 0.597 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004557/0.1887, allocations: 439.7 kB / 0.5974 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008595/0.1896, allocations: 0.8035 MB / 0.5982 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000528/0.1901, allocations: 0.5633 MB / 0.5987 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003071/0.1904, allocations: 337.7 kB / 0.599 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/0.1916, allocations: 1.028 MB / 0.6 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004086/0.192, allocations: 400.9 kB / 0.6004 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 2.094e-06/0.192, allocations: 0 / 0.6004 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001369/0.1934, allocations: 1.343 MB / 0.6017 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.1934, allocations: 89.22 kB / 0.6018 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/0.1953, allocations: 1.839 MB / 0.6036 GB, free: 300 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.533e-05/0.1954, allocations: 33.7 kB / 0.6036 GB, free: 260 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.2854/0.4808, allocations: 475 kB / 0.6041 GB, free: 51.97 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.234e-05/0.4809, allocations: 29.41 kB / 0.6041 GB, free: 51.97 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003068/0.4812, allocations: 347.9 kB / 0.6045 GB, free: 51.96 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.02e-05/0.4813, allocations: 301.7 kB / 0.6047 GB, free: 51.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.4823, allocations: 1.514 MB / 0.6062 GB, free: 51.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.4834, allocations: 1.646 MB / 0.6078 GB, free: 51.21 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006394/0.4898, allocations: 3.692 MB / 0.6114 GB, free: 49.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.4898, allocations: 0 / 0.6114 GB, free: 49.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003629/0.4934, allocations: 4.318 MB / 0.6156 GB, free: 47.39 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.4935, allocations: 8.5 kB / 0.6157 GB, free: 47.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.4935, allocations: 5.906 kB / 0.6157 GB, free: 47.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.4935, allocations: 0 / 0.6157 GB, free: 47.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.4936, allocations: 14.08 kB / 0.6157 GB, free: 47.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.4937, allocations: 2.844 kB / 0.6157 GB, free: 47.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005035/0.4942, allocations: 236.4 kB / 0.6159 GB, free: 47.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.501e-05/0.4942, allocations: 25.27 kB / 0.6159 GB, free: 47.22 MB / 0.4981 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.000364/0.4946, allocations: 369.1 kB / 0.6163 GB, free: 47.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.844e-05/0.4947, allocations: 119.5 kB / 0.6164 GB, free: 47.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003234/0.495, allocations: 143.8 kB / 0.6165 GB, free: 46.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.495, allocations: 8.062 kB / 0.6165 GB, free: 46.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.495, allocations: 3.938 kB / 0.6165 GB, free: 46.95 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.495, allocations: 1.969 kB / 0.6165 GB, free: 46.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004413/0.4955, allocations: 0.6744 MB / 0.6172 GB, free: 46.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.4955, allocations: 4.422 kB / 0.6172 GB, free: 46.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.055e-05/0.4956, allocations: 7.812 kB / 0.6172 GB, free: 46.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.4956, allocations: 2.719 kB / 0.6172 GB, free: 46.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.4956, allocations: 6.5 kB / 0.6172 GB, free: 46.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.4956, allocations: 0 / 0.6172 GB, free: 46.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4956, allocations: 5.031 kB / 0.6172 GB, free: 46.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007386/0.4963, allocations: 1.058 MB / 0.6183 GB, free: 46.42 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.4965, allocations: 197.3 kB / 0.6184 GB, free: 46.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.689e-05/0.4966, allocations: 0 / 0.6184 GB, free: 46.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.4968, allocations: 6.234 kB / 0.6185 GB, free: 46.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.093e-05/0.4968, allocations: 11.8 kB / 0.6185 GB, free: 46.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.301e-05/0.4969, allocations: 12.33 kB / 0.6185 GB, free: 46.24 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009379/0.4978, allocations: 1.107 MB / 0.6196 GB, free: 45.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4978, allocations: 3.312 kB / 0.6196 GB, free: 45.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008988/0.4987, allocations: 430.3 kB / 0.62 GB, free: 45.89 MB / 0.4981 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.001022/0.4998, allocations: 496 kB / 0.6204 GB, free: 45.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001748/0.5015, allocations: 2.652 MB / 0.623 GB, free: 44.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5015, allocations: 0 / 0.623 GB, free: 44.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002604/0.5018, allocations: 343 kB / 0.6234 GB, free: 44.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.5022, allocations: 56.61 kB / 0.6234 GB, free: 44.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.5045, allocations: 2.59 MB / 0.6259 GB, free: 43.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004498/0.505, allocations: 1.152 MB / 0.6271 GB, free: 43.22 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001595/0.5052, allocations: 29.78 kB / 0.6271 GB, free: 43.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.224e-05/0.5053, allocations: 25.61 kB / 0.6271 GB, free: 43.2 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.5053, allocations: 0 / 0.6271 GB, free: 43.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.01842/0.5237, allocations: 10.1 MB / 0.637 GB, free: 42.58 MB / 0.4981 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)