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.0009578/0.0009578, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001007/0.001007, allocations: 177.4 kB / 23.36 MB, free: 1.125 MB / 18.57 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.9405/0.9405, allocations: 177.2 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002699/0.002699, allocations: 246.1 kB / 260.5 MB, free: 12.69 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7466/0.7466, allocations: 138.4 MB / 402.2 MB, free: 0.5352 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.583e-06/1.583e-06, allocations: 0 / 462.4 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.65e-05/1.808e-05, allocations: 8.469 kB / 462.4 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001321/0.001339, allocations: 0.6311 MB / 463.1 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.002365, allocations: 1.044 MB / 464.1 MB, free: 15.79 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.795e-05/0.002383, allocations: 1.188 kB / 464.1 MB, free: 15.79 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.414e-05/0.002397, allocations: 1.5 kB / 464.1 MB, free: 15.79 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007179/0.003115, allocations: 85.19 kB / 464.2 MB, free: 15.76 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.656e-05/0.003152, allocations: 18.36 kB / 464.2 MB, free: 15.75 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.225e-05/0.003194, allocations: 4.734 kB / 464.2 MB, free: 15.75 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.587e-05/0.00323, allocations: 1.922 kB / 464.2 MB, free: 15.75 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.014e-05/0.00326, allocations: 5.172 kB / 464.2 MB, free: 15.75 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.003412, allocations: 34.41 kB / 464.2 MB, free: 15.73 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.418e-06/0.003422, allocations: 0.7812 kB / 464.3 MB, free: 15.73 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.003585, allocations: 80.62 kB / 464.3 MB, free: 15.71 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.915e-06/0.003593, allocations: 1.828 kB / 464.3 MB, free: 15.71 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.028e-05/0.003603, allocations: 4.156 kB / 464.3 MB, free: 15.71 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.003742, allocations: 84.86 kB / 464.4 MB, free: 15.69 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.003744, allocations: 0.7656 kB / 464.4 MB, free: 15.69 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.003744, allocations: 0 / 464.4 MB, free: 15.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.003748, allocations: 0 / 464.4 MB, free: 15.69 MB / 426.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.0002015/0.003949, allocations: 243.9 kB / 464.7 MB, free: 15.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.003978, allocations: 10.09 kB / 464.7 MB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.217e-05/0.004, allocations: 3.688 kB / 464.7 MB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.238e-05/0.004083, allocations: 106.5 kB / 464.8 MB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.004091, allocations: 384 / 464.8 MB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.709e-06/0.004096, allocations: 1.75 kB / 464.8 MB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.378e-05/0.004149, allocations: 34.66 kB / 464.8 MB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.004156, allocations: 0.75 kB / 464.8 MB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.004163, allocations: 5.281 kB / 464.8 MB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.004167, allocations: 0.7812 kB / 464.8 MB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.735e-06/0.004175, allocations: 3.297 kB / 464.8 MB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002083/0.004383, allocations: 294.6 kB / 465.1 MB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.091e-05/0.004434, allocations: 174.8 kB / 465.3 MB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.004453, allocations: 81.2 kB / 465.4 MB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.00447, allocations: 79.55 kB / 465.4 MB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.004502, allocations: 107.6 kB / 465.5 MB, free: 14.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.004503, allocations: 0 / 465.5 MB, free: 14.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 4.616e-05/0.004549, allocations: 31.53 kB / 465.6 MB, free: 14.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.004589, allocations: 132.4 kB / 465.7 MB, free: 14.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.207e-05/0.004651, allocations: 107.4 kB / 465.8 MB, free: 14.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.592e-06/0.004658, allocations: 32.42 kB / 465.8 MB, free: 14.22 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.671e-05/0.004685, allocations: 84.52 kB / 465.9 MB, free: 14.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/0.004686, allocations: 0 / 465.9 MB, free: 14.14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/0.004708, allocations: 12.94 kB / 465.9 MB, free: 14.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.663e-05/0.004774, allocations: 314 kB / 466.2 MB, free: 13.81 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.048e-06/0.004778, allocations: 0 / 466.2 MB, free: 13.81 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.579e-06/0.004783, allocations: 1.844 kB / 466.2 MB, free: 13.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.442e-05/0.004807, allocations: 13.42 kB / 466.3 MB, free: 13.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.004809, allocations: 0.625 kB / 466.3 MB, free: 13.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.407e-05/0.004863, allocations: 35.53 kB / 466.3 MB, free: 13.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.004874, allocations: 8.094 kB / 466.3 MB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.00488, allocations: 5.312 kB / 466.3 MB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.004891, allocations: 0 / 466.3 MB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.291e-05/0.004904, allocations: 5.281 kB / 466.3 MB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.004907, allocations: 2.203 kB / 466.3 MB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.147e-06/0.004916, allocations: 2.531 kB / 466.3 MB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.00492, allocations: 0 / 466.3 MB, free: 13.76 MB / 426.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.81e-05/0.004978, allocations: 186 kB / 466.5 MB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.005013, allocations: 103 kB / 466.6 MB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.66e-05/0.005049, allocations: 119.8 kB / 466.7 MB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.762e-05/0.005087, allocations: 178.4 kB / 466.9 MB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.724e-05/0.005124, allocations: 179.4 kB / 467.1 MB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-05/0.005162, allocations: 182.4 kB / 467.2 MB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.005278, allocations: 315.5 kB / 467.5 MB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.278e-05/0.005301, allocations: 106.9 kB / 467.7 MB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.33e-05/0.005324, allocations: 103.6 kB / 467.8 MB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.853e-05/0.005363, allocations: 182.9 kB / 467.9 MB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.923e-05/0.005402, allocations: 183.7 kB / 468.1 MB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.896e-05/0.005441, allocations: 178.5 kB / 468.3 MB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-05/0.005482, allocations: 186.5 kB / 468.5 MB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.603e-05/0.005568, allocations: 304.5 kB / 468.8 MB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.607e-05/0.005594, allocations: 111.6 kB / 468.9 MB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.456e-05/0.005638, allocations: 180.2 kB / 469 MB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.581e-05/0.005684, allocations: 111.3 kB / 469.2 MB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.005726, allocations: 183.8 kB / 469.3 MB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.005749, allocations: 108.3 kB / 469.4 MB, free: 10.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.546e-05/0.005765, allocations: 13.28 kB / 469.5 MB, free: 10.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005765, allocations: 0 / 469.5 MB, free: 10.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001694/0.005934, allocations: 21.23 kB / 469.5 MB, free: 10.5 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.0002849/0.006219, allocations: 229 kB / 469.7 MB, free: 10.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 3.98e-05/0.006259, allocations: 8.312 kB / 469.7 MB, free: 10.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.006266, allocations: 9.188 kB / 469.7 MB, free: 10.33 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.006267, allocations: 0 / 469.7 MB, free: 10.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.006448, allocations: 458.9 kB / 470.2 MB, free: 9.887 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002527/0.0067, allocations: 207.5 kB / 470.4 MB, free: 9.688 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.691e-05/0.006727, allocations: 55.38 kB / 470.4 MB, free: 9.617 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.178e-05/0.006749, allocations: 2.312 kB / 470.4 MB, free: 9.617 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.006778, allocations: 50.42 kB / 470.5 MB, free: 9.574 MB / 426.7 MB Notification: Performance of SimCode: time 3.6e-07/0.006778, allocations: 1.469 kB / 470.5 MB, free: 9.574 MB / 426.7 MB Notification: Performance of Templates: time 0.002443/0.009221, allocations: 0.865 MB / 471.3 MB, free: 9.438 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 -s gbode -gbm=radauIIA3 -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.3834246257320046]