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_1borehole_5meters.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_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.294/1.294, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9112/0.9112, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 59.75 kB / 0.5054 GB, free: 5.293 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1436, allocations: 80.93 MB / 0.5844 GB, free: 4.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002329/0.146, allocations: 1.401 MB / 0.5858 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004158/0.1502, allocations: 3.014 MB / 0.5887 GB, free: 76 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.233e-05/0.1502, allocations: 4 kB / 0.5887 GB, free: 72 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.894e-05/0.1503, allocations: 11.86 kB / 0.5887 GB, free: 60 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.1506, allocations: 23.84 kB / 0.5888 GB, free: 36 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002158/0.1527, allocations: 0.9893 MB / 0.5897 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.999e-05/0.1528, allocations: 79.77 kB / 0.5898 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.527e-05/0.1529, allocations: 15.91 kB / 0.5898 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.086e-05/0.153, allocations: 43.8 kB / 0.5899 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.1532, allocations: 135.7 kB / 0.59 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.202e-05/0.1532, allocations: 16 kB / 0.59 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001794/0.155, allocations: 1.369 MB / 0.5913 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000199/0.1552, allocations: 267.8 kB / 0.5916 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002168/0.1555, allocations: 278.3 kB / 0.5919 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001513/0.157, allocations: 1.461 MB / 0.5933 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.157, allocations: 0 / 0.5933 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.157, allocations: 3.938 kB / 0.5933 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.157, allocations: 0 / 0.5933 GB, free: 11.38 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.009974/0.167, allocations: 1.214 MB / 0.5945 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.167, allocations: 8.031 kB / 0.5945 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003615/0.1674, allocations: 83.69 kB / 0.5946 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.1678, allocations: 368.9 kB / 0.5949 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.1678, allocations: 4.375 kB / 0.5949 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/0.1678, allocations: 8.125 kB / 0.5949 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/0.1682, allocations: 395.1 kB / 0.5953 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1682, allocations: 0 / 0.5953 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.1683, allocations: 7.938 kB / 0.5953 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1683, allocations: 0 / 0.5953 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004082/0.1687, allocations: 443.7 kB / 0.5957 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005159/0.1692, allocations: 0.6286 MB / 0.5964 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004751/0.1697, allocations: 0.5594 MB / 0.5969 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/0.17, allocations: 345.6 kB / 0.5972 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009856/0.171, allocations: 1.025 MB / 0.5982 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003723/0.1714, allocations: 404.9 kB / 0.5986 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.1714, allocations: 0 / 0.5986 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001212/0.1726, allocations: 1.289 MB / 0.5999 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.1727, allocations: 81.11 kB / 0.5999 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.1737, allocations: 1.202 MB / 0.6011 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.1738, allocations: 37.81 kB / 0.6012 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.1739, allocations: 253.4 kB / 0.6014 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.174, allocations: 27.64 kB / 0.6014 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002968/0.1743, allocations: 343.6 kB / 0.6018 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.869e-05/0.1744, allocations: 321.9 kB / 0.6021 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.1755, allocations: 1.361 MB / 0.6034 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2473/0.4227, allocations: 1.493 MB / 0.6049 GB, free: 51.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006315/0.4291, allocations: 3.534 MB / 0.6083 GB, free: 50.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.4291, allocations: 0 / 0.6083 GB, free: 50.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003307/0.4324, allocations: 3.967 MB / 0.6122 GB, free: 48.58 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.4325, allocations: 6.188 kB / 0.6122 GB, free: 48.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.4325, allocations: 0 / 0.6122 GB, free: 48.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.4325, allocations: 2.969 kB / 0.6122 GB, free: 48.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.4326, allocations: 16.42 kB / 0.6122 GB, free: 48.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.4327, allocations: 1.125 kB / 0.6122 GB, free: 48.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004073/0.4331, allocations: 231.9 kB / 0.6124 GB, free: 48.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.23e-05/0.4331, allocations: 26.52 kB / 0.6124 GB, free: 48.42 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.00022/0.4334, allocations: 242 kB / 0.6127 GB, free: 48.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.4334, allocations: 67.14 kB / 0.6127 GB, free: 48.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002568/0.4337, allocations: 73.53 kB / 0.6128 GB, free: 48.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4337, allocations: 3.406 kB / 0.6128 GB, free: 48.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.4337, allocations: 0.625 kB / 0.6128 GB, free: 48.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.4337, allocations: 0 / 0.6128 GB, free: 48.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002807/0.434, allocations: 494.7 kB / 0.6133 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.434, allocations: 4.188 kB / 0.6133 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.865e-05/0.4341, allocations: 10.55 kB / 0.6133 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4341, allocations: 3.312 kB / 0.6133 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.4341, allocations: 0.9688 kB / 0.6133 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.4341, allocations: 3.875 kB / 0.6133 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.4341, allocations: 6.984 kB / 0.6133 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006551/0.4348, allocations: 0.9983 MB / 0.6143 GB, free: 47.78 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.274e-05/0.4348, allocations: 152.2 kB / 0.6144 GB, free: 47.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.988e-05/0.4349, allocations: 10.08 kB / 0.6144 GB, free: 47.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.435, allocations: 6.781 kB / 0.6145 GB, free: 47.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.4351, allocations: 6.078 kB / 0.6145 GB, free: 47.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-05/0.4351, allocations: 10.23 kB / 0.6145 GB, free: 47.63 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005123/0.4356, allocations: 0.6752 MB / 0.6151 GB, free: 47.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4356, allocations: 0 / 0.6151 GB, free: 47.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008642/0.4365, allocations: 396.5 kB / 0.6155 GB, free: 47.38 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.0009908/0.4375, allocations: 493.1 kB / 0.616 GB, free: 47.28 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001633/0.4392, allocations: 2.497 MB / 0.6184 GB, free: 46.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4392, allocations: 2.938 kB / 0.6184 GB, free: 46.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002507/0.4394, allocations: 343.8 kB / 0.6187 GB, free: 46.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.4397, allocations: 33.08 kB / 0.6188 GB, free: 46.26 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.4413, allocations: 1.765 MB / 0.6205 GB, free: 45.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.4416, allocations: 0.9645 MB / 0.6214 GB, free: 45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001492/0.4418, allocations: 33.92 kB / 0.6215 GB, free: 44.99 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.74e-05/0.4419, allocations: 26.59 kB / 0.6215 GB, free: 44.98 MB / 0.4981 GB Notification: Performance of SimCode: time 1.222e-06/0.4419, allocations: 0 / 0.6215 GB, free: 44.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.01424/0.4561, allocations: 9.527 MB / 0.6308 GB, free: 44.41 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)