Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.0007831/0.0007831, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008166/0.0008165, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7398/0.7398, allocations: 132.3 MB / 423.4 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002859/0.000286, allocations: 8.562 kB / 0.5034 GB, free: 4.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3357, allocations: 81.57 MB / 0.5831 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.00111/0.3369, allocations: 1.11 MB / 0.5842 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003477/0.3404, allocations: 2.813 MB / 0.5869 GB, free: 1.273 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.501e-05/0.3404, allocations: 4.688 kB / 0.5869 GB, free: 1.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.785e-05/0.3405, allocations: 12.23 kB / 0.587 GB, free: 1.262 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.3407, allocations: 24.59 kB / 0.587 GB, free: 1.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.3424, allocations: 0.7558 MB / 0.5877 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000118/0.3425, allocations: 97.67 kB / 0.5878 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.049e-05/0.3425, allocations: 3.891 kB / 0.5878 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.965e-05/0.3426, allocations: 41.45 kB / 0.5879 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003084/0.3429, allocations: 244.3 kB / 0.5881 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.974e-05/0.343, allocations: 12.44 kB / 0.5881 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001915/0.3449, allocations: 1.294 MB / 0.5894 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007081/0.3456, allocations: 0.7104 MB / 0.5901 GB, free: 372 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.3457, allocations: 176 kB / 0.5902 GB, free: 260 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001426/0.3472, allocations: 1.184 MB / 0.5914 GB, free: 15.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3472, allocations: 1.125 kB / 0.5914 GB, free: 15.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3472, allocations: 0 / 0.5914 GB, free: 15.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.3472, allocations: 0 / 0.5914 GB, free: 15.95 MB / 446.1 MB 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.007706/0.3549, allocations: 1.602 MB / 0.5929 GB, free: 14.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.355, allocations: 11.08 kB / 0.593 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003678/0.3553, allocations: 144.2 kB / 0.5931 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005271/0.3559, allocations: 0.4955 MB / 0.5936 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.3559, allocations: 3.344 kB / 0.5936 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.205e-05/0.356, allocations: 9.719 kB / 0.5936 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004258/0.3564, allocations: 390.2 kB / 0.594 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.3564, allocations: 0 / 0.594 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.3564, allocations: 0.6094 kB / 0.594 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.3564, allocations: 4 kB / 0.594 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004395/0.3569, allocations: 437 kB / 0.5944 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007711/0.3577, allocations: 0.8073 MB / 0.5952 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004959/0.3582, allocations: 0.5606 MB / 0.5957 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.3585, allocations: 337.6 kB / 0.596 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009109/0.3594, allocations: 1.041 MB / 0.5971 GB, free: 12.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003957/0.3598, allocations: 406.9 kB / 0.5974 GB, free: 12.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.3598, allocations: 0 / 0.5974 GB, free: 12.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001341/0.3612, allocations: 1.345 MB / 0.5988 GB, free: 11.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.3612, allocations: 84.58 kB / 0.5988 GB, free: 11.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/0.3631, allocations: 1.837 MB / 0.6006 GB, free: 10.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/0.3632, allocations: 39.91 kB / 0.6007 GB, free: 10.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003601/0.3635, allocations: 471.8 kB / 0.6011 GB, free: 10.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.3636, allocations: 14.94 kB / 0.6011 GB, free: 10.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.3636, allocations: 5.062 kB / 0.6011 GB, free: 10.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3638, allocations: 412.5 kB / 0.6015 GB, free: 9.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/0.3651, allocations: 1.507 MB / 0.603 GB, free: 9.395 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/0.3666, allocations: 1.649 MB / 0.6046 GB, free: 8.699 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/0.3684, allocations: 2.043 MB / 0.6066 GB, free: 7.629 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3684, allocations: 0 / 0.6066 GB, free: 7.629 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004308/0.3727, allocations: 4.307 MB / 0.6108 GB, free: 3.531 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3727, allocations: 11.97 kB / 0.6108 GB, free: 3.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.3727, allocations: 4 kB / 0.6108 GB, free: 3.516 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3728, allocations: 0 / 0.6108 GB, free: 3.516 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.3729, allocations: 15.98 kB / 0.6109 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.892e-06/0.3729, allocations: 0 / 0.6109 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000654/0.3736, allocations: 236.2 kB / 0.6111 GB, free: 3.266 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.492e-05/0.3736, allocations: 31.97 kB / 0.6111 GB, free: 3.234 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000554/0.3742, allocations: 375 kB / 0.6115 GB, free: 2.859 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.3743, allocations: 118 kB / 0.6116 GB, free: 2.742 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003609/0.3747, allocations: 145.1 kB / 0.6117 GB, free: 2.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.3747, allocations: 0 / 0.6117 GB, free: 2.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3747, allocations: 0 / 0.6117 GB, free: 2.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3747, allocations: 0 / 0.6117 GB, free: 2.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006612/0.3754, allocations: 0.6755 MB / 0.6124 GB, free: 1.855 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3754, allocations: 4 kB / 0.6124 GB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.032e-05/0.3755, allocations: 16.02 kB / 0.6124 GB, free: 1.836 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.3755, allocations: 0 / 0.6124 GB, free: 1.836 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.3755, allocations: 4 kB / 0.6124 GB, free: 1.832 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3755, allocations: 3.938 kB / 0.6124 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.3755, allocations: 0 / 0.6124 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009096/0.3764, allocations: 1.067 MB / 0.6134 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.3766, allocations: 195.1 kB / 0.6136 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.333e-05/0.3767, allocations: 0 / 0.6136 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.3769, allocations: 7.984 kB / 0.6136 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.3769, allocations: 4 kB / 0.6136 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/0.377, allocations: 15.97 kB / 0.6137 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001202/0.3782, allocations: 1.097 MB / 0.6147 GB, free: 15.38 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.164e-06/0.3782, allocations: 0 / 0.6147 GB, free: 15.38 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001381/0.3796, allocations: 443.8 kB / 0.6151 GB, free: 14.94 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001147/0.3807, allocations: 470.9 kB / 0.6156 GB, free: 14.47 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002283/0.383, allocations: 2.652 MB / 0.6182 GB, free: 11.81 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.383, allocations: 3.938 kB / 0.6182 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003092/0.3834, allocations: 335.8 kB / 0.6185 GB, free: 11.48 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.3837, allocations: 50.53 kB / 0.6186 GB, free: 11.42 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002993/0.3867, allocations: 2.707 MB / 0.6212 GB, free: 8.684 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006379/0.3874, allocations: 1.15 MB / 0.6223 GB, free: 7.508 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001811/0.3876, allocations: 33.11 kB / 0.6224 GB, free: 7.477 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.618e-05/0.3877, allocations: 27.41 kB / 0.6224 GB, free: 7.449 MB / 462.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3877, allocations: 0 / 0.6224 GB, free: 7.449 MB / 462.1 MB Notification: Performance of Templates: time 0.01663/0.4043, allocations: 9.533 MB / 0.6317 GB, free: 13.95 MB / 478.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)