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.001183/0.001183, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001349/0.001349, allocations: 193.6 kB / 16.14 MB, free: 6.645 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.423/1.423, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8831/0.8831, allocations: 135.1 MB / 425.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.001181, allocations: 68.78 kB / 0.5047 GB, free: 5.703 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1458, allocations: 80.92 MB / 0.5837 GB, free: 4.953 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002308/0.1481, allocations: 1.459 MB / 0.5852 GB, free: 3.473 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004501/0.1526, allocations: 3.231 MB / 0.5883 GB, free: 236 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.737e-05/0.1527, allocations: 7.938 kB / 0.5883 GB, free: 228 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.653e-05/0.1528, allocations: 3.938 kB / 0.5883 GB, free: 224 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.153, allocations: 27.89 kB / 0.5884 GB, free: 196 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001891/0.1549, allocations: 0.7675 MB / 0.5891 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.155, allocations: 107.7 kB / 0.5892 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.987e-05/0.1551, allocations: 8 kB / 0.5892 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.738e-05/0.1551, allocations: 39.84 kB / 0.5893 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000256/0.1554, allocations: 228.9 kB / 0.5895 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.209e-05/0.1555, allocations: 16 kB / 0.5895 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001985/0.1574, allocations: 1.388 MB / 0.5908 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006619/0.1581, allocations: 0.6797 MB / 0.5915 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006581/0.1588, allocations: 445 kB / 0.5919 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00225/0.1611, allocations: 1.768 MB / 0.5937 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1611, allocations: 8 kB / 0.5937 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.106e-06/0.1611, allocations: 3.984 kB / 0.5937 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.1611, allocations: 0 / 0.5937 GB, free: 10.74 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.008128/0.1692, allocations: 1.686 MB / 0.5953 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.1693, allocations: 12.03 kB / 0.5953 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004387/0.1697, allocations: 142.9 kB / 0.5955 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005036/0.1703, allocations: 0.5251 MB / 0.596 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.1703, allocations: 4.375 kB / 0.596 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.1703, allocations: 8.125 kB / 0.596 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004276/0.1708, allocations: 391.1 kB / 0.5964 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.1708, allocations: 0 / 0.5964 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.1708, allocations: 8 kB / 0.5964 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1708, allocations: 0 / 0.5964 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004326/0.1712, allocations: 435.8 kB / 0.5968 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000706/0.172, allocations: 0.7996 MB / 0.5976 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004952/0.1725, allocations: 0.5633 MB / 0.5981 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003111/0.1728, allocations: 349.6 kB / 0.5985 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009763/0.1738, allocations: 1.025 MB / 0.5995 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003972/0.1742, allocations: 404.8 kB / 0.5998 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.1742, allocations: 0 / 0.5998 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001311/0.1755, allocations: 1.347 MB / 0.6012 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.1756, allocations: 81.11 kB / 0.6012 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/0.1773, allocations: 1.839 MB / 0.603 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/0.1773, allocations: 33.69 kB / 0.6031 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003504/0.1777, allocations: 481.4 kB / 0.6035 GB, free: 100 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.1777, allocations: 23.59 kB / 0.6035 GB, free: 76 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2281/0.4058, allocations: 346.9 kB / 0.6039 GB, free: 52.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.747e-05/0.4059, allocations: 301.8 kB / 0.6042 GB, free: 51.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.407, allocations: 1.513 MB / 0.6056 GB, free: 51.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.408, allocations: 1.649 MB / 0.6072 GB, free: 51.47 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006275/0.4143, allocations: 3.686 MB / 0.6108 GB, free: 49.64 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.4143, allocations: 0 / 0.6108 GB, free: 49.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00348/0.4178, allocations: 4.323 MB / 0.6151 GB, free: 47.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4178, allocations: 6.594 kB / 0.6151 GB, free: 47.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.4178, allocations: 6.688 kB / 0.6151 GB, free: 47.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.4179, allocations: 0 / 0.6151 GB, free: 47.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.418, allocations: 21.27 kB / 0.6151 GB, free: 47.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.418, allocations: 0 / 0.6151 GB, free: 47.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004584/0.4185, allocations: 228 kB / 0.6153 GB, free: 47.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.705e-05/0.4186, allocations: 25.25 kB / 0.6153 GB, free: 47.56 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.0003581/0.4189, allocations: 370.5 kB / 0.6157 GB, free: 47.45 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.419, allocations: 120.2 kB / 0.6158 GB, free: 47.36 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/0.4193, allocations: 146.4 kB / 0.616 GB, free: 47.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.4193, allocations: 4.094 kB / 0.616 GB, free: 47.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.4193, allocations: 3.938 kB / 0.616 GB, free: 47.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.4193, allocations: 0 / 0.616 GB, free: 47.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004249/0.4198, allocations: 0.6771 MB / 0.6166 GB, free: 46.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4198, allocations: 0 / 0.6166 GB, free: 46.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.909e-05/0.4198, allocations: 11.55 kB / 0.6166 GB, free: 46.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.4199, allocations: 0 / 0.6166 GB, free: 46.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.4199, allocations: 5.031 kB / 0.6166 GB, free: 46.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4199, allocations: 1.594 kB / 0.6166 GB, free: 46.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4199, allocations: 7.266 kB / 0.6166 GB, free: 46.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006974/0.4206, allocations: 1.06 MB / 0.6177 GB, free: 46.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.4207, allocations: 197.5 kB / 0.6179 GB, free: 46.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.09e-05/0.4208, allocations: 4.594 kB / 0.6179 GB, free: 46.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.421, allocations: 5.875 kB / 0.6179 GB, free: 46.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.421, allocations: 8.219 kB / 0.6179 GB, free: 46.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.298e-05/0.4211, allocations: 12.61 kB / 0.6179 GB, free: 46.58 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000945/0.422, allocations: 1.107 MB / 0.619 GB, free: 46.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.422, allocations: 4.719 kB / 0.619 GB, free: 46.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000969/0.423, allocations: 430.5 kB / 0.6194 GB, free: 46.23 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.001061/0.4241, allocations: 482.2 kB / 0.6199 GB, free: 46.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001713/0.4258, allocations: 2.652 MB / 0.6224 GB, free: 45.13 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4258, allocations: 0 / 0.6224 GB, free: 45.13 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002514/0.4261, allocations: 342.7 kB / 0.6228 GB, free: 45.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.4265, allocations: 47.64 kB / 0.6228 GB, free: 45.08 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/0.4288, allocations: 2.848 MB / 0.6256 GB, free: 44 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004393/0.4292, allocations: 1.152 MB / 0.6267 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001664/0.4294, allocations: 41.12 kB / 0.6268 GB, free: 43.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.691e-05/0.4295, allocations: 29.16 kB / 0.6268 GB, free: 43.27 MB / 0.4981 GB Notification: Performance of SimCode: time 3.6e-07/0.4295, allocations: 0 / 0.6268 GB, free: 43.27 MB / 0.4981 GB Notification: Performance of Templates: time 0.0164/0.4459, allocations: 9.833 MB / 0.6364 GB, free: 42.65 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)