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.000899/0.0008994, allocations: 99.58 kB / 16.02 MB, free: 76 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.001063/0.001063, allocations: 181.8 kB / 16.92 MB, free: 6.918 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: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9406/0.9406, allocations: 135.3 MB / 427.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003449, allocations: 8 kB / 0.5083 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1543, allocations: 82.31 MB / 0.5887 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001364/0.1557, allocations: 1.121 MB / 0.5897 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00442/0.1601, allocations: 3.16 MB / 0.5928 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.674e-05/0.1602, allocations: 0 / 0.5928 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.1603, allocations: 11.92 kB / 0.5928 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.1605, allocations: 19.91 kB / 0.5929 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001906/0.1624, allocations: 0.7723 MB / 0.5936 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.1626, allocations: 111.7 kB / 0.5937 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.797e-05/0.1626, allocations: 7.984 kB / 0.5937 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.09e-05/0.1627, allocations: 43.78 kB / 0.5938 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002696/0.163, allocations: 221 kB / 0.594 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.467e-05/0.163, allocations: 15.94 kB / 0.594 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001757/0.1648, allocations: 1.396 MB / 0.5954 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005847/0.1654, allocations: 0.6718 MB / 0.596 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003355/0.1657, allocations: 466.7 kB / 0.5965 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.1669, allocations: 1.201 MB / 0.5976 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1669, allocations: 4 kB / 0.5976 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.714e-06/0.1669, allocations: 0 / 0.5976 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.167, allocations: 0 / 0.5976 GB, free: 9.367 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.01046/0.1774, allocations: 1.59 MB / 0.5992 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.1775, allocations: 8.031 kB / 0.5992 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004153/0.1779, allocations: 154.9 kB / 0.5993 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005694/0.1785, allocations: 0.5211 MB / 0.5999 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.1785, allocations: 8.312 kB / 0.5999 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.633e-05/0.1786, allocations: 8.125 kB / 0.5999 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000464/0.179, allocations: 391.2 kB / 0.6002 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.179, allocations: 0 / 0.6002 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.1791, allocations: 3.938 kB / 0.6003 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1791, allocations: 8 kB / 0.6003 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004548/0.1795, allocations: 431.7 kB / 0.6007 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007996/0.1803, allocations: 0.8073 MB / 0.6015 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005379/0.1809, allocations: 0.5556 MB / 0.602 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003339/0.1812, allocations: 341.5 kB / 0.6023 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/0.1824, allocations: 1.044 MB / 0.6033 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004081/0.1828, allocations: 400.9 kB / 0.6037 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.1828, allocations: 0 / 0.6037 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001286/0.1841, allocations: 1.343 MB / 0.605 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.1841, allocations: 85.23 kB / 0.6051 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2756/0.4598, allocations: 1.839 MB / 0.6069 GB, free: 48.46 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.233e-05/0.4599, allocations: 28.45 kB / 0.6069 GB, free: 48.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003003/0.4602, allocations: 481.1 kB / 0.6074 GB, free: 48.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.4603, allocations: 20.72 kB / 0.6074 GB, free: 48.29 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.4605, allocations: 289.5 kB / 0.6077 GB, free: 48.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.272e-05/0.4605, allocations: 307.8 kB / 0.608 GB, free: 47.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.4615, allocations: 1.509 MB / 0.6095 GB, free: 47.97 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/0.4628, allocations: 1.643 MB / 0.6111 GB, free: 47.94 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006366/0.4691, allocations: 3.694 MB / 0.6147 GB, free: 46.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.4692, allocations: 0.75 kB / 0.6147 GB, free: 46.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003504/0.4727, allocations: 4.323 MB / 0.6189 GB, free: 44.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.4727, allocations: 5.062 kB / 0.6189 GB, free: 44.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.4728, allocations: 0.9688 kB / 0.6189 GB, free: 44.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.4728, allocations: 2.531 kB / 0.6189 GB, free: 44.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.4729, allocations: 20.19 kB / 0.6189 GB, free: 44.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.4729, allocations: 2.969 kB / 0.6189 GB, free: 44.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000539/0.4735, allocations: 227.9 kB / 0.6191 GB, free: 44.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.257e-05/0.4735, allocations: 23.67 kB / 0.6192 GB, free: 44.42 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.0003632/0.4739, allocations: 367.4 kB / 0.6195 GB, free: 44.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.822e-05/0.474, allocations: 123.2 kB / 0.6196 GB, free: 44.22 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003149/0.4743, allocations: 148.9 kB / 0.6198 GB, free: 44.15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.4743, allocations: 2.859 kB / 0.6198 GB, free: 44.15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4743, allocations: 2.734 kB / 0.6198 GB, free: 44.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.4743, allocations: 2.656 kB / 0.6198 GB, free: 44.15 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004611/0.4748, allocations: 0.6729 MB / 0.6204 GB, free: 43.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4748, allocations: 3.656 kB / 0.6204 GB, free: 43.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.43e-05/0.4749, allocations: 10.58 kB / 0.6205 GB, free: 43.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.4749, allocations: 3 kB / 0.6205 GB, free: 43.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.4749, allocations: 7.312 kB / 0.6205 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.4749, allocations: 2.875 kB / 0.6205 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.4749, allocations: 0.75 kB / 0.6205 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007282/0.4756, allocations: 1.055 MB / 0.6215 GB, free: 43.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.4758, allocations: 196.3 kB / 0.6217 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.709e-05/0.4758, allocations: 17.77 kB / 0.6217 GB, free: 43.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.476, allocations: 6.062 kB / 0.6217 GB, free: 43.44 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.4761, allocations: 6.656 kB / 0.6217 GB, free: 43.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/0.4761, allocations: 17.09 kB / 0.6217 GB, free: 43.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009386/0.4771, allocations: 1.108 MB / 0.6228 GB, free: 43.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4771, allocations: 0 / 0.6228 GB, free: 43.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009177/0.478, allocations: 431 kB / 0.6232 GB, free: 43.09 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.001056/0.4791, allocations: 484.6 kB / 0.6237 GB, free: 42.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001787/0.4809, allocations: 2.651 MB / 0.6263 GB, free: 41.99 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4809, allocations: 0 / 0.6263 GB, free: 41.99 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002604/0.4811, allocations: 340.1 kB / 0.6266 GB, free: 41.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.4816, allocations: 48.73 kB / 0.6267 GB, free: 41.94 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002512/0.4841, allocations: 2.914 MB / 0.6295 GB, free: 40.81 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004837/0.4846, allocations: 1.151 MB / 0.6306 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.4847, allocations: 26.67 kB / 0.6306 GB, free: 40.1 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.4847, allocations: 6.062 kB / 0.6307 GB, free: 40.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.02629/0.511, allocations: 14.94 MB / 0.6452 GB, free: 37.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)