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.007609/0.007609, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001781/0.001781, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7475/0.7475, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.91 kB / 0.5814 GB, free: 7.441 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3505, allocations: 80.2 MB / 0.6597 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002014/0.3526, allocations: 1.398 MB / 0.6611 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003624/0.3562, allocations: 3.037 MB / 0.6641 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.82e-05/0.3562, allocations: 0 / 0.6641 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.548e-05/0.3563, allocations: 12.97 kB / 0.6641 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.3565, allocations: 31.98 kB / 0.6641 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.3585, allocations: 0.9833 MB / 0.6651 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.3586, allocations: 84.25 kB / 0.6651 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.665e-05/0.3586, allocations: 15.53 kB / 0.6652 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.52e-05/0.3587, allocations: 36.62 kB / 0.6652 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.3589, allocations: 164.4 kB / 0.6654 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.641e-05/0.3589, allocations: 16.19 kB / 0.6654 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001575/0.3605, allocations: 1.377 MB / 0.6667 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005564/0.361, allocations: 0.6853 MB / 0.6674 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003029/0.3614, allocations: 443.6 kB / 0.6678 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001639/0.363, allocations: 1.788 MB / 0.6696 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.363, allocations: 0 / 0.6696 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.363, allocations: 1.469 kB / 0.6696 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.363, allocations: 0 / 0.6696 GB, free: 3.906 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.007686/0.3707, allocations: 1.688 MB / 0.6712 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.3708, allocations: 9.562 kB / 0.6712 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003669/0.3711, allocations: 141.2 kB / 0.6713 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/0.3716, allocations: 0.5235 MB / 0.6719 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.3716, allocations: 7.125 kB / 0.6719 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.987e-05/0.3717, allocations: 15.8 kB / 0.6719 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003916/0.3721, allocations: 390.8 kB / 0.6723 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.3721, allocations: 0 / 0.6723 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.3721, allocations: 0.9688 kB / 0.6723 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.3721, allocations: 1.281 kB / 0.6723 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003985/0.3725, allocations: 433.8 kB / 0.6727 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/0.3731, allocations: 0.8031 MB / 0.6735 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000482/0.3736, allocations: 0.5727 MB / 0.674 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002817/0.3739, allocations: 333.8 kB / 0.6743 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008036/0.3747, allocations: 1.027 MB / 0.6753 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004064/0.3751, allocations: 411.2 kB / 0.6757 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.3751, allocations: 0 / 0.6757 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001376/0.3765, allocations: 1.343 MB / 0.677 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.3765, allocations: 83.53 kB / 0.6771 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.3784, allocations: 1.841 MB / 0.6789 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.3784, allocations: 27.36 kB / 0.6789 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003544/0.3788, allocations: 475.8 kB / 0.6794 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.3788, allocations: 19.52 kB / 0.6794 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003293/0.3791, allocations: 356.7 kB / 0.6798 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.313e-05/0.3792, allocations: 305.2 kB / 0.68 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.3806, allocations: 1.508 MB / 0.6815 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.3819, allocations: 1.645 MB / 0.6831 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007243/0.3892, allocations: 3.695 MB / 0.6867 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3892, allocations: 3.938 kB / 0.6867 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004387/0.3936, allocations: 4.32 MB / 0.691 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.3936, allocations: 7.938 kB / 0.691 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.3936, allocations: 4.312 kB / 0.691 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3937, allocations: 0 / 0.691 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.3938, allocations: 15.98 kB / 0.691 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3938, allocations: 0 / 0.691 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006398/0.3945, allocations: 232.3 kB / 0.6912 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.118e-05/0.3945, allocations: 27.97 kB / 0.6912 GB, free: 5.18 MB / 0.5137 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.0004649/0.395, allocations: 370.1 kB / 0.6916 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.481e-05/0.3951, allocations: 126 kB / 0.6917 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003288/0.3954, allocations: 145.1 kB / 0.6918 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.3954, allocations: 8.031 kB / 0.6918 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3954, allocations: 0 / 0.6918 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.3955, allocations: 3.984 kB / 0.6919 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006183/0.3961, allocations: 0.6832 MB / 0.6925 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3961, allocations: 0 / 0.6925 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.955e-05/0.3962, allocations: 8 kB / 0.6925 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3962, allocations: 0 / 0.6925 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.3962, allocations: 3.984 kB / 0.6925 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3962, allocations: 4 kB / 0.6925 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.3962, allocations: 3.984 kB / 0.6925 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009141/0.3971, allocations: 1.059 MB / 0.6936 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.3973, allocations: 199.2 kB / 0.6938 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.608e-05/0.3974, allocations: 0 / 0.6938 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.3976, allocations: 4 kB / 0.6938 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.3976, allocations: 11.98 kB / 0.6938 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/0.3977, allocations: 15.98 kB / 0.6938 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001152/0.3988, allocations: 1.104 MB / 0.6949 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3988, allocations: 0 / 0.6949 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001145/0.4, allocations: 427.9 kB / 0.6953 GB, free: 0.8828 MB / 0.5137 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.001071/0.4011, allocations: 488.9 kB / 0.6957 GB, free: 404 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002325/0.4034, allocations: 2.64 MB / 0.6983 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4034, allocations: 3.938 kB / 0.6983 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003206/0.4038, allocations: 347.9 kB / 0.6987 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.4042, allocations: 53.86 kB / 0.6987 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.407, allocations: 2.57 MB / 0.7012 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006983/0.4077, allocations: 1.149 MB / 0.7023 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001187/0.4079, allocations: 40.55 kB / 0.7024 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.617e-05/0.408, allocations: 23.42 kB / 0.7024 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of SimCode: time 2.7e-07/0.408, allocations: 0 / 0.7024 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of Templates: time 0.0178/0.4258, allocations: 10.11 MB / 0.7123 GB, free: 15.43 MB / 0.545 GB 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)