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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008823/0.0008823, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001518/0.002401, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001367/0.002377, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9221/0.9221, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07963/1.002, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001267/0.001267, allocations: 222.5 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00112/0.002387, allocations: 482.2 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.661/0.661, allocations: 138.7 MB / 384.3 MB, free: 360 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06239/0.7234, allocations: 42.41 MB / 426.7 MB, free: 5.824 MB / 410.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,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=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 428.1 MB, free: 4.441 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.589e-05/1.709e-05, allocations: 6.312 kB / 428.1 MB, free: 4.434 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001109/0.001126, allocations: 0.6416 MB / 428.7 MB, free: 3.789 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008356/0.001962, allocations: 1.042 MB / 429.8 MB, free: 2.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.626e-05/0.001978, allocations: 0 / 429.8 MB, free: 2.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.306e-06/0.001982, allocations: 0 / 429.8 MB, free: 2.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003216/0.002303, allocations: 87.64 kB / 429.9 MB, free: 2.645 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.733e-05/0.00233, allocations: 15.91 kB / 429.9 MB, free: 2.629 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.154e-05/0.002372, allocations: 4 kB / 429.9 MB, free: 2.625 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.314e-05/0.002405, allocations: 3.938 kB / 429.9 MB, free: 2.621 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.354e-05/0.002449, allocations: 8 kB / 429.9 MB, free: 2.613 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.002591, allocations: 39.97 kB / 429.9 MB, free: 2.574 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.007e-06/0.0026, allocations: 0 / 429.9 MB, free: 2.574 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.002742, allocations: 79.84 kB / 430 MB, free: 2.496 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.002755, allocations: 8 kB / 430 MB, free: 2.488 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.374e-05/0.002769, allocations: 3.938 kB / 430 MB, free: 2.484 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.00289, allocations: 71.81 kB / 430.1 MB, free: 2.414 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.238e-06/0.002899, allocations: 0 / 430.1 MB, free: 2.414 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.0029, allocations: 0 / 430.1 MB, free: 2.414 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.002908, allocations: 0 / 430.1 MB, free: 2.414 MB / 410.7 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.0002279/0.003136, allocations: 248.5 kB / 430.3 MB, free: 2.148 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.726e-05/0.003163, allocations: 8.031 kB / 430.4 MB, free: 2.141 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.219e-05/0.003185, allocations: 4.938 kB / 430.4 MB, free: 2.137 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.003313, allocations: 101.8 kB / 430.5 MB, free: 2.012 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-06/0.003322, allocations: 4.359 kB / 430.5 MB, free: 2.008 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.263e-06/0.003329, allocations: 4.375 kB / 430.5 MB, free: 2.004 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.389e-05/0.003383, allocations: 26.27 kB / 430.5 MB, free: 1.973 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.11e-06/0.003388, allocations: 192 / 430.5 MB, free: 1.973 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.003395, allocations: 8.125 kB / 430.5 MB, free: 1.965 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.003399, allocations: 3.938 kB / 430.5 MB, free: 1.961 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.753e-06/0.003406, allocations: 8 kB / 430.5 MB, free: 1.953 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001943/0.0036, allocations: 294.9 kB / 430.8 MB, free: 1.648 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.883e-05/0.003649, allocations: 165.1 kB / 431 MB, free: 1.477 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.865e-05/0.003667, allocations: 84.14 kB / 431 MB, free: 1.391 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.003683, allocations: 79.22 kB / 431.1 MB, free: 1.312 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.003715, allocations: 117.8 kB / 431.2 MB, free: 1.188 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 5.41e-07/0.003716, allocations: 0 / 431.2 MB, free: 1.188 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 4.284e-05/0.003759, allocations: 29.64 kB / 431.3 MB, free: 1.152 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.003793, allocations: 126.7 kB / 431.4 MB, free: 1.016 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.904e-05/0.003852, allocations: 106.7 kB / 431.5 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.901e-06/0.003858, allocations: 29.7 kB / 431.5 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.086e-05/0.003889, allocations: 84.14 kB / 431.6 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-06/0.003892, allocations: 3.984 kB / 431.6 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.856e-05/0.00391, allocations: 13.72 kB / 431.6 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.992e-05/0.00397, allocations: 310.8 kB / 431.9 MB, free: 452 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.638e-06/0.003975, allocations: 3.984 kB / 431.9 MB, free: 448 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.272e-06/0.003981, allocations: 7.938 kB / 431.9 MB, free: 440 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.789e-05/0.003999, allocations: 4.859 kB / 431.9 MB, free: 432 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.004001, allocations: 0 / 431.9 MB, free: 432 kB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.712e-05/0.004048, allocations: 33.77 kB / 432 MB, free: 392 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.004059, allocations: 8 kB / 432 MB, free: 384 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.004064, allocations: 3.938 kB / 432 MB, free: 380 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.016e-06/0.004073, allocations: 0 / 432 MB, free: 380 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.37e-05/0.004087, allocations: 0 / 432 MB, free: 380 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.004091, allocations: 7.969 kB / 432 MB, free: 372 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.033e-05/0.004101, allocations: 3.938 kB / 432 MB, free: 368 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.004106, allocations: 0 / 432 MB, free: 368 kB / 410.7 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.288e-05/0.004159, allocations: 189.1 kB / 432.2 MB, free: 168 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.004314, allocations: 104.9 kB / 432.3 MB, free: 56 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1718/0.1762, allocations: 113.1 kB / 432.4 MB, free: 2.672 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/0.1762, allocations: 178.5 kB / 432.6 MB, free: 2.492 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/0.1762, allocations: 181.4 kB / 432.7 MB, free: 2.312 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.1762, allocations: 179.5 kB / 432.9 MB, free: 2.133 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.31e-05/0.1763, allocations: 316.2 kB / 433.2 MB, free: 1.805 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.1763, allocations: 113.2 kB / 433.3 MB, free: 1.699 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.876e-06/0.1763, allocations: 103.4 kB / 433.4 MB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.496e-05/0.1763, allocations: 109.3 kB / 433.6 MB, free: 1.488 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.505e-05/0.1763, allocations: 179.2 kB / 433.7 MB, free: 1.309 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.1764, allocations: 182.4 kB / 433.9 MB, free: 1.129 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.618e-05/0.1764, allocations: 179.4 kB / 434.1 MB, free: 16.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-05/0.1765, allocations: 185.5 kB / 434.3 MB, free: 16.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.295e-05/0.1765, allocations: 303 kB / 434.6 MB, free: 16.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.079e-05/0.1766, allocations: 185.6 kB / 434.7 MB, free: 16.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.109e-05/0.1766, allocations: 108.7 kB / 434.8 MB, free: 16.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.1767, allocations: 180 kB / 435 MB, free: 16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.1767, allocations: 105.5 kB / 435.1 MB, free: 15.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.716e-05/0.1767, allocations: 12.98 kB / 435.1 MB, free: 15.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1767, allocations: 0 / 435.1 MB, free: 15.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000164/0.1769, allocations: 19.11 kB / 435.2 MB, free: 15.88 MB / 426.7 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.0003283/0.1772, allocations: 228.2 kB / 435.4 MB, free: 15.74 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.15e-05/0.1773, allocations: 9.031 kB / 435.4 MB, free: 15.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.1773, allocations: 1.375 kB / 435.4 MB, free: 15.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.206e-06/0.1773, allocations: 0.5 kB / 435.4 MB, free: 15.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.1775, allocations: 473.2 kB / 435.8 MB, free: 15.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/0.1778, allocations: 207.7 kB / 436.1 MB, free: 15.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.364e-05/0.1778, allocations: 53.45 kB / 436.1 MB, free: 15.05 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.605e-05/0.1779, allocations: 3.156 kB / 436.1 MB, free: 15.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.1779, allocations: 49.53 kB / 436.2 MB, free: 15 MB / 426.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1779, allocations: 2.25 kB / 436.2 MB, free: 15 MB / 426.7 MB Notification: Performance of Templates: time 0.002328/0.1802, allocations: 0.8726 MB / 437 MB, free: 15 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2965442398563027]