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.001578/0.001578, allocations: 103.2 kB / 16.27 MB, free: 6.051 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.001598/0.001598, allocations: 187.9 kB / 17.19 MB, free: 5.688 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.385/1.385, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.903/0.903, allocations: 135.2 MB / 426.2 MB, free: 4.16 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 63.91 kB / 0.5061 GB, free: 8.328 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3757, allocations: 80.93 MB / 0.5851 GB, free: 25.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001857/0.3776, allocations: 0.5419 MB / 0.5856 GB, free: 24.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.3787, allocations: 0.9917 MB / 0.5866 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.372e-05/0.3788, allocations: 0 / 0.5866 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.393e-05/0.3788, allocations: 3.938 kB / 0.5866 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006398/0.3795, allocations: 93.95 kB / 0.5867 GB, free: 24.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.547e-05/0.3795, allocations: 12.38 kB / 0.5867 GB, free: 24.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.923e-05/0.3796, allocations: 10.47 kB / 0.5867 GB, free: 24.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.821e-05/0.3796, allocations: 1.125 kB / 0.5867 GB, free: 24.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.415e-05/0.3796, allocations: 6.797 kB / 0.5867 GB, free: 24.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/0.3799, allocations: 27.38 kB / 0.5867 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.3799, allocations: 0 / 0.5867 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.3801, allocations: 77.73 kB / 0.5868 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.227e-06/0.3801, allocations: 4.484 kB / 0.5868 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.3801, allocations: 5.938 kB / 0.5868 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.3803, allocations: 67.97 kB / 0.5869 GB, free: 24.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3803, allocations: 0.75 kB / 0.5869 GB, free: 24.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3803, allocations: 1.344 kB / 0.5869 GB, free: 24.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.3803, allocations: 1.031 kB / 0.5869 GB, free: 24.01 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.0002787/0.3806, allocations: 329.8 kB / 0.5872 GB, free: 23.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.3807, allocations: 11.17 kB / 0.5872 GB, free: 23.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.3807, allocations: 11.31 kB / 0.5872 GB, free: 23.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.3808, allocations: 165.7 kB / 0.5874 GB, free: 23.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.3808, allocations: 1.812 kB / 0.5874 GB, free: 23.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.3809, allocations: 5.281 kB / 0.5874 GB, free: 23.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.775e-05/0.3809, allocations: 31.2 kB / 0.5874 GB, free: 23.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.381, allocations: 1.656 kB / 0.5874 GB, free: 23.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.381, allocations: 0 / 0.5874 GB, free: 23.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.381, allocations: 1.625 kB / 0.5874 GB, free: 23.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.834e-05/0.381, allocations: 5.516 kB / 0.5874 GB, free: 23.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.3813, allocations: 464.4 kB / 0.5879 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.759e-05/0.3814, allocations: 179.5 kB / 0.5881 GB, free: 22.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.591e-05/0.3814, allocations: 85.2 kB / 0.5881 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.3814, allocations: 75.28 kB / 0.5882 GB, free: 22.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.3814, allocations: 109 kB / 0.5883 GB, free: 22.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.3814, allocations: 0 / 0.5883 GB, free: 22.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.636e-05/0.3815, allocations: 30.98 kB / 0.5883 GB, free: 22.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.3815, allocations: 127.9 kB / 0.5885 GB, free: 22.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.518e-05/0.3816, allocations: 103.7 kB / 0.5886 GB, free: 22.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.151e-06/0.3816, allocations: 26.27 kB / 0.5886 GB, free: 22.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.234e-05/0.3817, allocations: 82.36 kB / 0.5887 GB, free: 22.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.095e-06/0.3817, allocations: 1.281 kB / 0.5887 GB, free: 22.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/0.3817, allocations: 12.34 kB / 0.5887 GB, free: 22.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.073e-05/0.3818, allocations: 323.5 kB / 0.589 GB, free: 21.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.728e-06/0.3818, allocations: 5.438 kB / 0.589 GB, free: 21.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.771e-06/0.3818, allocations: 2.344 kB / 0.589 GB, free: 21.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.06e-05/0.3818, allocations: 8.266 kB / 0.589 GB, free: 21.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3818, allocations: 0 / 0.589 GB, free: 21.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.4e-05/0.3819, allocations: 31.14 kB / 0.589 GB, free: 21.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.3819, allocations: 6.219 kB / 0.589 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3819, allocations: 1.281 kB / 0.589 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.382, allocations: 0 / 0.589 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.504e-05/0.382, allocations: 0.5 kB / 0.589 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.382, allocations: 2.281 kB / 0.589 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.543e-05/0.382, allocations: 7.891 kB / 0.589 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.382, allocations: 2.594 kB / 0.589 GB, free: 21.64 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 5.491e-05/0.3821, allocations: 195.2 kB / 0.5892 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.3821, allocations: 111.1 kB / 0.5893 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.582e-05/0.3821, allocations: 106.6 kB / 0.5894 GB, free: 21.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.924e-05/0.3822, allocations: 180.2 kB / 0.5896 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.794e-05/0.3822, allocations: 183.6 kB / 0.5898 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.226e-05/0.3822, allocations: 181.6 kB / 0.59 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.3824, allocations: 405.4 kB / 0.5903 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/0.3824, allocations: 105 kB / 0.5904 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.74e-05/0.3824, allocations: 110.4 kB / 0.5906 GB, free: 20 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.241e-05/0.3825, allocations: 179.3 kB / 0.5907 GB, free: 19.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.3825, allocations: 181.4 kB / 0.5909 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.327e-05/0.3825, allocations: 184.7 kB / 0.5911 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.259e-05/0.3825, allocations: 185.1 kB / 0.5913 GB, free: 19.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.842e-05/0.3826, allocations: 307.8 kB / 0.5915 GB, free: 18.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.076e-05/0.3827, allocations: 187.8 kB / 0.5917 GB, free: 18.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.3827, allocations: 181.3 kB / 0.5919 GB, free: 18.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.332e-05/0.3828, allocations: 102.5 kB / 0.592 GB, free: 18.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.3828, allocations: 186.3 kB / 0.5922 GB, free: 18.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.3828, allocations: 102.7 kB / 0.5923 GB, free: 18.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.44e-05/0.3828, allocations: 83.66 kB / 0.5923 GB, free: 18.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3829, allocations: 1.25 kB / 0.5923 GB, free: 18.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.3831, allocations: 25.67 kB / 0.5924 GB, free: 18.07 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.0003496/0.3835, allocations: 226 kB / 0.5926 GB, free: 17.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.915e-05/0.3836, allocations: 6.312 kB / 0.5926 GB, free: 17.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3836, allocations: 0 / 0.5926 GB, free: 17.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.3836, allocations: 0 / 0.5926 GB, free: 17.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.3839, allocations: 461.2 kB / 0.593 GB, free: 17.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.3842, allocations: 224.6 kB / 0.5933 GB, free: 17.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.3843, allocations: 0.6703 MB / 0.5939 GB, free: 16.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.237e-05/0.3844, allocations: 9.812 kB / 0.5939 GB, free: 16.51 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3844, allocations: 1.344 kB / 0.5939 GB, free: 16.51 MB / 446.1 MB Notification: Performance of Templates: time 0.002405/0.3868, allocations: 0.8548 MB / 0.5948 GB, free: 16.13 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)