Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_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_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.0008308/0.0008309, allocations: 99 kB / 15.05 MB, free: 1.105 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.0008185/0.0008185, allocations: 177.3 kB / 15.94 MB, free: 228 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.174/1.174, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8151/0.8151, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002751/0.0002751, allocations: 12.66 kB / 0.5069 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1335, allocations: 82.3 MB / 0.5872 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001539/0.1351, allocations: 1.365 MB / 0.5886 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004396/0.1395, allocations: 3.797 MB / 0.5923 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.64e-05/0.1395, allocations: 3.938 kB / 0.5923 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008183/0.1404, allocations: 342.3 kB / 0.5926 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.059e-05/0.1405, allocations: 55.84 kB / 0.5927 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.142, allocations: 0.7177 MB / 0.5934 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.1421, allocations: 95.81 kB / 0.5934 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.743e-05/0.1422, allocations: 21.52 kB / 0.5935 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.386e-05/0.1423, allocations: 47.8 kB / 0.5935 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.1425, allocations: 159.6 kB / 0.5937 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.272e-05/0.1425, allocations: 15.94 kB / 0.5937 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/0.144, allocations: 1.256 MB / 0.5949 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.1442, allocations: 255.2 kB / 0.5952 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.804e-05/0.1442, allocations: 121.2 kB / 0.5953 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.1453, allocations: 1.021 MB / 0.5963 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.1453, allocations: 3.938 kB / 0.5963 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1453, allocations: 0 / 0.5963 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.1453, allocations: 0 / 0.5963 GB, free: 9.789 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.009231/0.1545, allocations: 1.226 MB / 0.5975 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.1546, allocations: 8.031 kB / 0.5975 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003097/0.1549, allocations: 98.64 kB / 0.5976 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/0.1553, allocations: 404.7 kB / 0.598 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.1553, allocations: 4 kB / 0.598 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/0.1554, allocations: 4 kB / 0.598 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.1557, allocations: 395.2 kB / 0.5983 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.1558, allocations: 4 kB / 0.5983 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1558, allocations: 0 / 0.5983 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1558, allocations: 0 / 0.5983 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003827/0.1562, allocations: 439.7 kB / 0.5988 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005407/0.1567, allocations: 0.6652 MB / 0.5994 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004514/0.1572, allocations: 0.5556 MB / 0.6 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008696/0.1581, allocations: 1.04 MB / 0.601 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000348/0.1584, allocations: 400.8 kB / 0.6014 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.153e-06/0.1584, allocations: 0 / 0.6014 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.00114/0.1596, allocations: 1.296 MB / 0.6026 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.1596, allocations: 85.09 kB / 0.6027 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.1607, allocations: 1.269 MB / 0.6039 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/0.1608, allocations: 37.64 kB / 0.604 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.1609, allocations: 281.4 kB / 0.6042 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.161, allocations: 15.8 kB / 0.6043 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/0.161, allocations: 8 kB / 0.6043 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.1612, allocations: 428 kB / 0.6047 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2286/0.3898, allocations: 1.352 MB / 0.606 GB, free: 48.83 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.3908, allocations: 1.494 MB / 0.6075 GB, free: 48.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.392, allocations: 1.893 MB / 0.6093 GB, free: 48.31 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.392, allocations: 5.078 kB / 0.6093 GB, free: 48.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003163/0.3952, allocations: 3.953 MB / 0.6132 GB, free: 47.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.3952, allocations: 3.719 kB / 0.6132 GB, free: 47.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.3952, allocations: 4.469 kB / 0.6132 GB, free: 47.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.3953, allocations: 0 / 0.6132 GB, free: 47.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.3954, allocations: 19.39 kB / 0.6132 GB, free: 47.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.3954, allocations: 5.719 kB / 0.6132 GB, free: 47.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004249/0.3958, allocations: 232.1 kB / 0.6134 GB, free: 46.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.3959, allocations: 27 kB / 0.6134 GB, free: 46.94 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 ($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.0002339/0.3961, allocations: 249.8 kB / 0.6137 GB, free: 46.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.15e-05/0.3962, allocations: 72.17 kB / 0.6138 GB, free: 46.76 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.3964, allocations: 82.3 kB / 0.6138 GB, free: 46.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3964, allocations: 3.062 kB / 0.6138 GB, free: 46.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3964, allocations: 6.641 kB / 0.6138 GB, free: 46.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.3965, allocations: 3.375 kB / 0.6138 GB, free: 46.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003267/0.3968, allocations: 0.5092 MB / 0.6143 GB, free: 46.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3968, allocations: 0 / 0.6143 GB, free: 46.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.158e-05/0.3969, allocations: 10.83 kB / 0.6144 GB, free: 46.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3969, allocations: 0 / 0.6144 GB, free: 46.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.3969, allocations: 3.156 kB / 0.6144 GB, free: 46.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.3969, allocations: 5.984 kB / 0.6144 GB, free: 46.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3969, allocations: 5.125 kB / 0.6144 GB, free: 46.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006452/0.3976, allocations: 1.02 MB / 0.6154 GB, free: 46.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.561e-05/0.3976, allocations: 159.1 kB / 0.6155 GB, free: 46.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.468e-05/0.3977, allocations: 14.12 kB / 0.6155 GB, free: 46.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.3978, allocations: 2.812 kB / 0.6155 GB, free: 46.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.3979, allocations: 6.188 kB / 0.6155 GB, free: 46.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.3979, allocations: 18.25 kB / 0.6156 GB, free: 46.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005666/0.3985, allocations: 0.7115 MB / 0.6162 GB, free: 45.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3985, allocations: 0 / 0.6162 GB, free: 45.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008444/0.3994, allocations: 400.9 kB / 0.6166 GB, free: 45.84 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 (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.0009231/0.4003, allocations: 473.8 kB / 0.6171 GB, free: 45.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001618/0.4019, allocations: 2.495 MB / 0.6195 GB, free: 44.74 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4019, allocations: 0.5 kB / 0.6195 GB, free: 44.74 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002358/0.4022, allocations: 340.4 kB / 0.6198 GB, free: 44.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.4024, allocations: 58.5 kB / 0.6199 GB, free: 44.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.404, allocations: 1.975 MB / 0.6218 GB, free: 43.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.4043, allocations: 1.004 MB / 0.6228 GB, free: 43.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001511/0.4045, allocations: 37.31 kB / 0.6228 GB, free: 43.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.952e-05/0.4046, allocations: 25.98 kB / 0.6229 GB, free: 43.28 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.4046, allocations: 4 kB / 0.6229 GB, free: 43.27 MB / 0.4981 GB Notification: Performance of Templates: time 0.01293/0.4175, allocations: 9.539 MB / 0.6322 GB, free: 42.66 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) Environment - environmentSimulation: