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.001044/0.001044, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007951/0.007952, allocations: 169.4 kB / 16.26 MB, free: 6.66 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.371/1.371, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7623/0.7623, allocations: 132.4 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003072/0.0003072, allocations: 8.625 kB / 0.5041 GB, free: 3.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3974, allocations: 81.57 MB / 0.5837 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0006674/0.3981, allocations: 290.2 kB / 0.584 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.3992, allocations: 1.003 MB / 0.585 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.2e-05/0.3992, allocations: 0 / 0.585 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.075e-05/0.3992, allocations: 1.125 kB / 0.585 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005871/0.3998, allocations: 75.69 kB / 0.585 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.026e-05/0.3999, allocations: 8.359 kB / 0.585 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.425e-05/0.3999, allocations: 13.16 kB / 0.5851 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.4, allocations: 1.938 kB / 0.5851 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.789e-05/0.4, allocations: 7.047 kB / 0.5851 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.4002, allocations: 28.91 kB / 0.5851 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.4002, allocations: 3.984 kB / 0.5851 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.4004, allocations: 85.72 kB / 0.5852 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.528e-06/0.4004, allocations: 2.312 kB / 0.5852 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.078e-05/0.4004, allocations: 34.81 kB / 0.5852 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.4006, allocations: 65.14 kB / 0.5853 GB, free: 2.988 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.4006, allocations: 1.031 kB / 0.5853 GB, free: 2.988 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4006, allocations: 0 / 0.5853 GB, free: 2.988 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.4006, allocations: 0 / 0.5853 GB, free: 2.988 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.0002172/0.4008, allocations: 327.2 kB / 0.5856 GB, free: 2.633 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.4009, allocations: 9.25 kB / 0.5856 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.349e-05/0.4009, allocations: 6.094 kB / 0.5856 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.742e-05/0.401, allocations: 167.9 kB / 0.5858 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.401, allocations: 1.094 kB / 0.5858 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.401, allocations: 5.094 kB / 0.5858 GB, free: 2.426 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.255e-05/0.4011, allocations: 32.28 kB / 0.5858 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.4011, allocations: 1.406 kB / 0.5858 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.4011, allocations: 4 kB / 0.5858 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.4011, allocations: 0 / 0.5858 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.588e-05/0.4012, allocations: 1.766 kB / 0.5858 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002686/0.4014, allocations: 467.9 kB / 0.5863 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.762e-05/0.4015, allocations: 171.1 kB / 0.5864 GB, free: 1.695 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.398e-05/0.4015, allocations: 85.39 kB / 0.5865 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.4015, allocations: 75.28 kB / 0.5866 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.4015, allocations: 111.8 kB / 0.5867 GB, free: 1.418 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.4016, allocations: 0 / 0.5867 GB, free: 1.418 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 7.165e-05/0.4016, allocations: 27.92 kB / 0.5867 GB, free: 1.387 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.4017, allocations: 130.7 kB / 0.5868 GB, free: 1.246 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.13e-05/0.4017, allocations: 101.2 kB / 0.5869 GB, free: 1.145 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.949e-06/0.4018, allocations: 26.83 kB / 0.5869 GB, free: 1.113 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.758e-05/0.4018, allocations: 84.89 kB / 0.587 GB, free: 1.027 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.4018, allocations: 1.281 kB / 0.587 GB, free: 1.027 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.792e-05/0.4018, allocations: 13.72 kB / 0.587 GB, free: 1.008 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.732e-05/0.4018, allocations: 317 kB / 0.5873 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.206e-06/0.4019, allocations: 8.578 kB / 0.5874 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.689e-06/0.4019, allocations: 1.25 kB / 0.5874 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.099e-05/0.4019, allocations: 8.391 kB / 0.5874 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4019, allocations: 0 / 0.5874 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.421e-05/0.402, allocations: 33.16 kB / 0.5874 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.402, allocations: 10.44 kB / 0.5874 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.402, allocations: 0 / 0.5874 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.402, allocations: 0 / 0.5874 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.479e-05/0.4021, allocations: 9.656 kB / 0.5874 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.4021, allocations: 0 / 0.5874 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.416e-05/0.4021, allocations: 4 kB / 0.5874 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.4021, allocations: 1.578 kB / 0.5874 GB, free: 0.6289 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.684e-05/0.4021, allocations: 195.9 kB / 0.5876 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.941e-05/0.4022, allocations: 110.6 kB / 0.5877 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.428e-05/0.4022, allocations: 106.4 kB / 0.5878 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.207e-05/0.4022, allocations: 182.1 kB / 0.588 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.833e-05/0.4023, allocations: 181.1 kB / 0.5882 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.326e-05/0.4024, allocations: 186.1 kB / 0.5883 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.4026, allocations: 402.1 kB / 0.5887 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.291e-05/0.4027, allocations: 106.6 kB / 0.5888 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.127e-05/0.4027, allocations: 106.4 kB / 0.5889 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.434e-05/0.4028, allocations: 182 kB / 0.5891 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.665e-05/0.4028, allocations: 182.4 kB / 0.5893 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.293e-05/0.4029, allocations: 186.7 kB / 0.5895 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.244e-05/0.403, allocations: 180.8 kB / 0.5896 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.4031, allocations: 309.5 kB / 0.5899 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.506e-05/0.4032, allocations: 186.4 kB / 0.5901 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.234e-05/0.4033, allocations: 177.9 kB / 0.5903 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.733e-05/0.4033, allocations: 103 kB / 0.5904 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.4034, allocations: 190 kB / 0.5905 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/0.4035, allocations: 103 kB / 0.5906 GB, free: 13.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.978e-05/0.4035, allocations: 79.7 kB / 0.5907 GB, free: 13.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4035, allocations: 0 / 0.5907 GB, free: 13.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.4038, allocations: 24.59 kB / 0.5907 GB, free: 13.06 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.0003531/0.4041, allocations: 233.8 kB / 0.591 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.833e-05/0.4042, allocations: 5.438 kB / 0.591 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4042, allocations: 1.312 kB / 0.591 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.324e-06/0.4042, allocations: 0.7031 kB / 0.591 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.4046, allocations: 0.5252 MB / 0.5915 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.4049, allocations: 199.8 kB / 0.5917 GB, free: 12.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.4052, allocations: 0.6735 MB / 0.5923 GB, free: 11.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.442e-05/0.4052, allocations: 2.328 kB / 0.5923 GB, free: 11.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.878e-05/0.4052, allocations: 9.625 kB / 0.5923 GB, free: 11.45 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4052, allocations: 0 / 0.5923 GB, free: 11.45 MB / 446.1 MB Notification: Performance of Templates: time 0.002724/0.408, allocations: 0.6411 MB / 0.593 GB, free: 11.38 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)