Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001075/0.001075, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001121/0.001121, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7681/0.7681, allocations: 132.2 MB / 423.3 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 59.91 kB / 0.5032 GB, free: 10.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3358, allocations: 80.19 MB / 0.5815 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001762/0.3376, allocations: 0.56 MB / 0.5821 GB, free: 27.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009147/0.3385, allocations: 0.9912 MB / 0.583 GB, free: 26.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.807e-05/0.3386, allocations: 0 / 0.583 GB, free: 26.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.074e-05/0.3386, allocations: 0 / 0.583 GB, free: 26.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006295/0.3392, allocations: 85.97 kB / 0.5831 GB, free: 26.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.017e-05/0.3393, allocations: 16.03 kB / 0.5831 GB, free: 26.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.041e-05/0.3393, allocations: 10.25 kB / 0.5831 GB, free: 26.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.3394, allocations: 6.094 kB / 0.5832 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.649e-05/0.3394, allocations: 1.344 kB / 0.5832 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.3396, allocations: 29.06 kB / 0.5832 GB, free: 26.24 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.3396, allocations: 1.188 kB / 0.5832 GB, free: 26.24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.3397, allocations: 85.28 kB / 0.5833 GB, free: 26.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.237e-06/0.3398, allocations: 1.156 kB / 0.5833 GB, free: 26.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.3398, allocations: 5.5 kB / 0.5833 GB, free: 26.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.3399, allocations: 64.14 kB / 0.5833 GB, free: 26.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3399, allocations: 0 / 0.5833 GB, free: 26.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3399, allocations: 1.062 kB / 0.5833 GB, free: 26.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.34, allocations: 1.188 kB / 0.5833 GB, free: 26.16 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.000236/0.3402, allocations: 334.8 kB / 0.5837 GB, free: 25.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.3402, allocations: 9.594 kB / 0.5837 GB, free: 25.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/0.3403, allocations: 2.875 kB / 0.5837 GB, free: 25.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.514e-05/0.3404, allocations: 167.3 kB / 0.5838 GB, free: 25.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.507e-06/0.3404, allocations: 384 / 0.5838 GB, free: 25.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.3404, allocations: 3.938 kB / 0.5838 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.634e-05/0.3405, allocations: 33.58 kB / 0.5839 GB, free: 25.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.3405, allocations: 0 / 0.5839 GB, free: 25.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.3405, allocations: 0 / 0.5839 GB, free: 25.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.3405, allocations: 4.438 kB / 0.5839 GB, free: 25.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.591e-05/0.3405, allocations: 3 kB / 0.5839 GB, free: 25.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003/0.3408, allocations: 472.6 kB / 0.5843 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.265e-05/0.3409, allocations: 170.5 kB / 0.5845 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.452e-05/0.3409, allocations: 82.86 kB / 0.5846 GB, free: 24.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.3409, allocations: 75.28 kB / 0.5846 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.3409, allocations: 109.4 kB / 0.5847 GB, free: 24.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.3409, allocations: 0 / 0.5847 GB, free: 24.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.972e-05/0.341, allocations: 30.7 kB / 0.5848 GB, free: 24.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.341, allocations: 126.7 kB / 0.5849 GB, free: 24.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.959e-05/0.3411, allocations: 106 kB / 0.585 GB, free: 24.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.869e-06/0.3411, allocations: 29.64 kB / 0.585 GB, free: 24.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.694e-05/0.3412, allocations: 81.36 kB / 0.5851 GB, free: 24.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.3412, allocations: 0 / 0.5851 GB, free: 24.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/0.3412, allocations: 17.94 kB / 0.5851 GB, free: 24.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.017e-05/0.3412, allocations: 316.2 kB / 0.5854 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.494e-06/0.3412, allocations: 0 / 0.5854 GB, free: 23.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-06/0.3413, allocations: 2.219 kB / 0.5854 GB, free: 23.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.114e-05/0.3413, allocations: 12.41 kB / 0.5854 GB, free: 23.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3413, allocations: 0 / 0.5854 GB, free: 23.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.562e-05/0.3414, allocations: 37.61 kB / 0.5855 GB, free: 23.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.3414, allocations: 4.281 kB / 0.5855 GB, free: 23.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.3414, allocations: 5.344 kB / 0.5855 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.3414, allocations: 0 / 0.5855 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-05/0.3414, allocations: 3.938 kB / 0.5855 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.3415, allocations: 2.812 kB / 0.5855 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.375e-05/0.3415, allocations: 4 kB / 0.5855 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.3415, allocations: 1.438 kB / 0.5855 GB, free: 23.8 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.811e-05/0.3415, allocations: 188 kB / 0.5857 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.3416, allocations: 105.9 kB / 0.5858 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.034e-05/0.3416, allocations: 105.8 kB / 0.5859 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.256e-05/0.3416, allocations: 187.4 kB / 0.586 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.509e-05/0.3417, allocations: 182.4 kB / 0.5862 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.518e-05/0.3417, allocations: 189.7 kB / 0.5864 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.3418, allocations: 398.6 kB / 0.5868 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/0.3418, allocations: 108 kB / 0.5869 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.382e-05/0.3419, allocations: 108.9 kB / 0.587 GB, free: 22.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.311e-05/0.3419, allocations: 182.3 kB / 0.5872 GB, free: 21.97 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.3419, allocations: 182.3 kB / 0.5873 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-05/0.3419, allocations: 181.3 kB / 0.5875 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.219e-05/0.342, allocations: 180.2 kB / 0.5877 GB, free: 21.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.3e-05/0.342, allocations: 312.3 kB / 0.588 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.3421, allocations: 183.1 kB / 0.5882 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.3421, allocations: 177.5 kB / 0.5883 GB, free: 20.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.44e-05/0.3422, allocations: 107.7 kB / 0.5884 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.3422, allocations: 185.4 kB / 0.5886 GB, free: 20.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.3422, allocations: 106.5 kB / 0.5887 GB, free: 20.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.426e-05/0.3423, allocations: 79.75 kB / 0.5888 GB, free: 20.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3423, allocations: 0 / 0.5888 GB, free: 20.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000243/0.3425, allocations: 28.8 kB / 0.5888 GB, free: 20.23 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.0002784/0.3428, allocations: 229.8 kB / 0.589 GB, free: 20.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.475e-05/0.3429, allocations: 7.156 kB / 0.589 GB, free: 20.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3429, allocations: 0 / 0.589 GB, free: 20.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.415e-06/0.3429, allocations: 1.688 kB / 0.589 GB, free: 20.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.3431, allocations: 458.6 kB / 0.5895 GB, free: 19.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002964/0.3434, allocations: 199 kB / 0.5897 GB, free: 19.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.3436, allocations: 0.6737 MB / 0.5903 GB, free: 18.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.211e-05/0.3436, allocations: 2.25 kB / 0.5903 GB, free: 18.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.499e-05/0.3436, allocations: 8.875 kB / 0.5903 GB, free: 18.69 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3436, allocations: 0 / 0.5903 GB, free: 18.69 MB / 446.1 MB Notification: Performance of Templates: time 0.002741/0.3464, allocations: 0.652 MB / 0.591 GB, free: 18.43 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)