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.001154/0.001154, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001329/0.001329, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.279/1.279, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7583/0.7583, allocations: 135.1 MB / 426.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 71.88 kB / 0.5068 GB, free: 7.656 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3431, allocations: 80.9 MB / 0.5858 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001674/0.3448, allocations: 0.552 MB / 0.5863 GB, free: 25.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008998/0.3457, allocations: 0.9922 MB / 0.5873 GB, free: 24.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.914e-05/0.3458, allocations: 1.938 kB / 0.5873 GB, free: 24.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.032e-05/0.3458, allocations: 0 / 0.5873 GB, free: 24.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005798/0.3464, allocations: 89.83 kB / 0.5874 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.886e-05/0.3464, allocations: 16.73 kB / 0.5874 GB, free: 24.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.804e-05/0.3465, allocations: 4 kB / 0.5874 GB, free: 24.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.399e-05/0.3465, allocations: 2.812 kB / 0.5874 GB, free: 24.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.361e-05/0.3465, allocations: 1.562 kB / 0.5874 GB, free: 24.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.3467, allocations: 36.59 kB / 0.5875 GB, free: 24.22 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.696e-06/0.3467, allocations: 1.938 kB / 0.5875 GB, free: 24.22 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.3469, allocations: 80.25 kB / 0.5875 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.576e-06/0.3469, allocations: 6.469 kB / 0.5875 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.758e-05/0.3469, allocations: 0 / 0.5875 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.347, allocations: 64.08 kB / 0.5876 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.347, allocations: 2.312 kB / 0.5876 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.347, allocations: 5.766 kB / 0.5876 GB, free: 24.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.3471, allocations: 3.938 kB / 0.5876 GB, free: 24.14 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.0001933/0.3473, allocations: 333.7 kB / 0.5879 GB, free: 23.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.3473, allocations: 10.27 kB / 0.5879 GB, free: 23.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.573e-05/0.3473, allocations: 7.062 kB / 0.588 GB, free: 23.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.722e-05/0.3474, allocations: 161.5 kB / 0.5881 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.3474, allocations: 2.219 kB / 0.5881 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.582e-06/0.3474, allocations: 3.938 kB / 0.5881 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.404e-05/0.3475, allocations: 32.55 kB / 0.5881 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.3475, allocations: 3.156 kB / 0.5881 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.3475, allocations: 9.469 kB / 0.5882 GB, free: 23.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-06/0.3475, allocations: 0 / 0.5882 GB, free: 23.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.392e-05/0.3475, allocations: 1.312 kB / 0.5882 GB, free: 23.53 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002304/0.3478, allocations: 466.7 kB / 0.5886 GB, free: 23.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.409e-05/0.3478, allocations: 168 kB / 0.5888 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.23e-05/0.3478, allocations: 80.7 kB / 0.5888 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.3479, allocations: 77.88 kB / 0.5889 GB, free: 22.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.425e-05/0.3479, allocations: 106.5 kB / 0.589 GB, free: 22.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3479, allocations: 0 / 0.589 GB, free: 22.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.434e-05/0.3479, allocations: 40.61 kB / 0.5891 GB, free: 22.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.348, allocations: 131.7 kB / 0.5892 GB, free: 22.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.785e-05/0.348, allocations: 95.27 kB / 0.5893 GB, free: 22.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.948e-06/0.348, allocations: 26.86 kB / 0.5893 GB, free: 22.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.534e-05/0.3481, allocations: 85.48 kB / 0.5894 GB, free: 22.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.834e-06/0.3481, allocations: 1.438 kB / 0.5894 GB, free: 22.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.092e-05/0.3481, allocations: 11.22 kB / 0.5894 GB, free: 22.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.281e-05/0.3481, allocations: 320.6 kB / 0.5897 GB, free: 21.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.824e-06/0.3481, allocations: 3.156 kB / 0.5897 GB, free: 21.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.731e-06/0.3481, allocations: 0.7812 kB / 0.5897 GB, free: 21.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.859e-05/0.3482, allocations: 6.891 kB / 0.5897 GB, free: 21.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3482, allocations: 0.75 kB / 0.5897 GB, free: 21.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.993e-05/0.3483, allocations: 44.36 kB / 0.5897 GB, free: 21.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.3483, allocations: 6.406 kB / 0.5898 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.3483, allocations: 0 / 0.5898 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.3483, allocations: 0 / 0.5898 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.189e-05/0.3483, allocations: 2.062 kB / 0.5898 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.3483, allocations: 3.984 kB / 0.5898 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.365e-05/0.3483, allocations: 5.938 kB / 0.5898 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.3484, allocations: 3.938 kB / 0.5898 GB, free: 21.77 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 3.559e-05/0.3484, allocations: 187.9 kB / 0.5899 GB, free: 21.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.313e-05/0.3484, allocations: 103.7 kB / 0.59 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.691e-05/0.3485, allocations: 109.5 kB / 0.5902 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/0.3485, allocations: 181.3 kB / 0.5903 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.917e-05/0.3485, allocations: 188.4 kB / 0.5905 GB, free: 20.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/0.3485, allocations: 177.6 kB / 0.5907 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.3486, allocations: 403.6 kB / 0.5911 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.3486, allocations: 108.9 kB / 0.5912 GB, free: 20.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.158e-05/0.3487, allocations: 103.9 kB / 0.5913 GB, free: 20.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.912e-05/0.3487, allocations: 181.4 kB / 0.5914 GB, free: 19.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.3487, allocations: 178 kB / 0.5916 GB, free: 19.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-05/0.3487, allocations: 186.7 kB / 0.5918 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.745e-05/0.3488, allocations: 180.9 kB / 0.592 GB, free: 19.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.093e-05/0.3488, allocations: 314.5 kB / 0.5923 GB, free: 19.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.3488, allocations: 180 kB / 0.5924 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.3489, allocations: 185.3 kB / 0.5926 GB, free: 18.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.956e-05/0.3489, allocations: 102.1 kB / 0.5927 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.349, allocations: 187 kB / 0.5929 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.349, allocations: 106.2 kB / 0.593 GB, free: 18.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.509e-05/0.349, allocations: 79.25 kB / 0.5931 GB, free: 18.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.349, allocations: 1.281 kB / 0.5931 GB, free: 18.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.3493, allocations: 29.5 kB / 0.5931 GB, free: 18.21 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.000259/0.3495, allocations: 244.6 kB / 0.5933 GB, free: 18.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.248e-05/0.3496, allocations: 2.688 kB / 0.5933 GB, free: 18.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3496, allocations: 0 / 0.5933 GB, free: 18.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.3496, allocations: 2.562 kB / 0.5933 GB, free: 18.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.3499, allocations: 457.9 kB / 0.5938 GB, free: 17.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002613/0.3501, allocations: 197.7 kB / 0.5939 GB, free: 17.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.025e-05/0.3502, allocations: 0.6717 MB / 0.5946 GB, free: 16.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.245e-05/0.3502, allocations: 3.062 kB / 0.5946 GB, free: 16.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.483e-05/0.3503, allocations: 12.86 kB / 0.5946 GB, free: 16.67 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3503, allocations: 5.5 kB / 0.5946 GB, free: 16.66 MB / 446.1 MB Notification: Performance of Templates: time 0.002377/0.3526, allocations: 0.6477 MB / 0.5953 GB, free: 16.41 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)