Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 107 kB / 16.37 MB, free: 5.539 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.001245/0.001245, allocations: 194.2 kB / 17.31 MB, free: 5.18 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.245/1.245, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7502/0.7502, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 63.91 kB / 0.5068 GB, free: 7.609 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3018, allocations: 80.89 MB / 0.5858 GB, free: 25.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001671/0.3035, allocations: 0.5558 MB / 0.5863 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009974/0.3046, allocations: 0.9994 MB / 0.5873 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.792e-05/0.3046, allocations: 0.7812 kB / 0.5873 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.505e-05/0.3046, allocations: 1.719 kB / 0.5873 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006431/0.3053, allocations: 80.83 kB / 0.5874 GB, free: 24.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.582e-05/0.3053, allocations: 22 kB / 0.5874 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.812e-05/0.3054, allocations: 2.812 kB / 0.5874 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.965e-05/0.3054, allocations: 1.344 kB / 0.5874 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.655e-05/0.3054, allocations: 3.812 kB / 0.5874 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.3056, allocations: 28.34 kB / 0.5875 GB, free: 24.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.326e-06/0.3057, allocations: 1.406 kB / 0.5875 GB, free: 24.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.3058, allocations: 81.47 kB / 0.5875 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.167e-06/0.3058, allocations: 11.88 kB / 0.5875 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.624e-05/0.3058, allocations: 1.625 kB / 0.5876 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.306, allocations: 64.39 kB / 0.5876 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.306, allocations: 1.219 kB / 0.5876 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.306, allocations: 0.5625 kB / 0.5876 GB, free: 24.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.306, allocations: 0.8125 kB / 0.5876 GB, free: 24.11 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002263/0.3063, allocations: 331.1 kB / 0.5879 GB, free: 23.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.3063, allocations: 13.95 kB / 0.5879 GB, free: 23.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.517e-05/0.3063, allocations: 6.062 kB / 0.5879 GB, free: 23.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.578e-05/0.3064, allocations: 166.7 kB / 0.5881 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-06/0.3064, allocations: 1.781 kB / 0.5881 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.3064, allocations: 4.531 kB / 0.5881 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.981e-05/0.3065, allocations: 28.58 kB / 0.5881 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.3065, allocations: 0.5625 kB / 0.5881 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-06/0.3065, allocations: 0.7188 kB / 0.5881 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.3065, allocations: 1.281 kB / 0.5881 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.766e-05/0.3066, allocations: 11.78 kB / 0.5882 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002578/0.3068, allocations: 467.6 kB / 0.5886 GB, free: 22.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.705e-05/0.3069, allocations: 169.9 kB / 0.5888 GB, free: 22.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.465e-05/0.3069, allocations: 85.78 kB / 0.5888 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.3069, allocations: 75.78 kB / 0.5889 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.3069, allocations: 112.1 kB / 0.589 GB, free: 22.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.523e-06/0.3069, allocations: 0.8438 kB / 0.589 GB, free: 22.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.891e-05/0.307, allocations: 31.2 kB / 0.5891 GB, free: 22.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.307, allocations: 127.8 kB / 0.5892 GB, free: 22.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.234e-05/0.3071, allocations: 103.8 kB / 0.5893 GB, free: 22.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.138e-06/0.3071, allocations: 25.7 kB / 0.5893 GB, free: 22.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.25e-05/0.3071, allocations: 82.55 kB / 0.5894 GB, free: 22.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.424e-06/0.3071, allocations: 0 / 0.5894 GB, free: 22.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.187e-05/0.3072, allocations: 17.62 kB / 0.5894 GB, free: 22.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.427e-05/0.3072, allocations: 320.2 kB / 0.5897 GB, free: 21.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.624e-06/0.3072, allocations: 0.7812 kB / 0.5897 GB, free: 21.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.551e-06/0.3072, allocations: 1.188 kB / 0.5897 GB, free: 21.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.154e-05/0.3073, allocations: 17.69 kB / 0.5897 GB, free: 21.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3073, allocations: 0 / 0.5897 GB, free: 21.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.402e-05/0.3073, allocations: 33.02 kB / 0.5898 GB, free: 21.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.3074, allocations: 5.25 kB / 0.5898 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.3074, allocations: 0 / 0.5898 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.3074, allocations: 0 / 0.5898 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.421e-05/0.3074, allocations: 2.5 kB / 0.5898 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.3074, allocations: 0 / 0.5898 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.521e-05/0.3074, allocations: 5.188 kB / 0.5898 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.3074, allocations: 0.6875 kB / 0.5898 GB, free: 21.74 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 4.189e-05/0.3075, allocations: 195 kB / 0.5899 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/0.3075, allocations: 112.6 kB / 0.5901 GB, free: 21.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.903e-05/0.3076, allocations: 105.5 kB / 0.5902 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.206e-05/0.3076, allocations: 177.7 kB / 0.5903 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.226e-05/0.3076, allocations: 182.7 kB / 0.5905 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.12e-05/0.3076, allocations: 177.7 kB / 0.5907 GB, free: 20.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.3078, allocations: 411.3 kB / 0.5911 GB, free: 20.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/0.3078, allocations: 103.5 kB / 0.5912 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.246e-05/0.3078, allocations: 110.7 kB / 0.5913 GB, free: 20.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.108e-05/0.3078, allocations: 177.8 kB / 0.5914 GB, free: 19.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.3078, allocations: 177.7 kB / 0.5916 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.9e-05/0.3079, allocations: 185.8 kB / 0.5918 GB, free: 19.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.945e-05/0.3079, allocations: 177.7 kB / 0.592 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.46e-05/0.308, allocations: 318.7 kB / 0.5923 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.321e-05/0.308, allocations: 179.7 kB / 0.5924 GB, free: 18.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.308, allocations: 181.4 kB / 0.5926 GB, free: 18.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.099e-05/0.3081, allocations: 102.8 kB / 0.5927 GB, free: 18.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.3081, allocations: 189.5 kB / 0.5929 GB, free: 18.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.3081, allocations: 106.2 kB / 0.593 GB, free: 18.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.337e-05/0.3081, allocations: 84.06 kB / 0.5931 GB, free: 18.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3081, allocations: 0.5625 kB / 0.5931 GB, free: 18.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002519/0.3084, allocations: 25.55 kB / 0.5931 GB, free: 18.18 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0002662/0.3087, allocations: 242.6 kB / 0.5933 GB, free: 17.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.175e-05/0.3087, allocations: 2.312 kB / 0.5933 GB, free: 17.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3087, allocations: 0 / 0.5933 GB, free: 17.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.944e-06/0.3088, allocations: 5.281 kB / 0.5933 GB, free: 17.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.309, allocations: 466 kB / 0.5938 GB, free: 17.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002646/0.3093, allocations: 192.1 kB / 0.594 GB, free: 17.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.532e-05/0.3094, allocations: 0.6705 MB / 0.5946 GB, free: 16.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.111e-05/0.3094, allocations: 2.469 kB / 0.5946 GB, free: 16.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.418e-05/0.3094, allocations: 8.75 kB / 0.5946 GB, free: 16.64 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3094, allocations: 0 / 0.5946 GB, free: 16.64 MB / 446.1 MB Notification: Performance of Templates: time 0.002347/0.3118, allocations: 0.6605 MB / 0.5953 GB, free: 16.37 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)