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_SmallScaleValidation.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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 104.1 kB / 16.35 MB, free: 5.824 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.0009589/0.0009589, allocations: 192.8 kB / 17.29 MB, free: 5.48 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.241/1.241, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7392/0.7392, allocations: 135.1 MB / 426.3 MB, free: 4.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 71.88 kB / 0.5068 GB, free: 7.676 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.288, allocations: 80.91 MB / 0.5858 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002286/0.2903, allocations: 1.728 MB / 0.5875 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003971/0.2943, allocations: 4.221 MB / 0.5916 GB, free: 20.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.011e-05/0.2944, allocations: 4 kB / 0.5916 GB, free: 20.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008233/0.2952, allocations: 365.5 kB / 0.592 GB, free: 20.24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.18e-05/0.2953, allocations: 59.67 kB / 0.592 GB, free: 20.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.2969, allocations: 0.9881 MB / 0.593 GB, free: 19.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.2971, allocations: 148.1 kB / 0.5931 GB, free: 19.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.518e-05/0.2971, allocations: 11.3 kB / 0.5931 GB, free: 19.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.932e-05/0.2972, allocations: 55.78 kB / 0.5932 GB, free: 19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.2973, allocations: 163.5 kB / 0.5933 GB, free: 18.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.146e-05/0.2974, allocations: 16 kB / 0.5934 GB, free: 18.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.2987, allocations: 1.38 MB / 0.5947 GB, free: 17.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.2988, allocations: 279.8 kB / 0.595 GB, free: 17.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.299, allocations: 306.1 kB / 0.5953 GB, free: 16.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.3001, allocations: 1.539 MB / 0.5968 GB, free: 15.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.3001, allocations: 0 / 0.5968 GB, free: 15.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3001, allocations: 7.984 kB / 0.5968 GB, free: 15.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.3001, allocations: 0.8438 kB / 0.5968 GB, free: 15.32 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.007515/0.3076, allocations: 1.274 MB / 0.598 GB, free: 13.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/0.3077, allocations: 9.109 kB / 0.598 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003061/0.308, allocations: 93.22 kB / 0.5981 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003623/0.3083, allocations: 402 kB / 0.5985 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.3084, allocations: 8.859 kB / 0.5985 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.3084, allocations: 12.12 kB / 0.5985 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/0.3087, allocations: 393.5 kB / 0.5989 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.3087, allocations: 0 / 0.5989 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.3088, allocations: 0 / 0.5989 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.3088, allocations: 10.3 kB / 0.5989 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002899/0.3091, allocations: 427.8 kB / 0.5993 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.3094, allocations: 0.6695 MB / 0.6 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.3098, allocations: 0.5643 MB / 0.6005 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.31, allocations: 340.1 kB / 0.6008 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000653/0.3107, allocations: 1.03 MB / 0.6018 GB, free: 9.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000284/0.311, allocations: 398.5 kB / 0.6022 GB, free: 9.324 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.311, allocations: 0 / 0.6022 GB, free: 9.324 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008793/0.3119, allocations: 1.298 MB / 0.6035 GB, free: 8.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.3119, allocations: 86.06 kB / 0.6036 GB, free: 7.918 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008131/0.3127, allocations: 1.274 MB / 0.6048 GB, free: 6.633 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.3127, allocations: 33.64 kB / 0.6048 GB, free: 6.594 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.3129, allocations: 286 kB / 0.6051 GB, free: 6.309 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.3129, allocations: 28.36 kB / 0.6051 GB, free: 6.281 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/0.3131, allocations: 351.5 kB / 0.6055 GB, free: 5.934 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.222e-05/0.3132, allocations: 320 kB / 0.6058 GB, free: 5.617 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007702/0.314, allocations: 1.357 MB / 0.6071 GB, free: 4.258 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008178/0.3148, allocations: 1.494 MB / 0.6086 GB, free: 2.754 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006063/0.3209, allocations: 3.544 MB / 0.612 GB, free: 15.12 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.3209, allocations: 0 / 0.612 GB, free: 15.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003728/0.3246, allocations: 3.97 MB / 0.6159 GB, free: 11.11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.3246, allocations: 10.41 kB / 0.6159 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.3247, allocations: 320 / 0.6159 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3247, allocations: 1.156 kB / 0.6159 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.3248, allocations: 15.98 kB / 0.6159 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3248, allocations: 4 kB / 0.6159 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004314/0.3253, allocations: 230.2 kB / 0.6162 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-05/0.3253, allocations: 35.91 kB / 0.6162 GB, free: 10.82 MB / 462.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 (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.0002657/0.3256, allocations: 252.7 kB / 0.6164 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.45e-05/0.3257, allocations: 70.69 kB / 0.6165 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/0.3259, allocations: 80.09 kB / 0.6166 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.3259, allocations: 0 / 0.6166 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3259, allocations: 0 / 0.6166 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3259, allocations: 4.984 kB / 0.6166 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004017/0.3263, allocations: 0.5138 MB / 0.6171 GB, free: 9.855 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3264, allocations: 1.094 kB / 0.6171 GB, free: 9.855 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.816e-05/0.3264, allocations: 7.984 kB / 0.6171 GB, free: 9.848 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.3264, allocations: 4 kB / 0.6171 GB, free: 9.844 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.3265, allocations: 1.719 kB / 0.6171 GB, free: 9.844 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.3265, allocations: 3.984 kB / 0.6171 GB, free: 9.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3265, allocations: 3.938 kB / 0.6171 GB, free: 9.836 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008181/0.3273, allocations: 1.01 MB / 0.6181 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.3274, allocations: 155.8 kB / 0.6182 GB, free: 8.637 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.057e-05/0.3275, allocations: 3.984 kB / 0.6182 GB, free: 8.633 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.3276, allocations: 4 kB / 0.6183 GB, free: 8.629 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.3277, allocations: 11.98 kB / 0.6183 GB, free: 8.617 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-05/0.3277, allocations: 16.61 kB / 0.6183 GB, free: 8.602 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007014/0.3284, allocations: 0.7147 MB / 0.619 GB, free: 7.883 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3284, allocations: 0 / 0.619 GB, free: 7.883 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008989/0.3293, allocations: 408.4 kB / 0.6194 GB, free: 7.484 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 (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.0009883/0.3303, allocations: 489.9 kB / 0.6198 GB, free: 7.008 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.3323, allocations: 2.492 MB / 0.6223 GB, free: 4.508 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3324, allocations: 5.344 kB / 0.6223 GB, free: 4.504 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002957/0.3327, allocations: 335.8 kB / 0.6226 GB, free: 4.176 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.333, allocations: 63.2 kB / 0.6227 GB, free: 4.117 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.3349, allocations: 1.855 MB / 0.6245 GB, free: 2.238 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.3354, allocations: 0.9878 MB / 0.6254 GB, free: 1.223 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.3355, allocations: 36.97 kB / 0.6255 GB, free: 1.191 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.556e-05/0.3356, allocations: 31.41 kB / 0.6255 GB, free: 1.16 MB / 462.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3357, allocations: 0 / 0.6255 GB, free: 1.16 MB / 462.1 MB Notification: Performance of Templates: time 0.01561/0.3513, allocations: 10.15 MB / 0.6354 GB, free: 7.062 MB / 478.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)