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.001731/0.001731, allocations: 104.3 kB / 19.7 MB, free: 2.004 MB / 14.72 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.002436/0.002436, allocations: 218.3 kB / 23 MB, free: 4.918 MB / 14.72 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 1.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.949 MB / 206.1 MB " [Timeout remaining time 178] 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.002758/0.002758, allocations: 297.9 kB / 313.5 MB, free: 2.621 MB / 238.1 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 1.261/1.261, allocations: 180.6 MB / 0.5377 GB, free: 14.51 MB / 382.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002939/0.002939, allocations: 91.77 kB / 0.7408 GB, free: 27.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1899, allocations: 95.39 MB / 0.8339 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001871/0.1917, allocations: 0.5716 MB / 0.8345 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.1931, allocations: 1.009 MB / 0.8355 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.418e-05/0.1932, allocations: 4 kB / 0.8355 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.552e-05/0.1932, allocations: 0 / 0.8355 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007125/0.1939, allocations: 95.77 kB / 0.8356 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.918e-05/0.1939, allocations: 11.94 kB / 0.8356 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.089e-05/0.194, allocations: 7.984 kB / 0.8356 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.66e-05/0.194, allocations: 3.984 kB / 0.8356 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.148e-05/0.1941, allocations: 4 kB / 0.8356 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.1943, allocations: 31.97 kB / 0.8356 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.1943, allocations: 0 / 0.8356 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.1945, allocations: 79.8 kB / 0.8357 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.1945, allocations: 7.984 kB / 0.8357 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.715e-05/0.1945, allocations: 0 / 0.8357 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.1947, allocations: 83.78 kB / 0.8358 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1947, allocations: 0 / 0.8358 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.854e-06/0.1947, allocations: 0 / 0.8358 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.1947, allocations: 0 / 0.8358 GB, free: 5.855 MB / 0.5762 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.0003501/0.195, allocations: 261 kB / 0.836 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1951, allocations: 12.56 kB / 0.836 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.1951, allocations: 0.9375 kB / 0.836 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.1952, allocations: 110.5 kB / 0.8362 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.1952, allocations: 384 / 0.8362 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.1952, allocations: 4.375 kB / 0.8362 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.365e-05/0.1953, allocations: 41.75 kB / 0.8362 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1953, allocations: 0 / 0.8362 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.1954, allocations: 0 / 0.8362 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1954, allocations: 0 / 0.8362 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.631e-05/0.1954, allocations: 0 / 0.8362 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.1957, allocations: 335.2 kB / 0.8365 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.1959, allocations: 177.1 kB / 0.8367 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.507e-05/0.1959, allocations: 84.08 kB / 0.8368 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.1959, allocations: 75.28 kB / 0.8368 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.166e-05/0.196, allocations: 113.8 kB / 0.8369 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.196, allocations: 0 / 0.8369 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.013e-05/0.1961, allocations: 29.66 kB / 0.837 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.284e-05/0.1961, allocations: 126.7 kB / 0.8371 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.1963, allocations: 109.8 kB / 0.8372 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.1963, allocations: 25.7 kB / 0.8372 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.412e-05/0.1963, allocations: 80.14 kB / 0.8373 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-06/0.1963, allocations: 0 / 0.8373 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.1963, allocations: 13.72 kB / 0.8373 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1965, allocations: 314.8 kB / 0.8376 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.041e-05/0.1965, allocations: 4 kB / 0.8376 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.204e-06/0.1965, allocations: 11.94 kB / 0.8376 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.38e-05/0.1965, allocations: 4.859 kB / 0.8376 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1965, allocations: 3.938 kB / 0.8376 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000104/0.1966, allocations: 37.7 kB / 0.8377 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.1966, allocations: 4 kB / 0.8377 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.1966, allocations: 0 / 0.8377 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1967, allocations: 0 / 0.8377 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.48e-05/0.1967, allocations: 0 / 0.8377 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.1967, allocations: 0 / 0.8377 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.679e-05/0.1967, allocations: 12.08 kB / 0.8377 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.1967, allocations: 3.938 kB / 0.8377 GB, free: 3.727 MB / 0.5762 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.0001119/0.1968, allocations: 189.7 kB / 0.8379 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.623e-05/0.1969, allocations: 109 kB / 0.838 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.284e-05/0.197, allocations: 107.9 kB / 0.8381 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.863e-05/0.197, allocations: 184.2 kB / 0.8383 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.68e-05/0.1971, allocations: 184.2 kB / 0.8384 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.802e-05/0.1972, allocations: 180.2 kB / 0.8386 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.1974, allocations: 360.8 kB / 0.839 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.343e-05/0.1975, allocations: 101 kB / 0.839 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-05/0.1975, allocations: 112.9 kB / 0.8392 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-05/0.1976, allocations: 180.3 kB / 0.8393 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.039e-05/0.1977, allocations: 180.4 kB / 0.8395 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-05/0.1978, allocations: 180.3 kB / 0.8397 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.134e-05/0.1978, allocations: 184.3 kB / 0.8398 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.198, allocations: 311.6 kB / 0.8401 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.1981, allocations: 108.9 kB / 0.8402 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.436e-05/0.1982, allocations: 180.3 kB / 0.8404 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.4e-05/0.1982, allocations: 105 kB / 0.8405 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.444e-05/0.1983, allocations: 184.2 kB / 0.8407 GB, free: 480 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.028e-05/0.1984, allocations: 109 kB / 0.8408 GB, free: 364 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.114e-05/0.1984, allocations: 83.28 kB / 0.8409 GB, free: 280 kB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1984, allocations: 0 / 0.8409 GB, free: 280 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002562/0.1987, allocations: 27.86 kB / 0.8409 GB, free: 252 kB / 0.5762 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.0004098/0.1991, allocations: 217.7 kB / 0.8411 GB, free: 32 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.488e-05/0.1992, allocations: 11.92 kB / 0.8411 GB, free: 20 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1992, allocations: 0 / 0.8411 GB, free: 20 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.843e-06/0.1992, allocations: 0 / 0.8411 GB, free: 20 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/0.1996, allocations: 467.6 kB / 0.8416 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004345/0.2, allocations: 228.7 kB / 0.8418 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.299e-05/0.2001, allocations: 51.36 kB / 0.8418 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.26e-05/0.2001, allocations: 11.77 kB / 0.8418 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.2001, allocations: 0 / 0.8418 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of Templates: time 0.002646/0.2028, allocations: 0.8869 MB / 0.8427 GB, free: 14.34 MB / 0.5919 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.911076693795621] Failed to read output from testmodel.py, exit status != 0: 0.21033002901822329 0.22540541900000002 0.027664247000000003 Calling exit ...