Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001349/0.001349, allocations: 105.1 kB / 15.98 MB, free: 6.352 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.001409/0.001409, allocations: 195.3 kB / 16.91 MB, free: 6.188 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.277/1.277, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00208/0.00208, allocations: 288.3 kB / 291 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8986/0.8986, allocations: 169.2 MB / 0.4985 GB, free: 4.648 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 89.95 kB / 0.5954 GB, free: 15.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.17, allocations: 86.98 MB / 0.6803 GB, free: 8.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001876/0.1719, allocations: 0.6207 MB / 0.6809 GB, free: 7.887 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.1732, allocations: 1.004 MB / 0.6819 GB, free: 6.867 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.677e-05/0.1732, allocations: 0 / 0.6819 GB, free: 6.867 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.369e-05/0.1733, allocations: 0 / 0.6819 GB, free: 6.867 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007076/0.174, allocations: 91.84 kB / 0.682 GB, free: 6.777 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.194e-05/0.174, allocations: 15.98 kB / 0.682 GB, free: 6.762 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.827e-05/0.1741, allocations: 0 / 0.682 GB, free: 6.762 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.578e-05/0.1741, allocations: 8 kB / 0.682 GB, free: 6.754 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.592e-05/0.1741, allocations: 0 / 0.682 GB, free: 6.754 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002281/0.1744, allocations: 33.42 kB / 0.682 GB, free: 6.723 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.1744, allocations: 3.938 kB / 0.682 GB, free: 6.719 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.1746, allocations: 87.84 kB / 0.6821 GB, free: 6.633 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.166e-06/0.1746, allocations: 0 / 0.6821 GB, free: 6.633 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.776e-05/0.1746, allocations: 0 / 0.6821 GB, free: 6.633 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.1747, allocations: 59.86 kB / 0.6822 GB, free: 6.574 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1748, allocations: 0 / 0.6822 GB, free: 6.574 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1748, allocations: 4 kB / 0.6822 GB, free: 6.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.1748, allocations: 0 / 0.6822 GB, free: 6.57 MB / 494.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.0003031/0.1751, allocations: 335.6 kB / 0.6825 GB, free: 6.195 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.1751, allocations: 8.031 kB / 0.6825 GB, free: 6.188 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.1752, allocations: 0.9375 kB / 0.6825 GB, free: 6.188 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.1753, allocations: 168.4 kB / 0.6827 GB, free: 5.984 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1753, allocations: 384 / 0.6827 GB, free: 5.984 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-06/0.1753, allocations: 4.312 kB / 0.6827 GB, free: 5.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.673e-05/0.1754, allocations: 33.83 kB / 0.6827 GB, free: 5.941 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1754, allocations: 11.94 kB / 0.6827 GB, free: 5.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.1754, allocations: 0 / 0.6827 GB, free: 5.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1754, allocations: 0 / 0.6827 GB, free: 5.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.794e-05/0.1755, allocations: 0 / 0.6827 GB, free: 5.93 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003783/0.1758, allocations: 468.6 kB / 0.6832 GB, free: 5.402 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.45e-05/0.1759, allocations: 177.1 kB / 0.6833 GB, free: 5.219 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.792e-05/0.176, allocations: 80.14 kB / 0.6834 GB, free: 5.137 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.176, allocations: 79.22 kB / 0.6835 GB, free: 5.059 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.176, allocations: 105.8 kB / 0.6836 GB, free: 4.945 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.176, allocations: 0 / 0.6836 GB, free: 4.945 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.587e-05/0.1761, allocations: 29.7 kB / 0.6836 GB, free: 4.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.1762, allocations: 134.7 kB / 0.6838 GB, free: 4.766 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.925e-05/0.1763, allocations: 101.8 kB / 0.6839 GB, free: 4.656 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.1763, allocations: 25.7 kB / 0.6839 GB, free: 4.625 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.389e-05/0.1763, allocations: 84.14 kB / 0.684 GB, free: 4.539 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-06/0.1763, allocations: 0 / 0.684 GB, free: 4.539 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.1764, allocations: 17.66 kB / 0.684 GB, free: 4.516 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.337e-05/0.1765, allocations: 314.8 kB / 0.6843 GB, free: 4.199 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.146e-05/0.1765, allocations: 4 kB / 0.6843 GB, free: 4.195 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.416e-06/0.1765, allocations: 7.938 kB / 0.6843 GB, free: 4.188 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.542e-05/0.1765, allocations: 8.859 kB / 0.6843 GB, free: 4.176 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1765, allocations: 0 / 0.6843 GB, free: 4.176 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.432e-05/0.1766, allocations: 33.69 kB / 0.6843 GB, free: 4.137 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1766, allocations: 4 kB / 0.6843 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1767, allocations: 0 / 0.6843 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1767, allocations: 4 kB / 0.6843 GB, free: 4.129 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.762e-05/0.1767, allocations: 4 kB / 0.6843 GB, free: 4.125 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1767, allocations: 0 / 0.6843 GB, free: 4.125 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.369e-05/0.1767, allocations: 4.094 kB / 0.6843 GB, free: 4.121 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.1767, allocations: 0 / 0.6843 GB, free: 4.121 MB / 494.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 0.0001068/0.1768, allocations: 189.1 kB / 0.6845 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.808e-05/0.1769, allocations: 108.9 kB / 0.6846 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.014e-05/0.177, allocations: 104.2 kB / 0.6847 GB, free: 3.703 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.546e-05/0.177, allocations: 184.2 kB / 0.6849 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.804e-05/0.1771, allocations: 192.2 kB / 0.6851 GB, free: 3.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.694e-05/0.1771, allocations: 176.3 kB / 0.6853 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.1773, allocations: 405.1 kB / 0.6856 GB, free: 2.688 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-05/0.1774, allocations: 105 kB / 0.6857 GB, free: 2.578 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.939e-05/0.1774, allocations: 104.9 kB / 0.6858 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.669e-05/0.1775, allocations: 188.2 kB / 0.686 GB, free: 2.277 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.752e-05/0.1775, allocations: 180.3 kB / 0.6862 GB, free: 2.094 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.934e-05/0.1776, allocations: 184.2 kB / 0.6864 GB, free: 1.906 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.252e-05/0.1777, allocations: 176.3 kB / 0.6865 GB, free: 1.727 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.1778, allocations: 311.7 kB / 0.6868 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.605e-05/0.1779, allocations: 186 kB / 0.687 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.268e-05/0.1779, allocations: 176.3 kB / 0.6872 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.215e-05/0.178, allocations: 109 kB / 0.6873 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.1781, allocations: 180.2 kB / 0.6875 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.1781, allocations: 109 kB / 0.6876 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.692e-05/0.1781, allocations: 79.28 kB / 0.6876 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1781, allocations: 4 kB / 0.6876 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.1784, allocations: 23.94 kB / 0.6877 GB, free: 0.4961 MB / 494.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.0003524/0.1788, allocations: 226.9 kB / 0.6879 GB, free: 276 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.015e-05/0.1788, allocations: 11.94 kB / 0.6879 GB, free: 264 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1788, allocations: 4.062 kB / 0.6879 GB, free: 260 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.964e-06/0.1788, allocations: 0 / 0.6879 GB, free: 260 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2546/0.4334, allocations: 459.6 kB / 0.6883 GB, free: 18.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003855/0.4339, allocations: 213.1 kB / 0.6885 GB, free: 18.58 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.001e-05/0.434, allocations: 0.6758 MB / 0.6892 GB, free: 17.88 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.434, allocations: 9.156 kB / 0.6892 GB, free: 17.88 MB / 494.1 MB Notification: Performance of SimCode: time 6.41e-07/0.434, allocations: 0 / 0.6892 GB, free: 17.88 MB / 494.1 MB Notification: Performance of Templates: time 0.002691/0.4367, allocations: 0.8689 MB / 0.6901 GB, free: 17.85 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)