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.00148/0.00148, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001541/0.001541, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.315/1.315, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9044/0.9044, allocations: 135.6 MB / 425.6 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 64.84 kB / 0.5054 GB, free: 5.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.155, allocations: 81.02 MB / 0.5845 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003212/0.1583, allocations: 1.787 MB / 0.5863 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006526/0.1648, allocations: 4.2 MB / 0.5904 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.963e-05/0.165, allocations: 0 / 0.5904 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.1662, allocations: 362.6 kB / 0.5907 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.1663, allocations: 47.75 kB / 0.5908 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002283/0.1686, allocations: 0.8895 MB / 0.5916 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.1688, allocations: 143.4 kB / 0.5918 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.734e-05/0.1689, allocations: 17.48 kB / 0.5918 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.584e-05/0.169, allocations: 55.78 kB / 0.5919 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.1692, allocations: 172.8 kB / 0.592 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.52e-05/0.1693, allocations: 19.94 kB / 0.592 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001902/0.1712, allocations: 1.408 MB / 0.5934 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002316/0.1714, allocations: 275.8 kB / 0.5937 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002576/0.1717, allocations: 306.1 kB / 0.594 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001793/0.1735, allocations: 1.543 MB / 0.5955 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.1735, allocations: 0 / 0.5955 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.011e-06/0.1735, allocations: 0 / 0.5955 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.1735, allocations: 11.92 kB / 0.5955 GB, free: 8.98 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.008743/0.1823, allocations: 1.273 MB / 0.5967 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1823, allocations: 12.03 kB / 0.5967 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003649/0.1827, allocations: 91.59 kB / 0.5968 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004775/0.1832, allocations: 413.9 kB / 0.5972 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.1832, allocations: 384 / 0.5972 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.1833, allocations: 12.12 kB / 0.5972 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004549/0.1837, allocations: 387.1 kB / 0.5976 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.1837, allocations: 0 / 0.5976 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.1838, allocations: 11.98 kB / 0.5976 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1838, allocations: 0 / 0.5976 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004747/0.1842, allocations: 431.8 kB / 0.598 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006604/0.1849, allocations: 0.6574 MB / 0.5987 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005651/0.1855, allocations: 0.5671 MB / 0.5992 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003326/0.1858, allocations: 341.7 kB / 0.5995 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001077/0.1869, allocations: 1.032 MB / 0.6006 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004327/0.1874, allocations: 404.8 kB / 0.6009 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.1874, allocations: 0 / 0.6009 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001394/0.1888, allocations: 1.293 MB / 0.6022 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.1888, allocations: 85.09 kB / 0.6023 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.1901, allocations: 1.277 MB / 0.6035 GB, free: 280 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.247e-05/0.1902, allocations: 29.7 kB / 0.6036 GB, free: 244 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.2212/0.4114, allocations: 283 kB / 0.6038 GB, free: 52.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.613e-05/0.4115, allocations: 22.17 kB / 0.6039 GB, free: 52.05 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003434/0.4119, allocations: 350.5 kB / 0.6042 GB, free: 52.04 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.752e-05/0.4119, allocations: 319 kB / 0.6045 GB, free: 51.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.413, allocations: 1.361 MB / 0.6058 GB, free: 51.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.4141, allocations: 1.495 MB / 0.6073 GB, free: 51.31 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006022/0.4201, allocations: 3.543 MB / 0.6107 GB, free: 49.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.4201, allocations: 3.844 kB / 0.6107 GB, free: 49.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003328/0.4235, allocations: 3.967 MB / 0.6146 GB, free: 47.53 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.4235, allocations: 6.781 kB / 0.6146 GB, free: 47.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.4235, allocations: 0 / 0.6146 GB, free: 47.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.4235, allocations: 6 kB / 0.6146 GB, free: 47.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.4237, allocations: 17.39 kB / 0.6146 GB, free: 47.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.4237, allocations: 0 / 0.6146 GB, free: 47.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004255/0.4241, allocations: 230.4 kB / 0.6149 GB, free: 47.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.754e-05/0.4242, allocations: 25.73 kB / 0.6149 GB, free: 47.37 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.00024/0.4244, allocations: 252.9 kB / 0.6151 GB, free: 47.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.4245, allocations: 69.84 kB / 0.6152 GB, free: 47.19 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.4247, allocations: 81.94 kB / 0.6153 GB, free: 47.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4248, allocations: 0.5625 kB / 0.6153 GB, free: 47.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.4248, allocations: 7.719 kB / 0.6153 GB, free: 47.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4248, allocations: 0 / 0.6153 GB, free: 47.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000309/0.4251, allocations: 0.5112 MB / 0.6158 GB, free: 46.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.4251, allocations: 4.875 kB / 0.6158 GB, free: 46.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.346e-05/0.4252, allocations: 9.734 kB / 0.6158 GB, free: 46.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4252, allocations: 0 / 0.6158 GB, free: 46.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.4252, allocations: 4.172 kB / 0.6158 GB, free: 46.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4252, allocations: 2.062 kB / 0.6158 GB, free: 46.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4252, allocations: 7.219 kB / 0.6158 GB, free: 46.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006473/0.4259, allocations: 1.009 MB / 0.6168 GB, free: 46.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.811e-05/0.4259, allocations: 163.7 kB / 0.6169 GB, free: 46.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.372e-05/0.426, allocations: 2.969 kB / 0.617 GB, free: 46.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.4262, allocations: 6.125 kB / 0.617 GB, free: 46.55 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.4262, allocations: 16 kB / 0.617 GB, free: 46.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/0.4262, allocations: 13.58 kB / 0.617 GB, free: 46.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005345/0.4268, allocations: 0.7156 MB / 0.6177 GB, free: 46.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4268, allocations: 0 / 0.6177 GB, free: 46.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008465/0.4276, allocations: 396.4 kB / 0.6181 GB, free: 46.29 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.001039/0.4287, allocations: 0.4897 MB / 0.6185 GB, free: 46.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001568/0.4303, allocations: 2.499 MB / 0.621 GB, free: 45.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4303, allocations: 0 / 0.621 GB, free: 45.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.4305, allocations: 338.2 kB / 0.6213 GB, free: 45.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.4309, allocations: 59.31 kB / 0.6214 GB, free: 45.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.4326, allocations: 2.051 MB / 0.6234 GB, free: 44.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.4329, allocations: 0.9837 MB / 0.6243 GB, free: 43.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001626/0.4331, allocations: 36.39 kB / 0.6244 GB, free: 43.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.107e-05/0.4332, allocations: 30.66 kB / 0.6244 GB, free: 43.64 MB / 0.4981 GB Notification: Performance of SimCode: time 9.52e-07/0.4332, allocations: 0 / 0.6244 GB, free: 43.64 MB / 0.4981 GB Notification: Performance of Templates: time 0.01519/0.4484, allocations: 10.13 MB / 0.6343 GB, free: 43.05 MB / 0.4981 GB 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)