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.004708/0.004708, allocations: 100.8 kB / 15.73 MB, free: 6.027 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.0011/0.0011, allocations: 183.5 kB / 16.67 MB, free: 5.965 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9001/0.9001, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 55.91 kB / 0.5857 GB, free: 3.305 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3977, allocations: 80.93 MB / 0.6647 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00247/0.4002, allocations: 1.729 MB / 0.6664 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005012/0.4052, allocations: 4.214 MB / 0.6705 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.177e-05/0.4053, allocations: 1.125 kB / 0.6705 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009986/0.4063, allocations: 369.4 kB / 0.6709 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.829e-05/0.4064, allocations: 62.11 kB / 0.6709 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002071/0.4085, allocations: 0.9867 MB / 0.6719 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.4087, allocations: 145.5 kB / 0.672 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.796e-05/0.4088, allocations: 16.78 kB / 0.672 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.376e-05/0.4088, allocations: 55.12 kB / 0.6721 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.409, allocations: 166.4 kB / 0.6723 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.774e-05/0.4091, allocations: 18.59 kB / 0.6723 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/0.4107, allocations: 1.373 MB / 0.6736 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002006/0.4109, allocations: 275.8 kB / 0.6739 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002077/0.4112, allocations: 298.1 kB / 0.6742 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.4127, allocations: 1.554 MB / 0.6757 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4127, allocations: 0 / 0.6757 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4127, allocations: 0 / 0.6757 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.4128, allocations: 0 / 0.6757 GB, free: 15.76 MB / 0.5137 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.008354/0.4211, allocations: 1.278 MB / 0.6769 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.4212, allocations: 10.34 kB / 0.6769 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004074/0.4216, allocations: 90.59 kB / 0.677 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005322/0.4221, allocations: 402.8 kB / 0.6774 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.4222, allocations: 10.61 kB / 0.6774 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.4222, allocations: 13.22 kB / 0.6774 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004213/0.4226, allocations: 390.4 kB / 0.6778 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.4227, allocations: 0 / 0.6778 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.4227, allocations: 1 kB / 0.6778 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.4227, allocations: 1.188 kB / 0.6778 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004816/0.4232, allocations: 434.1 kB / 0.6782 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006262/0.4238, allocations: 0.6657 MB / 0.6789 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005568/0.4244, allocations: 0.5665 MB / 0.6794 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/0.4248, allocations: 336.5 kB / 0.6797 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009793/0.4258, allocations: 1.028 MB / 0.6807 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000395/0.4262, allocations: 402.1 kB / 0.6811 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.4262, allocations: 1.156 kB / 0.6811 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001412/0.4276, allocations: 1.302 MB / 0.6824 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.4277, allocations: 83.17 kB / 0.6825 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/0.429, allocations: 1.278 MB / 0.6837 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.209e-05/0.4291, allocations: 33.23 kB / 0.6838 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.4293, allocations: 283.7 kB / 0.684 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.4293, allocations: 22.56 kB / 0.6841 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003253/0.4297, allocations: 351.7 kB / 0.6844 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.331e-05/0.4298, allocations: 316.8 kB / 0.6847 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.4311, allocations: 1.363 MB / 0.686 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.4324, allocations: 1.488 MB / 0.6875 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007165/0.4396, allocations: 3.548 MB / 0.6909 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.4396, allocations: 3.938 kB / 0.6909 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004274/0.4439, allocations: 3.961 MB / 0.6948 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.444, allocations: 8 kB / 0.6948 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.444, allocations: 3.938 kB / 0.6948 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.444, allocations: 0 / 0.6948 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.4441, allocations: 24.02 kB / 0.6948 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.4442, allocations: 4 kB / 0.6948 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006214/0.4448, allocations: 232.2 kB / 0.6951 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-05/0.4448, allocations: 27.97 kB / 0.6951 GB, free: 1.848 MB / 0.5137 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.0003448/0.4452, allocations: 245.6 kB / 0.6953 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.958e-05/0.4453, allocations: 74.62 kB / 0.6954 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.4456, allocations: 83.72 kB / 0.6955 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.4456, allocations: 4 kB / 0.6955 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4456, allocations: 0 / 0.6955 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.4456, allocations: 0 / 0.6955 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004846/0.4461, allocations: 0.5177 MB / 0.696 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4461, allocations: 0 / 0.696 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.928e-05/0.4462, allocations: 7.938 kB / 0.696 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.4462, allocations: 3.984 kB / 0.696 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.4462, allocations: 4 kB / 0.696 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4462, allocations: 4.031 kB / 0.696 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4462, allocations: 0 / 0.696 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009087/0.4471, allocations: 1.009 MB / 0.697 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.4472, allocations: 151.8 kB / 0.6971 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.369e-05/0.4473, allocations: 8 kB / 0.6971 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.4475, allocations: 15.92 kB / 0.6972 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.4475, allocations: 4 kB / 0.6972 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-05/0.4476, allocations: 15.95 kB / 0.6972 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007578/0.4483, allocations: 0.7179 MB / 0.6979 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4483, allocations: 0 / 0.6979 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001178/0.4495, allocations: 403.8 kB / 0.6983 GB, free: 14.48 MB / 0.5294 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.001094/0.4506, allocations: 484.2 kB / 0.6987 GB, free: 14 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002261/0.4529, allocations: 2.488 MB / 0.7012 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.4529, allocations: 4.062 kB / 0.7012 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003317/0.4533, allocations: 343.7 kB / 0.7015 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.4537, allocations: 59.67 kB / 0.7015 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.4558, allocations: 1.882 MB / 0.7034 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005325/0.4564, allocations: 0.9879 MB / 0.7044 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001545/0.4565, allocations: 37.42 kB / 0.7044 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.771e-05/0.4567, allocations: 23.42 kB / 0.7044 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.4567, allocations: 4 kB / 0.7044 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of Templates: time 0.01799/0.4747, allocations: 10.17 MB / 0.7143 GB, free: 14.01 MB / 0.545 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)