Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001023/0.001023, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001454/0.002476, 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.0007732/0.0007732, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000962/0.001735, 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.9329/0.9329, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08237/1.015, 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/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7845/0.7845, allocations: 154.6 MB / 398.8 MB, free: 384 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2388/1.023, allocations: 49.05 MB / 447.8 MB, free: 6.609 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 449.2 MB, free: 5.254 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.762e-05, allocations: 2.312 kB / 449.2 MB, free: 5.25 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001191/0.001209, allocations: 0.6421 MB / 449.8 MB, free: 4.648 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008194/0.002028, allocations: 1.043 MB / 450.9 MB, free: 3.594 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.65e-05/0.002045, allocations: 0.7656 kB / 450.9 MB, free: 3.594 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.657e-06/0.002048, allocations: 0.7188 kB / 450.9 MB, free: 3.594 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003411/0.002389, allocations: 86.44 kB / 451 MB, free: 3.508 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.133e-05/0.002421, allocations: 13.91 kB / 451 MB, free: 3.496 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.34e-05/0.002464, allocations: 9.188 kB / 451 MB, free: 3.488 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.271e-05/0.002497, allocations: 0.9844 kB / 451 MB, free: 3.488 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.35e-05/0.00254, allocations: 8.641 kB / 451 MB, free: 3.48 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.002693, allocations: 29.69 kB / 451 MB, free: 3.453 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.002704, allocations: 4 kB / 451 MB, free: 3.449 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.002853, allocations: 89.03 kB / 451.1 MB, free: 3.363 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.002864, allocations: 1.625 kB / 451.1 MB, free: 3.363 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 9.778e-06/0.002874, allocations: 4 kB / 451.1 MB, free: 3.359 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.002998, allocations: 65.75 kB / 451.2 MB, free: 3.297 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.003008, allocations: 4 kB / 451.2 MB, free: 3.293 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003009, allocations: 0.8438 kB / 451.2 MB, free: 3.293 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.003017, allocations: 0.6562 kB / 451.2 MB, free: 3.293 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.0002432/0.00326, allocations: 242.4 kB / 451.4 MB, free: 3.035 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.797e-05/0.003288, allocations: 8.797 kB / 451.4 MB, free: 3.027 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.311e-05/0.003312, allocations: 4.922 kB / 451.4 MB, free: 3.023 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.242e-05/0.003384, allocations: 107.9 kB / 451.5 MB, free: 2.895 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-06/0.003392, allocations: 2.422 kB / 451.5 MB, free: 2.895 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.003401, allocations: 4.375 kB / 451.6 MB, free: 2.891 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.434e-05/0.003455, allocations: 27.42 kB / 451.6 MB, free: 2.859 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.749e-06/0.00346, allocations: 192 / 451.6 MB, free: 2.859 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.581e-06/0.003466, allocations: 5.219 kB / 451.6 MB, free: 2.855 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.003469, allocations: 0.8438 kB / 451.6 MB, free: 2.855 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.442e-06/0.003476, allocations: 7.938 kB / 451.6 MB, free: 2.848 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002159/0.003692, allocations: 292.6 kB / 451.9 MB, free: 2.547 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.3e-05/0.003745, allocations: 169.2 kB / 452 MB, free: 2.371 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.035e-05/0.003765, allocations: 81.64 kB / 452.1 MB, free: 2.289 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.00378, allocations: 75.28 kB / 452.2 MB, free: 2.215 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.003814, allocations: 117.8 kB / 452.3 MB, free: 2.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.003815, allocations: 0.5312 kB / 452.3 MB, free: 2.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 4.392e-05/0.003859, allocations: 30.27 kB / 452.3 MB, free: 2.055 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.003897, allocations: 127.3 kB / 452.5 MB, free: 1.918 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.021e-05/0.003967, allocations: 111.8 kB / 452.6 MB, free: 1.797 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/0.003974, allocations: 25.7 kB / 452.6 MB, free: 1.766 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.162e-05/0.004006, allocations: 88.66 kB / 452.7 MB, free: 1.676 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-06/0.004009, allocations: 3.984 kB / 452.7 MB, free: 1.672 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.00403, allocations: 14.62 kB / 452.7 MB, free: 1.652 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.87e-05/0.004099, allocations: 320 kB / 453 MB, free: 1.332 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.678e-06/0.004104, allocations: 0 / 453 MB, free: 1.332 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.618e-06/0.004108, allocations: 0.5938 kB / 453 MB, free: 1.332 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.023e-05/0.004129, allocations: 14.23 kB / 453 MB, free: 1.316 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.00413, allocations: 0 / 453 MB, free: 1.316 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.123e-05/0.004181, allocations: 34.47 kB / 453.1 MB, free: 1.277 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.004193, allocations: 8 kB / 453.1 MB, free: 1.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.004198, allocations: 5.375 kB / 453.1 MB, free: 1.266 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.004207, allocations: 0 / 453.1 MB, free: 1.266 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.506e-05/0.004222, allocations: 0 / 453.1 MB, free: 1.266 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-06/0.004224, allocations: 0.5469 kB / 453.1 MB, free: 1.266 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.006e-05/0.004234, allocations: 0.8438 kB / 453.1 MB, free: 1.266 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.004238, allocations: 0 / 453.1 MB, free: 1.266 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.654e-05/0.004295, allocations: 185.7 kB / 453.3 MB, free: 1.074 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.004327, allocations: 105.8 kB / 453.4 MB, free: 0.9648 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.694e-05/0.004364, allocations: 121.5 kB / 453.5 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.629e-05/0.0044, allocations: 180.2 kB / 453.7 MB, free: 0.6562 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002729/0.004673, allocations: 176.9 kB / 453.8 MB, free: 488 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-05/0.004706, allocations: 180.3 kB / 454 MB, free: 300 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.004829, allocations: 320.3 kB / 454.3 MB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.06e-05/0.00485, allocations: 105 kB / 454.4 MB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.222e-05/0.004872, allocations: 108.9 kB / 454.5 MB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.287e-05/0.004895, allocations: 102 kB / 454.6 MB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.813e-05/0.004933, allocations: 189.1 kB / 454.8 MB, free: 15.44 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.694e-05/0.00497, allocations: 188.2 kB / 455 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-05/0.005004, allocations: 184.2 kB / 455.2 MB, free: 15.06 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-05/0.00504, allocations: 181 kB / 455.4 MB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.921e-05/0.005119, allocations: 303.8 kB / 455.7 MB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/0.00516, allocations: 181 kB / 455.8 MB, free: 14.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.096e-05/0.005201, allocations: 105 kB / 455.9 MB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.00524, allocations: 188.8 kB / 456.1 MB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.00526, allocations: 105.9 kB / 456.2 MB, free: 13.96 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.653e-05/0.005276, allocations: 9.781 kB / 456.2 MB, free: 13.95 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005276, allocations: 1.188 kB / 456.2 MB, free: 13.95 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001504/0.005427, allocations: 19.94 kB / 456.2 MB, free: 13.93 MB / 442.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.0002937/0.00572, allocations: 226.2 kB / 456.5 MB, free: 13.72 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.28e-05/0.005763, allocations: 13.42 kB / 456.5 MB, free: 13.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.005768, allocations: 0 / 456.5 MB, free: 13.71 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.835e-06/0.005771, allocations: 1.281 kB / 456.5 MB, free: 13.71 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.005967, allocations: 472.3 kB / 456.9 MB, free: 13.24 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003208/0.006288, allocations: 208.1 kB / 457.1 MB, free: 13.02 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.585e-05/0.006314, allocations: 55.22 kB / 457.2 MB, free: 12.94 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.329e-05/0.006337, allocations: 1.891 kB / 457.2 MB, free: 12.94 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.14e-05/0.006368, allocations: 52.19 kB / 457.3 MB, free: 12.89 MB / 442.7 MB Notification: Performance of SimCode: time 7.31e-07/0.006369, allocations: 0 / 457.3 MB, free: 12.89 MB / 442.7 MB Notification: Performance of Templates: time 0.002084/0.008453, allocations: 0.8729 MB / 458.1 MB, free: 12.13 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3422558875754476]