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.0008691/0.0008691, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0009281/0.0009282, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7448/0.7448, allocations: 132.3 MB / 423.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002784/0.0002785, allocations: 8 kB / 0.5034 GB, free: 4.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3267, allocations: 81.58 MB / 0.5831 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0005671/0.3273, allocations: 291.7 kB / 0.5834 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009085/0.3282, allocations: 0.9684 MB / 0.5843 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.697e-05/0.3282, allocations: 0.8125 kB / 0.5843 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.248e-06/0.3283, allocations: 3.938 kB / 0.5843 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005572/0.3288, allocations: 79.39 kB / 0.5844 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.56e-05/0.3289, allocations: 4 kB / 0.5844 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.344e-05/0.3289, allocations: 10.62 kB / 0.5844 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.852e-05/0.3289, allocations: 2.031 kB / 0.5844 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.646e-05/0.329, allocations: 2.984 kB / 0.5844 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.3292, allocations: 39.02 kB / 0.5845 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.3292, allocations: 5.125 kB / 0.5845 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.3293, allocations: 61.36 kB / 0.5845 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.093e-06/0.3293, allocations: 1.5 kB / 0.5845 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.219e-05/0.3293, allocations: 25.7 kB / 0.5846 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.3295, allocations: 45.94 kB / 0.5846 GB, free: 2.945 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3295, allocations: 0 / 0.5846 GB, free: 2.945 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3295, allocations: 0 / 0.5846 GB, free: 2.945 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.3295, allocations: 0 / 0.5846 GB, free: 2.945 MB / 430.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.0001983/0.3297, allocations: 336.6 kB / 0.5849 GB, free: 2.582 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.3297, allocations: 8.312 kB / 0.5849 GB, free: 2.582 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.486e-05/0.3297, allocations: 4.781 kB / 0.5849 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.085e-05/0.3298, allocations: 166.7 kB / 0.5851 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.3298, allocations: 1.469 kB / 0.5851 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-06/0.3299, allocations: 0 / 0.5851 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.478e-05/0.3299, allocations: 36.45 kB / 0.5851 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.3299, allocations: 0.5625 kB / 0.5851 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-06/0.3299, allocations: 3.938 kB / 0.5851 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.33, allocations: 0.75 kB / 0.5851 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.543e-05/0.33, allocations: 5.859 kB / 0.5851 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00025/0.3302, allocations: 469 kB / 0.5856 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.473e-05/0.3303, allocations: 173.8 kB / 0.5858 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.231e-05/0.3303, allocations: 80.73 kB / 0.5858 GB, free: 1.555 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-06/0.3303, allocations: 79.91 kB / 0.5859 GB, free: 1.477 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.3303, allocations: 107.4 kB / 0.586 GB, free: 1.363 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.3303, allocations: 0 / 0.586 GB, free: 1.363 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 5.466e-05/0.3304, allocations: 28.02 kB / 0.586 GB, free: 1.332 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.3304, allocations: 131.3 kB / 0.5862 GB, free: 1.191 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.179e-05/0.3305, allocations: 101.5 kB / 0.5863 GB, free: 1.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.067e-06/0.3305, allocations: 25.7 kB / 0.5863 GB, free: 1.059 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.568e-05/0.3305, allocations: 85.38 kB / 0.5864 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.3305, allocations: 1.125 kB / 0.5864 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-06/0.3305, allocations: 0 / 0.5864 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.271e-05/0.3306, allocations: 320.6 kB / 0.5867 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.923e-06/0.3306, allocations: 1 kB / 0.5867 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-06/0.3306, allocations: 1.375 kB / 0.5867 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.463e-05/0.3306, allocations: 2.5 kB / 0.5867 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3306, allocations: 0 / 0.5867 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.656e-05/0.3307, allocations: 36.84 kB / 0.5867 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.3307, allocations: 5.094 kB / 0.5867 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.3307, allocations: 0.6875 kB / 0.5867 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.3307, allocations: 0.7188 kB / 0.5867 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.315e-05/0.3308, allocations: 4.891 kB / 0.5867 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.3308, allocations: 5.25 kB / 0.5867 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.298e-05/0.3308, allocations: 3.953 kB / 0.5867 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.3308, allocations: 0.6875 kB / 0.5867 GB, free: 0.6055 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.144e-05/0.3308, allocations: 191.2 kB / 0.5869 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.559e-05/0.3309, allocations: 115.2 kB / 0.587 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.904e-05/0.3309, allocations: 107.3 kB / 0.5871 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.3309, allocations: 182 kB / 0.5873 GB, free: 0 / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.115e-05/0.331, allocations: 177 kB / 0.5875 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.797e-05/0.3311, allocations: 182.2 kB / 0.5876 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.3313, allocations: 414 kB / 0.588 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-05/0.3313, allocations: 106.9 kB / 0.5881 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.989e-05/0.3314, allocations: 105.6 kB / 0.5882 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.607e-05/0.3314, allocations: 178.5 kB / 0.5884 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-05/0.3315, allocations: 177.9 kB / 0.5886 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.804e-05/0.3316, allocations: 182.6 kB / 0.5888 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.738e-05/0.3316, allocations: 189.8 kB / 0.5889 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.3317, allocations: 305.7 kB / 0.5892 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.072e-05/0.3318, allocations: 189.4 kB / 0.5894 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.619e-05/0.3319, allocations: 178.3 kB / 0.5896 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.781e-05/0.332, allocations: 106.9 kB / 0.5897 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.205e-05/0.332, allocations: 181.8 kB / 0.5899 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/0.3321, allocations: 102.5 kB / 0.59 GB, free: 13.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.497e-05/0.3321, allocations: 84.48 kB / 0.59 GB, free: 13.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3321, allocations: 0 / 0.59 GB, free: 13.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.3324, allocations: 19.91 kB / 0.5901 GB, free: 13.04 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002912/0.3327, allocations: 223.1 kB / 0.5903 GB, free: 12.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 4.987e-05/0.3327, allocations: 6.922 kB / 0.5903 GB, free: 12.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.3328, allocations: 3.938 kB / 0.5903 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/0.3328, allocations: 0.875 kB / 0.5903 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.3331, allocations: 0.5326 MB / 0.5908 GB, free: 12.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000294/0.3334, allocations: 189 kB / 0.591 GB, free: 12.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.3336, allocations: 0.6738 MB / 0.5916 GB, free: 11.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.228e-05/0.3337, allocations: 9.281 kB / 0.5916 GB, free: 11.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.705e-05/0.3337, allocations: 13.23 kB / 0.5917 GB, free: 11.43 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3337, allocations: 1.25 kB / 0.5917 GB, free: 11.43 MB / 446.1 MB Notification: Performance of Templates: time 0.002565/0.3363, allocations: 0.6353 MB / 0.5923 GB, free: 11.35 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)