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.001428/0.001428, allocations: 100.9 kB / 16.4 MB, free: 6.461 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.001338/0.001338, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8354/0.8354, allocations: 135.2 MB / 426.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 68.89 kB / 0.5864 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.175, allocations: 80.94 MB / 0.6654 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00309/0.1781, allocations: 1.725 MB / 0.6671 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00658/0.1847, allocations: 4.238 MB / 0.6713 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.1848, allocations: 3.938 kB / 0.6713 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.1861, allocations: 358.5 kB / 0.6716 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.1863, allocations: 67.66 kB / 0.6717 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002668/0.1889, allocations: 0.9849 MB / 0.6726 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002639/0.1892, allocations: 151.4 kB / 0.6728 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.113e-05/0.1892, allocations: 13.55 kB / 0.6728 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.388e-05/0.1893, allocations: 55.7 kB / 0.6728 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.1896, allocations: 159.5 kB / 0.673 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.971e-05/0.1896, allocations: 16 kB / 0.673 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002303/0.1919, allocations: 1.381 MB / 0.6744 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00026/0.1922, allocations: 275.8 kB / 0.6746 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002855/0.1925, allocations: 310.1 kB / 0.6749 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002317/0.1948, allocations: 1.553 MB / 0.6764 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1948, allocations: 4 kB / 0.6764 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1948, allocations: 0 / 0.6764 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.1948, allocations: 0 / 0.6764 GB, free: 10.38 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.01056/0.2054, allocations: 1.313 MB / 0.6777 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.967e-05/0.2054, allocations: 9.109 kB / 0.6777 GB, free: 9 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004095/0.2058, allocations: 100.2 kB / 0.6778 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006242/0.2065, allocations: 410.1 kB / 0.6782 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.2065, allocations: 8.375 kB / 0.6782 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/0.2065, allocations: 7.938 kB / 0.6782 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004953/0.207, allocations: 395.2 kB / 0.6786 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.207, allocations: 0 / 0.6786 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.207, allocations: 0 / 0.6786 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.207, allocations: 4 kB / 0.6786 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004878/0.2075, allocations: 435.7 kB / 0.679 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007573/0.2083, allocations: 0.6619 MB / 0.6797 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005971/0.2089, allocations: 0.5633 MB / 0.6802 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/0.2092, allocations: 333.7 kB / 0.6805 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/0.2104, allocations: 1.025 MB / 0.6815 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004737/0.2109, allocations: 404.8 kB / 0.6819 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.843e-06/0.2109, allocations: 4 kB / 0.6819 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001579/0.2125, allocations: 1.309 MB / 0.6832 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.2126, allocations: 81.11 kB / 0.6833 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.2141, allocations: 1.289 MB / 0.6845 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/0.2141, allocations: 29.69 kB / 0.6846 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/0.2144, allocations: 285.9 kB / 0.6848 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.2144, allocations: 19.86 kB / 0.6849 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004013/0.2148, allocations: 351.5 kB / 0.6852 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.215, allocations: 322 kB / 0.6855 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.2165, allocations: 1.365 MB / 0.6868 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/0.2181, allocations: 1.493 MB / 0.6883 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007444/0.2255, allocations: 3.538 MB / 0.6917 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.2255, allocations: 7.938 kB / 0.6918 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004858/0.2304, allocations: 3.985 MB / 0.6956 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.2304, allocations: 4 kB / 0.6957 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.2304, allocations: 0 / 0.6957 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.2304, allocations: 4 kB / 0.6957 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.2306, allocations: 15.98 kB / 0.6957 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.2306, allocations: 0 / 0.6957 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006072/0.2312, allocations: 237.4 kB / 0.6959 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.778e-05/0.2313, allocations: 27.98 kB / 0.6959 GB, free: 5.785 MB / 0.5294 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.0003684/0.2316, allocations: 249.5 kB / 0.6962 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.084e-05/0.2317, allocations: 75.3 kB / 0.6962 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003181/0.232, allocations: 83.72 kB / 0.6963 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.232, allocations: 0 / 0.6963 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.232, allocations: 4.031 kB / 0.6963 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.232, allocations: 0 / 0.6963 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005669/0.2326, allocations: 0.5216 MB / 0.6968 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2326, allocations: 3.938 kB / 0.6968 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.7e-05/0.2327, allocations: 4 kB / 0.6968 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.2327, allocations: 4 kB / 0.6968 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.2327, allocations: 3.984 kB / 0.6968 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.2327, allocations: 0 / 0.6968 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.2327, allocations: 4 kB / 0.6968 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.2338, allocations: 1.022 MB / 0.6978 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.234, allocations: 168.3 kB / 0.698 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.332e-05/0.2341, allocations: 0 / 0.698 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.2342, allocations: 4 kB / 0.698 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.2342, allocations: 11.92 kB / 0.698 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.531e-05/0.2343, allocations: 19.98 kB / 0.698 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009071/0.2352, allocations: 0.7179 MB / 0.6987 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2352, allocations: 0 / 0.6987 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001252/0.2364, allocations: 407 kB / 0.6991 GB, free: 2.391 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.001323/0.2378, allocations: 478.1 kB / 0.6996 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002293/0.2401, allocations: 1.951 MB / 0.7015 GB, free: 15.95 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2401, allocations: 3.938 kB / 0.7015 GB, free: 15.95 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003884/0.2405, allocations: 331.8 kB / 0.7018 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004688/0.2409, allocations: 63.36 kB / 0.7019 GB, free: 15.56 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.2436, allocations: 1.929 MB / 0.7038 GB, free: 13.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007096/0.2443, allocations: 0.9878 MB / 0.7047 GB, free: 12.58 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.2444, allocations: 27.42 kB / 0.7047 GB, free: 12.55 MB / 0.545 GB Notification: Performance of SimCode: time 9.22e-07/0.2444, allocations: 0 / 0.7047 GB, free: 12.55 MB / 0.545 GB Notification: Performance of Templates: time 0.02116/0.2656, allocations: 11.26 MB / 0.7157 GB, free: 1.301 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)