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.001287/0.001287, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001247/0.001248, allocations: 195 kB / 16.25 MB, free: 6.621 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.344/1.344, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9584/0.9584, allocations: 135.6 MB / 425.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 67.34 kB / 0.5054 GB, free: 5.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1519, allocations: 81.02 MB / 0.5845 GB, free: 4.254 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002634/0.1546, allocations: 1.47 MB / 0.586 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0045/0.1591, allocations: 3.028 MB / 0.5889 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.86e-05/0.1592, allocations: 4 kB / 0.5889 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.1593, allocations: 7.938 kB / 0.5889 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002069/0.1595, allocations: 27.84 kB / 0.589 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.1616, allocations: 0.8783 MB / 0.5898 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.1618, allocations: 79.75 kB / 0.5899 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.727e-05/0.1618, allocations: 11.92 kB / 0.5899 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.979e-05/0.1619, allocations: 51.77 kB / 0.59 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000297/0.1622, allocations: 217 kB / 0.5902 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.285e-05/0.1623, allocations: 19.94 kB / 0.5902 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001891/0.1641, allocations: 1.416 MB / 0.5916 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006463/0.1648, allocations: 0.6836 MB / 0.5922 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003662/0.1652, allocations: 437 kB / 0.5927 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00194/0.1671, allocations: 1.784 MB / 0.5944 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1671, allocations: 3.938 kB / 0.5944 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1671, allocations: 0 / 0.5944 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.1672, allocations: 0 / 0.5944 GB, free: 10.11 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.008951/0.1761, allocations: 1.698 MB / 0.5961 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1762, allocations: 8.031 kB / 0.5961 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000398/0.1766, allocations: 150.9 kB / 0.5962 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00057/0.1772, allocations: 0.5173 MB / 0.5967 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.1772, allocations: 4.375 kB / 0.5967 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.1772, allocations: 16.11 kB / 0.5967 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004577/0.1777, allocations: 383.2 kB / 0.5971 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1777, allocations: 4 kB / 0.5971 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.1777, allocations: 7.922 kB / 0.5971 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1777, allocations: 0 / 0.5971 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004703/0.1782, allocations: 439.7 kB / 0.5975 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007961/0.179, allocations: 0.7996 MB / 0.5983 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005693/0.1796, allocations: 0.5672 MB / 0.5989 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003404/0.1799, allocations: 337.7 kB / 0.5992 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001152/0.1811, allocations: 1.032 MB / 0.6002 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004345/0.1816, allocations: 400.9 kB / 0.6006 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.1816, allocations: 4 kB / 0.6006 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001435/0.183, allocations: 1.331 MB / 0.6019 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/0.1831, allocations: 93.22 kB / 0.602 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2207/0.4037, allocations: 1.841 MB / 0.6038 GB, free: 51.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.876e-05/0.4039, allocations: 30.17 kB / 0.6038 GB, free: 51.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003623/0.4042, allocations: 472.4 kB / 0.6042 GB, free: 51.15 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.4043, allocations: 26.45 kB / 0.6043 GB, free: 51.15 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002753/0.4046, allocations: 352.1 kB / 0.6046 GB, free: 51.13 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.59e-05/0.4046, allocations: 304.5 kB / 0.6049 GB, free: 50.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.4056, allocations: 1.509 MB / 0.6064 GB, free: 50.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009462/0.4066, allocations: 1.645 MB / 0.608 GB, free: 50.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005801/0.4124, allocations: 3.692 MB / 0.6116 GB, free: 48.35 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4124, allocations: 0 / 0.6116 GB, free: 48.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003103/0.4155, allocations: 4.323 MB / 0.6158 GB, free: 46.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.4155, allocations: 5.531 kB / 0.6158 GB, free: 46.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.4155, allocations: 2.656 kB / 0.6158 GB, free: 46.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.4156, allocations: 0.9375 kB / 0.6158 GB, free: 46.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.4157, allocations: 16.67 kB / 0.6158 GB, free: 46.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.4157, allocations: 2.625 kB / 0.6158 GB, free: 46.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004377/0.4161, allocations: 236.7 kB / 0.6161 GB, free: 46.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.232e-05/0.4162, allocations: 19.77 kB / 0.6161 GB, free: 46.2 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.0003257/0.4165, allocations: 369.5 kB / 0.6164 GB, free: 46.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.318e-05/0.4166, allocations: 118.8 kB / 0.6165 GB, free: 46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002791/0.4169, allocations: 153.3 kB / 0.6167 GB, free: 45.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4169, allocations: 0 / 0.6167 GB, free: 45.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.4169, allocations: 3.25 kB / 0.6167 GB, free: 45.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4169, allocations: 1.781 kB / 0.6167 GB, free: 45.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003943/0.4173, allocations: 0.6795 MB / 0.6174 GB, free: 45.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4173, allocations: 3.156 kB / 0.6174 GB, free: 45.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.436e-05/0.4174, allocations: 10.38 kB / 0.6174 GB, free: 45.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.4174, allocations: 3.125 kB / 0.6174 GB, free: 45.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.4174, allocations: 7.312 kB / 0.6174 GB, free: 45.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4174, allocations: 3.125 kB / 0.6174 GB, free: 45.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4174, allocations: 0 / 0.6174 GB, free: 45.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006513/0.4181, allocations: 1.059 MB / 0.6184 GB, free: 45.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.4182, allocations: 191.5 kB / 0.6186 GB, free: 45.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.791e-05/0.4183, allocations: 14.95 kB / 0.6186 GB, free: 45.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.4185, allocations: 3.031 kB / 0.6186 GB, free: 45.22 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.4185, allocations: 10.16 kB / 0.6186 GB, free: 45.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/0.4185, allocations: 16.25 kB / 0.6186 GB, free: 45.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008333/0.4194, allocations: 1.102 MB / 0.6197 GB, free: 44.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4194, allocations: 1.641 kB / 0.6197 GB, free: 44.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008569/0.4203, allocations: 429.6 kB / 0.6201 GB, free: 44.87 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.0009639/0.4212, allocations: 489.9 kB / 0.6206 GB, free: 44.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001651/0.4229, allocations: 2.648 MB / 0.6232 GB, free: 43.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4229, allocations: 1.219 kB / 0.6232 GB, free: 43.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.4231, allocations: 344.1 kB / 0.6235 GB, free: 43.76 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.4235, allocations: 50.52 kB / 0.6236 GB, free: 43.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.4257, allocations: 2.848 MB / 0.6263 GB, free: 42.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.4262, allocations: 1.152 MB / 0.6275 GB, free: 41.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001524/0.4263, allocations: 35.95 kB / 0.6275 GB, free: 41.92 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.887e-05/0.4264, allocations: 26.91 kB / 0.6275 GB, free: 41.91 MB / 0.4981 GB Notification: Performance of SimCode: time 3.9e-07/0.4264, allocations: 0 / 0.6275 GB, free: 41.91 MB / 0.4981 GB Notification: Performance of Templates: time 0.01687/0.4433, allocations: 10.09 MB / 0.6374 GB, free: 41.3 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)