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.0009766/0.0009766, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001103/0.001103, allocations: 170 kB / 23.27 MB, free: 1.223 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.9758/0.9758, allocations: 177.2 MB / 203.7 MB, free: 5.516 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.7765/0.7765, allocations: 154.6 MB / 414.8 MB, free: 0.5195 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.553e-06/1.553e-06, allocations: 0 / 0.5208 GB, free: 1.859 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.273e-05/1.429e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.855 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001057/0.001071, allocations: 0.584 MB / 0.5214 GB, free: 1.293 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009747/0.002046, allocations: 1.038 MB / 0.5224 GB, free: 248 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.117e-05/0.002067, allocations: 0 / 0.5224 GB, free: 248 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/0.002081, allocations: 0.7656 kB / 0.5224 GB, free: 248 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004586/0.00254, allocations: 91.64 kB / 0.5225 GB, free: 156 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.698e-05/0.002567, allocations: 9.734 kB / 0.5225 GB, free: 148 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.595e-05/0.002603, allocations: 8 kB / 0.5225 GB, free: 140 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.961e-05/0.002632, allocations: 0 / 0.5225 GB, free: 140 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.04e-05/0.002663, allocations: 11.92 kB / 0.5225 GB, free: 128 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.002804, allocations: 28.72 kB / 0.5226 GB, free: 100 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.967e-06/0.002813, allocations: 0 / 0.5226 GB, free: 100 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.002942, allocations: 85.19 kB / 0.5227 GB, free: 16 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.086e-06/0.00295, allocations: 0 / 0.5227 GB, free: 16 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.179e-05/0.002962, allocations: 8 kB / 0.5227 GB, free: 8 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.003095, allocations: 79.83 kB / 0.5227 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.383e-06/0.003096, allocations: 1.344 kB / 0.5227 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003097, allocations: 0 / 0.5227 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.204e-06/0.003099, allocations: 3.938 kB / 0.5227 GB, free: 15.93 MB / 0.4948 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.0002255/0.003324, allocations: 360.2 kB / 0.5231 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.003356, allocations: 9.594 kB / 0.5231 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.026e-05/0.003376, allocations: 4.875 kB / 0.5231 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.084e-05/0.003437, allocations: 112.6 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-06/0.003444, allocations: 384 / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.599e-06/0.003449, allocations: 2.781 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.886e-05/0.003498, allocations: 30.27 kB / 0.5232 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.588e-06/0.003502, allocations: 192 / 0.5232 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.5e-06/0.003508, allocations: 4.125 kB / 0.5232 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.003512, allocations: 0 / 0.5232 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.422e-06/0.003518, allocations: 3.984 kB / 0.5232 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002354/0.003754, allocations: 463.7 kB / 0.5237 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.01e-05/0.003824, allocations: 274 kB / 0.5239 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.012e-05/0.003854, allocations: 127.8 kB / 0.5241 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.003882, allocations: 119.2 kB / 0.5242 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.003924, allocations: 156.6 kB / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.003925, allocations: 1.531 kB / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 4.629e-05/0.003971, allocations: 37.53 kB / 0.5244 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.004018, allocations: 170.6 kB / 0.5245 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.254e-05/0.00409, allocations: 165.9 kB / 0.5247 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.682e-06/0.004097, allocations: 26.64 kB / 0.5247 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.054e-05/0.004138, allocations: 126.9 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.00414, allocations: 5.469 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.273e-05/0.004163, allocations: 19.38 kB / 0.5249 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.004266, allocations: 492.1 kB / 0.5253 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.079e-06/0.004271, allocations: 0 / 0.5253 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.32e-06/0.004276, allocations: 1.094 kB / 0.5253 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.039e-05/0.004297, allocations: 15.67 kB / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.004298, allocations: 0.6875 kB / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.873e-05/0.004367, allocations: 34.92 kB / 0.5254 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.004379, allocations: 11.94 kB / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.004383, allocations: 3.938 kB / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.344e-06/0.00439, allocations: 3.25 kB / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.231e-05/0.004403, allocations: 0 / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.004405, allocations: 0 / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.228e-06/0.004414, allocations: 3.938 kB / 0.5254 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.004418, allocations: 0 / 0.5254 GB, free: 13.01 MB / 0.4948 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 7.835e-05/0.004497, allocations: 279.8 kB / 0.5257 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/0.00454, allocations: 152.9 kB / 0.5258 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.563e-05/0.004586, allocations: 163.9 kB / 0.526 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.402e-05/0.00464, allocations: 267.1 kB / 0.5262 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.614e-05/0.004696, allocations: 268 kB / 0.5265 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.586e-05/0.004752, allocations: 268.1 kB / 0.5267 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.004898, allocations: 476.5 kB / 0.5272 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.238e-05/0.00493, allocations: 152.8 kB / 0.5273 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.006e-05/0.00496, allocations: 144.9 kB / 0.5275 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.404e-05/0.005014, allocations: 272 kB / 0.5277 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.425e-05/0.005079, allocations: 276.1 kB / 0.528 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.459e-05/0.005133, allocations: 265.6 kB / 0.5283 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.85e-05/0.005192, allocations: 272 kB / 0.5285 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.00531, allocations: 447.9 kB / 0.5289 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.005346, allocations: 148.9 kB / 0.5291 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.413e-05/0.00541, allocations: 272.8 kB / 0.5293 GB, free: 8.816 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.215e-05/0.005462, allocations: 152.9 kB / 0.5295 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.976e-05/0.005522, allocations: 270.4 kB / 0.5297 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/0.005554, allocations: 148.8 kB / 0.5299 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.528e-05/0.00559, allocations: 131.2 kB / 0.53 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.00559, allocations: 0 / 0.53 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001667/0.005756, allocations: 19.94 kB / 0.53 GB, free: 8.09 MB / 0.4948 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.0002451/0.006001, allocations: 273.2 kB / 0.5303 GB, free: 7.828 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 4.587e-05/0.006047, allocations: 19.67 kB / 0.5303 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.006049, allocations: 1.844 kB / 0.5303 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.006049, allocations: 0 / 0.5303 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.006326, allocations: 0.71 MB / 0.531 GB, free: 7.09 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002468/0.006573, allocations: 265.4 kB / 0.5313 GB, free: 6.801 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.713e-05/0.0066, allocations: 56.38 kB / 0.5313 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.773e-05/0.006618, allocations: 4.938 kB / 0.5313 GB, free: 6.723 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.006647, allocations: 66.2 kB / 0.5314 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of SimCode: time 7.72e-07/0.006648, allocations: 1.031 kB / 0.5314 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of Templates: time 0.001933/0.008581, allocations: 0.8483 MB / 0.5322 GB, free: 5.902 MB / 0.4948 GB " [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.4798161541111767]