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.001441/0.001441, allocations: 106.6 kB / 16.41 MB, free: 6.492 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.001327/0.001327, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.434/1.434, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8455/0.8455, allocations: 135.2 MB / 426.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 73.83 kB / 0.5864 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1799, allocations: 80.93 MB / 0.6654 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001772/0.1817, allocations: 0.5499 MB / 0.6659 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.183, allocations: 0.9995 MB / 0.6669 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.165e-05/0.183, allocations: 4 kB / 0.6669 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.657e-05/0.1831, allocations: 0 / 0.6669 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006673/0.1837, allocations: 83.78 kB / 0.667 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.559e-05/0.1838, allocations: 15.94 kB / 0.667 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.904e-05/0.1838, allocations: 4 kB / 0.667 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.189e-05/0.1839, allocations: 7.984 kB / 0.667 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.03e-05/0.1839, allocations: 4 kB / 0.667 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.1841, allocations: 35.97 kB / 0.6671 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.1841, allocations: 0 / 0.6671 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.1843, allocations: 71.92 kB / 0.6671 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.448e-06/0.1843, allocations: 3.938 kB / 0.6671 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.095e-05/0.1843, allocations: 4 kB / 0.6671 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.1845, allocations: 67.84 kB / 0.6672 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1845, allocations: 0 / 0.6672 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.214e-06/0.1845, allocations: 0 / 0.6672 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.1845, allocations: 0 / 0.6672 GB, free: 3.871 MB / 0.4981 GB 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.0004086/0.1849, allocations: 335.3 kB / 0.6675 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.185, allocations: 13.11 kB / 0.6675 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.185, allocations: 4.938 kB / 0.6675 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.1851, allocations: 172.2 kB / 0.6677 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.1852, allocations: 4.125 kB / 0.6677 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.1852, allocations: 3.984 kB / 0.6677 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.734e-05/0.1853, allocations: 33.7 kB / 0.6678 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1853, allocations: 0 / 0.6678 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.1853, allocations: 0 / 0.6678 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.1853, allocations: 0 / 0.6678 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.783e-05/0.1853, allocations: 4 kB / 0.6678 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004727/0.1858, allocations: 464.6 kB / 0.6682 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.1859, allocations: 169.1 kB / 0.6684 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.99e-05/0.1859, allocations: 80.14 kB / 0.6684 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.186, allocations: 79.28 kB / 0.6685 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.564e-05/0.186, allocations: 113.8 kB / 0.6686 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.186, allocations: 0 / 0.6686 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.291e-05/0.1861, allocations: 33.64 kB / 0.6687 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.1862, allocations: 126.7 kB / 0.6688 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.1863, allocations: 97.86 kB / 0.6689 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.1863, allocations: 29.64 kB / 0.6689 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/0.1863, allocations: 92.12 kB / 0.669 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.925e-06/0.1864, allocations: 0 / 0.669 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.1864, allocations: 13.72 kB / 0.669 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1865, allocations: 314.8 kB / 0.6693 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.407e-06/0.1865, allocations: 0 / 0.6693 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-06/0.1865, allocations: 0 / 0.6693 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.704e-05/0.1866, allocations: 8.859 kB / 0.6693 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1866, allocations: 0 / 0.6693 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001128/0.1867, allocations: 45.69 kB / 0.6693 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1867, allocations: 8 kB / 0.6694 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1867, allocations: 0 / 0.6694 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1867, allocations: 0 / 0.6694 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-05/0.1867, allocations: 0 / 0.6694 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1867, allocations: 3.938 kB / 0.6694 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.344e-05/0.1867, allocations: 0 / 0.6694 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-06/0.1868, allocations: 3.938 kB / 0.6694 GB, free: 1.418 MB / 0.4981 GB 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 0.0001033/0.1869, allocations: 189.2 kB / 0.6695 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.211e-05/0.1869, allocations: 104.9 kB / 0.6696 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.053e-05/0.187, allocations: 112 kB / 0.6698 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-05/0.1871, allocations: 184.5 kB / 0.6699 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.14e-05/0.1871, allocations: 184.2 kB / 0.6701 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.688e-05/0.1872, allocations: 180.2 kB / 0.6703 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.1875, allocations: 409.2 kB / 0.6707 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.143e-05/0.1876, allocations: 108.9 kB / 0.6708 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.413e-05/0.1876, allocations: 101 kB / 0.6709 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.946e-05/0.1877, allocations: 180.2 kB / 0.671 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.133e-05/0.1878, allocations: 188.5 kB / 0.6712 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.333e-05/0.1878, allocations: 180.3 kB / 0.6714 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.339e-05/0.1879, allocations: 184.2 kB / 0.6716 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.1881, allocations: 307.7 kB / 0.6719 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.284e-05/0.1882, allocations: 182.1 kB / 0.672 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.873e-05/0.1883, allocations: 180.3 kB / 0.6722 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.339e-05/0.1884, allocations: 108.9 kB / 0.6723 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.405e-05/0.1885, allocations: 180.3 kB / 0.6725 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.1885, allocations: 104.9 kB / 0.6726 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.205e-05/0.1886, allocations: 87.2 kB / 0.6727 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.1886, allocations: 0 / 0.6727 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002656/0.1888, allocations: 19.94 kB / 0.6727 GB, free: 13.79 MB / 0.5137 GB 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.0004359/0.1893, allocations: 238.8 kB / 0.6729 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.803e-05/0.1893, allocations: 4 kB / 0.6729 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1893, allocations: 0 / 0.6729 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.1893, allocations: 0 / 0.6729 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.1897, allocations: 455.8 kB / 0.6733 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004193/0.1902, allocations: 235.8 kB / 0.6736 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.1905, allocations: 0.6729 MB / 0.6742 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.1905, allocations: 15.38 kB / 0.6742 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.1905, allocations: 0 / 0.6742 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of Templates: time 0.002489/0.193, allocations: 0.8594 MB / 0.6751 GB, free: 11.27 MB / 0.5137 GB 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)