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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 113.3 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.188/1.188, allocations: 173.4 MB / 471.3 MB, free: 6.586 MB / 366.1 MB " [Timeout remaining time 179] 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=2500,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=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 71.33 kB / 0.649 GB, free: 22.93 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1873, allocations: 89.52 MB / 0.7365 GB, free: 3.617 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001793/0.1892, allocations: 0.558 MB / 0.737 GB, free: 3.062 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.1906, allocations: 1.011 MB / 0.738 GB, free: 2.039 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.903e-05/0.1906, allocations: 0 / 0.738 GB, free: 2.039 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.373e-05/0.1906, allocations: 0 / 0.738 GB, free: 2.039 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006981/0.1913, allocations: 91.77 kB / 0.7381 GB, free: 1.949 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 3.575e-05/0.1914, allocations: 11.94 kB / 0.7381 GB, free: 1.938 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.019e-05/0.1914, allocations: 7.984 kB / 0.7381 GB, free: 1.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.078e-05/0.1915, allocations: 4 kB / 0.7381 GB, free: 1.926 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.182e-05/0.1915, allocations: 7.938 kB / 0.7381 GB, free: 1.918 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.1917, allocations: 35.95 kB / 0.7382 GB, free: 1.883 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.458e-06/0.1917, allocations: 4 kB / 0.7382 GB, free: 1.879 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.1919, allocations: 79.91 kB / 0.7382 GB, free: 1.801 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.917e-06/0.1919, allocations: 0 / 0.7382 GB, free: 1.801 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.172e-05/0.192, allocations: 4 kB / 0.7382 GB, free: 1.797 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.1922, allocations: 75.73 kB / 0.7383 GB, free: 1.723 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1922, allocations: 0 / 0.7383 GB, free: 1.723 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1922, allocations: 0 / 0.7383 GB, free: 1.723 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.1922, allocations: 0 / 0.7383 GB, free: 1.723 MB / 0.545 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.0003744/0.1926, allocations: 339.3 kB / 0.7386 GB, free: 1.344 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1926, allocations: 8.031 kB / 0.7386 GB, free: 1.336 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.1927, allocations: 8.938 kB / 0.7386 GB, free: 1.328 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.1928, allocations: 164.4 kB / 0.7388 GB, free: 1.129 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1928, allocations: 4.125 kB / 0.7388 GB, free: 1.125 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.1928, allocations: 0 / 0.7388 GB, free: 1.125 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.23e-05/0.1929, allocations: 29.7 kB / 0.7388 GB, free: 1.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.1929, allocations: 4 kB / 0.7388 GB, free: 1.086 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.193, allocations: 3.984 kB / 0.7388 GB, free: 1.082 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.193, allocations: 3.984 kB / 0.7388 GB, free: 1.078 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.144e-05/0.193, allocations: 0 / 0.7388 GB, free: 1.078 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004718/0.1935, allocations: 472.5 kB / 0.7393 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.701e-05/0.1936, allocations: 169.1 kB / 0.7395 GB, free: 380 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.747e-05/0.1936, allocations: 80.14 kB / 0.7395 GB, free: 296 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.43e-05/0.1937, allocations: 75.28 kB / 0.7396 GB, free: 220 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.313e-05/0.1937, allocations: 109.8 kB / 0.7397 GB, free: 100 kB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.1937, allocations: 4 kB / 0.7397 GB, free: 96 kB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.283e-05/0.1938, allocations: 33.58 kB / 0.7397 GB, free: 56 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.882e-05/0.1939, allocations: 126.7 kB / 0.7399 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.194, allocations: 101.8 kB / 0.74 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.1941, allocations: 25.7 kB / 0.74 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.1941, allocations: 88.08 kB / 0.7401 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.608e-06/0.1941, allocations: 7.984 kB / 0.7401 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.1942, allocations: 13.67 kB / 0.7401 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.1943, allocations: 322.8 kB / 0.7404 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.387e-06/0.1943, allocations: 4 kB / 0.7404 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-06/0.1944, allocations: 0 / 0.7404 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.584e-05/0.1944, allocations: 8.859 kB / 0.7404 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.1944, allocations: 0 / 0.7404 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.658e-05/0.1945, allocations: 37.7 kB / 0.7405 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1945, allocations: 4 kB / 0.7405 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.1945, allocations: 4 kB / 0.7405 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.1945, allocations: 0 / 0.7405 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.514e-05/0.1946, allocations: 0 / 0.7405 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1946, allocations: 3.984 kB / 0.7405 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.284e-05/0.1946, allocations: 0 / 0.7405 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.1946, allocations: 3.938 kB / 0.7405 GB, free: 15.26 MB / 0.5606 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.0001137/0.1947, allocations: 185.1 kB / 0.7406 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.147e-05/0.1948, allocations: 114 kB / 0.7408 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.644e-05/0.1949, allocations: 104.1 kB / 0.7409 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.291e-05/0.1949, allocations: 176.3 kB / 0.741 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.464e-05/0.195, allocations: 188.2 kB / 0.7412 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.443e-05/0.1951, allocations: 176.3 kB / 0.7414 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.1954, allocations: 413.1 kB / 0.7418 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.841e-05/0.1955, allocations: 105 kB / 0.7419 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.219e-05/0.1955, allocations: 101 kB / 0.742 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-05/0.1956, allocations: 184.4 kB / 0.7421 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.632e-05/0.1957, allocations: 176.3 kB / 0.7423 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.282e-05/0.1958, allocations: 192.2 kB / 0.7425 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.635e-05/0.1959, allocations: 184.2 kB / 0.7427 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.1961, allocations: 303.7 kB / 0.7429 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.1962, allocations: 182.1 kB / 0.7431 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.1963, allocations: 188.2 kB / 0.7433 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.005e-05/0.1964, allocations: 109 kB / 0.7434 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.899e-05/0.1965, allocations: 176.3 kB / 0.7436 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.844e-05/0.1965, allocations: 104.9 kB / 0.7437 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.578e-05/0.1966, allocations: 87.22 kB / 0.7438 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1966, allocations: 3.938 kB / 0.7438 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002744/0.1969, allocations: 27.86 kB / 0.7438 GB, free: 11.63 MB / 0.5606 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.0004131/0.1973, allocations: 233.1 kB / 0.744 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.813e-05/0.1974, allocations: 4 kB / 0.744 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1974, allocations: 0 / 0.744 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.697e-06/0.1974, allocations: 3.938 kB / 0.744 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.1978, allocations: 465.9 kB / 0.7445 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004041/0.1982, allocations: 225.8 kB / 0.7447 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.1986, allocations: 0.6729 MB / 0.7453 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.1986, allocations: 7.438 kB / 0.7453 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.1986, allocations: 4 kB / 0.7453 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of Templates: time 0.002632/0.2013, allocations: 0.8618 MB / 0.7462 GB, free: 9.113 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 660] (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) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.596664326032624] Failed to read output from testmodel.py, exit status != 0: 0.20781632186844945 0.221725533 0.026973356 Calling exit ...