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.0009235/0.0009235, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001905/0.001905, allocations: 169.3 kB / 23.02 MB, free: 1.551 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.9471/0.9471, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.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.794/0.794, allocations: 154.6 MB / 414.5 MB, free: 0.6875 MB / 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. " [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.442e-06/1.442e-06, allocations: 0 / 0.5204 GB, free: 1.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.947e-05/3.091e-05, allocations: 2.312 kB / 0.5204 GB, free: 1.066 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.00143/0.001461, allocations: 0.5915 MB / 0.521 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.002542, allocations: 1.044 MB / 0.522 GB, free: 15.44 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.224e-05/0.002564, allocations: 0 / 0.522 GB, free: 15.44 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.97e-05/0.002584, allocations: 0.9062 kB / 0.522 GB, free: 15.44 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005865/0.00317, allocations: 86.17 kB / 0.5221 GB, free: 15.36 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.203e-05/0.003202, allocations: 12.38 kB / 0.5221 GB, free: 15.34 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.418e-05/0.003257, allocations: 13.02 kB / 0.5221 GB, free: 15.33 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.003299, allocations: 0 / 0.5221 GB, free: 15.33 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.037e-05/0.00333, allocations: 4 kB / 0.5221 GB, free: 15.33 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.003524, allocations: 31.05 kB / 0.5221 GB, free: 15.3 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.003535, allocations: 0.625 kB / 0.5221 GB, free: 15.3 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.00368, allocations: 79.89 kB / 0.5222 GB, free: 15.22 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.04e-05/0.00369, allocations: 4.625 kB / 0.5222 GB, free: 15.22 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.661e-05/0.003707, allocations: 4 kB / 0.5222 GB, free: 15.21 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.003857, allocations: 92.86 kB / 0.5223 GB, free: 15.12 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003859, allocations: 0 / 0.5223 GB, free: 15.12 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.00386, allocations: 0 / 0.5223 GB, free: 15.12 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.003864, allocations: 1.812 kB / 0.5223 GB, free: 15.12 MB / 458.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.0002623/0.004126, allocations: 360.2 kB / 0.5227 GB, free: 14.74 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.004161, allocations: 12.03 kB / 0.5227 GB, free: 14.73 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.004194, allocations: 0.9375 kB / 0.5227 GB, free: 14.73 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.791e-05/0.004272, allocations: 114.3 kB / 0.5228 GB, free: 14.59 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.004282, allocations: 384 / 0.5228 GB, free: 14.59 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.004292, allocations: 384 / 0.5228 GB, free: 14.59 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.11e-05/0.004363, allocations: 34.2 kB / 0.5228 GB, free: 14.55 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.00437, allocations: 192 / 0.5228 GB, free: 14.55 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.00438, allocations: 4.875 kB / 0.5228 GB, free: 14.55 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/0.004386, allocations: 0 / 0.5228 GB, free: 14.55 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.026e-05/0.004397, allocations: 1.406 kB / 0.5228 GB, free: 14.55 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003163/0.004713, allocations: 478.2 kB / 0.5233 GB, free: 14.04 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.206e-05/0.004795, allocations: 269.5 kB / 0.5235 GB, free: 13.77 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.733e-05/0.004832, allocations: 140.1 kB / 0.5237 GB, free: 13.62 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.225e-05/0.004865, allocations: 119.2 kB / 0.5238 GB, free: 13.51 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.766e-05/0.004912, allocations: 156.5 kB / 0.5239 GB, free: 13.34 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.004913, allocations: 4 kB / 0.5239 GB, free: 13.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 6.768e-05/0.004981, allocations: 31.88 kB / 0.524 GB, free: 13.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/0.005044, allocations: 170.6 kB / 0.5241 GB, free: 13.12 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.00515, allocations: 165.9 kB / 0.5243 GB, free: 12.95 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.005162, allocations: 29.7 kB / 0.5243 GB, free: 12.91 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.377e-05/0.005205, allocations: 129 kB / 0.5244 GB, free: 12.78 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.757e-06/0.005209, allocations: 0 / 0.5244 GB, free: 12.78 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.005236, allocations: 19.36 kB / 0.5244 GB, free: 12.75 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.005361, allocations: 0.4884 MB / 0.5249 GB, free: 12.25 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.165e-05/0.005372, allocations: 3.938 kB / 0.5249 GB, free: 12.25 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-06/0.005379, allocations: 0 / 0.5249 GB, free: 12.25 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.776e-05/0.005407, allocations: 12.25 kB / 0.5249 GB, free: 12.23 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.005409, allocations: 1 kB / 0.5249 GB, free: 12.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.771e-05/0.005507, allocations: 33.64 kB / 0.525 GB, free: 12.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.005524, allocations: 15.14 kB / 0.525 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.005529, allocations: 1.219 kB / 0.525 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.005541, allocations: 0 / 0.525 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.841e-05/0.00556, allocations: 0 / 0.525 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.005565, allocations: 0 / 0.525 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.151e-05/0.005577, allocations: 0.9375 kB / 0.525 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.005582, allocations: 0 / 0.525 GB, free: 12.18 MB / 458.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 8.759e-05/0.005669, allocations: 281.2 kB / 0.5253 GB, free: 11.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.375e-05/0.005723, allocations: 156.9 kB / 0.5254 GB, free: 11.74 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.206e-05/0.005775, allocations: 152 kB / 0.5256 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.867e-05/0.005834, allocations: 272 kB / 0.5258 GB, free: 11.31 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.309e-05/0.005897, allocations: 265.1 kB / 0.5261 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-05/0.005959, allocations: 272 kB / 0.5263 GB, free: 10.77 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.006121, allocations: 495.9 kB / 0.5268 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.285e-05/0.006154, allocations: 149.6 kB / 0.5269 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.208e-05/0.006186, allocations: 150.1 kB / 0.5271 GB, free: 9.941 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-05/0.006242, allocations: 264.1 kB / 0.5273 GB, free: 9.676 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-05/0.006302, allocations: 276 kB / 0.5276 GB, free: 9.398 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.776e-05/0.00636, allocations: 264.1 kB / 0.5278 GB, free: 9.133 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.079e-05/0.00642, allocations: 276.7 kB / 0.5281 GB, free: 8.855 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.006539, allocations: 444 kB / 0.5285 GB, free: 8.395 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.006578, allocations: 149.7 kB / 0.5287 GB, free: 8.242 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.56e-05/0.006653, allocations: 276.3 kB / 0.5289 GB, free: 7.965 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.44e-05/0.006708, allocations: 156.2 kB / 0.5291 GB, free: 7.809 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.448e-05/0.006772, allocations: 268 kB / 0.5293 GB, free: 7.539 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.006803, allocations: 148.9 kB / 0.5295 GB, free: 7.387 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.45e-05/0.006847, allocations: 119.2 kB / 0.5296 GB, free: 7.27 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006847, allocations: 0 / 0.5296 GB, free: 7.27 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001834/0.007031, allocations: 27.86 kB / 0.5296 GB, free: 7.242 MB / 458.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.0003113/0.007342, allocations: 288.7 kB / 0.5299 GB, free: 6.961 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.11e-05/0.007403, allocations: 11.62 kB / 0.5299 GB, free: 6.945 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.007405, allocations: 0 / 0.5299 GB, free: 6.945 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.084e-06/0.007407, allocations: 4 kB / 0.5299 GB, free: 6.941 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.0077, allocations: 0.6984 MB / 0.5306 GB, free: 6.238 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003457/0.008046, allocations: 263 kB / 0.5309 GB, free: 5.953 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.1e-05/0.008077, allocations: 55.22 kB / 0.5309 GB, free: 5.879 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.242e-05/0.008099, allocations: 11.23 kB / 0.5309 GB, free: 5.871 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.702e-05/0.008116, allocations: 8.5 kB / 0.5309 GB, free: 5.863 MB / 458.7 MB Notification: Performance of SimCode: time 9.81e-07/0.008117, allocations: 0 / 0.5309 GB, free: 5.863 MB / 458.7 MB Notification: Performance of Templates: time 0.002305/0.01042, allocations: 0.7083 MB / 0.5316 GB, free: 5.242 MB / 458.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.7877670945599675]