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.001316/0.001317, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001401/0.001402, allocations: 193.9 kB / 16.14 MB, free: 6.691 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.311/1.311, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9115/0.9115, allocations: 135.1 MB / 425.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 64.34 kB / 0.5047 GB, free: 5.695 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1368, allocations: 80.93 MB / 0.5837 GB, free: 4.941 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002696/0.1395, allocations: 1.787 MB / 0.5855 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005727/0.1453, allocations: 4.394 MB / 0.5898 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.594e-05/0.1454, allocations: 3.938 kB / 0.5898 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.1464, allocations: 346.7 kB / 0.5901 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.1465, allocations: 55.73 kB / 0.5902 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.1483, allocations: 0.7636 MB / 0.5909 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.1486, allocations: 191.3 kB / 0.5911 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.255e-05/0.1486, allocations: 21.47 kB / 0.5911 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.173e-05/0.1487, allocations: 51.78 kB / 0.5912 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.1489, allocations: 180.8 kB / 0.5913 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.333e-05/0.149, allocations: 16 kB / 0.5914 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001808/0.1508, allocations: 1.392 MB / 0.5927 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002077/0.151, allocations: 271.8 kB / 0.593 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002785/0.1513, allocations: 310.1 kB / 0.5933 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001704/0.153, allocations: 1.531 MB / 0.5948 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.153, allocations: 4 kB / 0.5948 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.32e-07/0.153, allocations: 0 / 0.5948 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.153, allocations: 0 / 0.5948 GB, free: 9.605 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.007802/0.1608, allocations: 1.277 MB / 0.596 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.1609, allocations: 12.03 kB / 0.596 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003768/0.1613, allocations: 95.58 kB / 0.5961 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/0.1617, allocations: 406 kB / 0.5965 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.1618, allocations: 8.359 kB / 0.5965 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.278e-05/0.1618, allocations: 12.11 kB / 0.5965 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004176/0.1622, allocations: 383.2 kB / 0.5969 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1622, allocations: 0 / 0.5969 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.1623, allocations: 4 kB / 0.5969 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.1623, allocations: 3.938 kB / 0.5969 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004395/0.1627, allocations: 439.7 kB / 0.5973 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000588/0.1633, allocations: 0.6613 MB / 0.598 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005123/0.1638, allocations: 0.5555 MB / 0.5985 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/0.1642, allocations: 345.6 kB / 0.5988 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001017/0.1652, allocations: 1.028 MB / 0.5998 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004091/0.1656, allocations: 412.9 kB / 0.6002 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.1656, allocations: 0 / 0.6002 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001267/0.1669, allocations: 1.293 MB / 0.6015 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.167, allocations: 81.11 kB / 0.6016 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.1682, allocations: 1.281 MB / 0.6028 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/0.1682, allocations: 33.83 kB / 0.6029 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.1684, allocations: 281.4 kB / 0.6031 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.1685, allocations: 23.73 kB / 0.6031 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003022/0.1688, allocations: 351.5 kB / 0.6035 GB, free: 204 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.2307/0.3994, allocations: 318 kB / 0.6038 GB, free: 52.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.4006, allocations: 1.36 MB / 0.6051 GB, free: 52.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009566/0.4015, allocations: 1.495 MB / 0.6066 GB, free: 51.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00629/0.4078, allocations: 3.532 MB / 0.61 GB, free: 49.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4078, allocations: 3.562 kB / 0.61 GB, free: 49.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003191/0.411, allocations: 3.97 MB / 0.6139 GB, free: 48.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.4111, allocations: 7.719 kB / 0.6139 GB, free: 48.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.4111, allocations: 3.281 kB / 0.6139 GB, free: 48.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.4111, allocations: 2.875 kB / 0.6139 GB, free: 48.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.4112, allocations: 20.16 kB / 0.6139 GB, free: 48.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.4113, allocations: 1.312 kB / 0.6139 GB, free: 48.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000407/0.4117, allocations: 229.8 kB / 0.6142 GB, free: 47.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.72e-05/0.4117, allocations: 25.56 kB / 0.6142 GB, free: 47.9 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.0002574/0.412, allocations: 249.2 kB / 0.6144 GB, free: 47.78 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.657e-05/0.412, allocations: 71.09 kB / 0.6145 GB, free: 47.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002803/0.4123, allocations: 84.5 kB / 0.6146 GB, free: 47.67 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.4124, allocations: 2.812 kB / 0.6146 GB, free: 47.67 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4124, allocations: 7.281 kB / 0.6146 GB, free: 47.67 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.4124, allocations: 3.328 kB / 0.6146 GB, free: 47.67 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003282/0.4127, allocations: 0.5094 MB / 0.6151 GB, free: 47.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.4127, allocations: 2.75 kB / 0.6151 GB, free: 47.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.035e-05/0.4128, allocations: 9.734 kB / 0.6151 GB, free: 47.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4128, allocations: 2.688 kB / 0.6151 GB, free: 47.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.4128, allocations: 3.281 kB / 0.6151 GB, free: 47.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.4128, allocations: 2.375 kB / 0.6151 GB, free: 47.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4128, allocations: 4.875 kB / 0.6151 GB, free: 47.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007137/0.4135, allocations: 1.005 MB / 0.6161 GB, free: 47.24 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.119e-05/0.4136, allocations: 170.3 kB / 0.6162 GB, free: 47.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.64e-05/0.4137, allocations: 3.906 kB / 0.6163 GB, free: 47.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.4139, allocations: 2.875 kB / 0.6163 GB, free: 47.08 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.4139, allocations: 14.69 kB / 0.6163 GB, free: 47.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-05/0.414, allocations: 12.23 kB / 0.6163 GB, free: 47.08 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005843/0.4145, allocations: 0.7187 MB / 0.617 GB, free: 46.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4146, allocations: 1.312 kB / 0.617 GB, free: 46.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009248/0.4155, allocations: 400.8 kB / 0.6174 GB, free: 46.82 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.001108/0.4166, allocations: 490.5 kB / 0.6178 GB, free: 46.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001624/0.4182, allocations: 2.49 MB / 0.6203 GB, free: 45.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4182, allocations: 0 / 0.6203 GB, free: 45.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002645/0.4185, allocations: 350.6 kB / 0.6206 GB, free: 45.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.4189, allocations: 52.59 kB / 0.6206 GB, free: 45.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.4207, allocations: 2.057 MB / 0.6227 GB, free: 44.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.4211, allocations: 0.9809 MB / 0.6236 GB, free: 44.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001811/0.4213, allocations: 36.39 kB / 0.6236 GB, free: 44.19 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.4214, allocations: 27.22 kB / 0.6237 GB, free: 44.18 MB / 0.4981 GB Notification: Performance of SimCode: time 9.02e-07/0.4214, allocations: 2.625 kB / 0.6237 GB, free: 44.18 MB / 0.4981 GB Notification: Performance of Templates: time 0.01521/0.4366, allocations: 9.87 MB / 0.6333 GB, free: 43.58 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)