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.0008725/0.0008725, 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.00101/0.00101, allocations: 169 kB / 23.02 MB, free: 1.547 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.8679/0.8679, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.8136/0.8136, 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.864e-06/1.864e-06, allocations: 0 / 0.5204 GB, free: 2.148 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.901e-05, allocations: 6.203 kB / 0.5204 GB, free: 2.145 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001754/0.001783, allocations: 0.5841 MB / 0.521 GB, free: 1.578 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.003113, allocations: 1.041 MB / 0.522 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.077e-05/0.003134, allocations: 0 / 0.522 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.111e-05/0.003155, allocations: 0.9375 kB / 0.522 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006663/0.003821, allocations: 93.39 kB / 0.5221 GB, free: 444 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.368e-05/0.003855, allocations: 13.69 kB / 0.5221 GB, free: 432 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.345e-05/0.003909, allocations: 4 kB / 0.5221 GB, free: 428 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.788e-05/0.003946, allocations: 3.984 kB / 0.5221 GB, free: 424 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.995e-05/0.003976, allocations: 4 kB / 0.5221 GB, free: 420 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.004179, allocations: 29.72 kB / 0.5221 GB, free: 392 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.004192, allocations: 0 / 0.5221 GB, free: 392 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.004365, allocations: 83.84 kB / 0.5222 GB, free: 308 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.131e-05/0.004376, allocations: 7.922 kB / 0.5222 GB, free: 300 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.757e-05/0.004393, allocations: 0 / 0.5222 GB, free: 300 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.004568, allocations: 88.52 kB / 0.5223 GB, free: 212 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.004571, allocations: 0 / 0.5223 GB, free: 212 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.004572, allocations: 1.406 kB / 0.5223 GB, free: 212 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.004576, allocations: 0 / 0.5223 GB, free: 212 kB / 490.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.0003241/0.004901, allocations: 360.2 kB / 0.5226 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.004939, allocations: 8.031 kB / 0.5227 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.00498, allocations: 2.188 kB / 0.5227 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.365e-05/0.005074, allocations: 108.6 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.005085, allocations: 384 / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.005092, allocations: 2.438 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.059e-05/0.005173, allocations: 38.25 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.00518, allocations: 192 / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.00519, allocations: 4.125 kB / 0.5228 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.005197, allocations: 3.938 kB / 0.5228 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.451e-05/0.005212, allocations: 5.875 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004176/0.005629, allocations: 478.5 kB / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.15e-05/0.005721, allocations: 265.5 kB / 0.5235 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.751e-05/0.005758, allocations: 126.9 kB / 0.5236 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.005789, allocations: 119.8 kB / 0.5238 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.278e-05/0.005841, allocations: 160.5 kB / 0.5239 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.005842, allocations: 4.938 kB / 0.5239 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 6.456e-05/0.005907, allocations: 33.66 kB / 0.5239 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.005971, allocations: 175.5 kB / 0.5241 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.501e-05/0.006066, allocations: 153.9 kB / 0.5243 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.006079, allocations: 29.7 kB / 0.5243 GB, free: 14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.091e-05/0.00612, allocations: 127.9 kB / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.006123, allocations: 0 / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.006154, allocations: 23.38 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002439/0.006398, allocations: 497.1 kB / 0.5249 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.308e-06/0.006407, allocations: 0 / 0.5249 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.781e-06/0.006413, allocations: 1.531 kB / 0.5249 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.174e-05/0.006445, allocations: 15.62 kB / 0.5249 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.006447, allocations: 0 / 0.5249 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.605e-05/0.006543, allocations: 34.7 kB / 0.525 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.006557, allocations: 8 kB / 0.525 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.006562, allocations: 0 / 0.525 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.006576, allocations: 0.6875 kB / 0.525 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.735e-05/0.006594, allocations: 9.281 kB / 0.525 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.0066, allocations: 3.984 kB / 0.525 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.41e-05/0.006614, allocations: 3.938 kB / 0.525 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.00662, allocations: 0 / 0.525 GB, free: 13.27 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 8.625e-05/0.006706, allocations: 276.7 kB / 0.5252 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.28e-05/0.006769, allocations: 156.8 kB / 0.5254 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.26e-05/0.006821, allocations: 152.7 kB / 0.5255 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.521e-05/0.006887, allocations: 268.8 kB / 0.5258 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.581e-05/0.006952, allocations: 272.1 kB / 0.5261 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.754e-05/0.00702, allocations: 271.4 kB / 0.5263 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.007215, allocations: 495.8 kB / 0.5268 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.843e-05/0.007253, allocations: 148.9 kB / 0.5269 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/0.00729, allocations: 152.8 kB / 0.5271 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.579e-05/0.007356, allocations: 272.1 kB / 0.5273 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.151e-05/0.007427, allocations: 272 kB / 0.5276 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.534e-05/0.007493, allocations: 268 kB / 0.5278 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.369e-05/0.007556, allocations: 264.1 kB / 0.5281 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.0078, allocations: 455.9 kB / 0.5285 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.034e-05/0.00784, allocations: 147.9 kB / 0.5287 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-05/0.007918, allocations: 276.2 kB / 0.5289 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.458e-05/0.008003, allocations: 152.9 kB / 0.5291 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.095e-05/0.008074, allocations: 268 kB / 0.5293 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.986e-05/0.008114, allocations: 148.9 kB / 0.5295 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.425e-05/0.008158, allocations: 123.2 kB / 0.5296 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.008158, allocations: 4 kB / 0.5296 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002874/0.008445, allocations: 19.92 kB / 0.5296 GB, free: 8.32 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.0003661/0.008811, allocations: 275 kB / 0.5299 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.211e-05/0.008884, allocations: 15.61 kB / 0.5299 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.008885, allocations: 0.6562 kB / 0.5299 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.008887, allocations: 4.562 kB / 0.5299 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.009284, allocations: 0.7062 MB / 0.5306 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/0.009663, allocations: 262.8 kB / 0.5308 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.439e-05/0.009698, allocations: 51.36 kB / 0.5309 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.817e-05/0.009726, allocations: 4 kB / 0.5309 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.801e-05/0.009744, allocations: 8.5 kB / 0.5309 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of SimCode: time 7.72e-07/0.009745, allocations: 3.938 kB / 0.5309 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of Templates: time 0.003045/0.01279, allocations: 0.8526 MB / 0.5317 GB, free: 6.203 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.4975466090254486]