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.002311/0.002311, allocations: 93.47 kB / 19.44 MB, free: 336 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.0028/0.0028, allocations: 169.6 kB / 22.76 MB, free: 1.66 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 1.576/1.576, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 1.305/1.305, allocations: 154.6 MB / 414.2 MB, free: 0.6484 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 178] 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.774e-06/1.774e-06, allocations: 0 / 0.5197 GB, free: 2.469 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.508e-05/3.685e-05, allocations: 5.297 kB / 0.5197 GB, free: 2.465 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002369/0.002405, allocations: 0.5819 MB / 0.5203 GB, free: 1.902 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002379/0.004784, allocations: 1.025 MB / 0.5213 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.101e-05/0.004805, allocations: 0 / 0.5213 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.344e-05/0.004819, allocations: 0 / 0.5213 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000875/0.005694, allocations: 84.52 kB / 0.5213 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.266e-05/0.005746, allocations: 16.44 kB / 0.5214 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.033e-05/0.005797, allocations: 7.984 kB / 0.5214 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.787e-05/0.005834, allocations: 5.312 kB / 0.5214 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.847e-05/0.005873, allocations: 3.984 kB / 0.5214 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.006123, allocations: 35.97 kB / 0.5214 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.006138, allocations: 0.9375 kB / 0.5214 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002469/0.006385, allocations: 71.91 kB / 0.5215 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.006401, allocations: 4.438 kB / 0.5215 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.068e-05/0.006421, allocations: 4 kB / 0.5215 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.00667, allocations: 91.27 kB / 0.5216 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.006674, allocations: 0 / 0.5216 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.006675, allocations: 0 / 0.5216 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.006678, allocations: 0 / 0.5216 GB, free: 0.5508 MB / 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.0005214/0.0072, allocations: 360.2 kB / 0.5219 GB, free: 168 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.00724, allocations: 8.031 kB / 0.5219 GB, free: 160 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.007283, allocations: 0.9375 kB / 0.5219 GB, free: 160 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.007434, allocations: 112.6 kB / 0.522 GB, free: 20 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.007447, allocations: 384 / 0.522 GB, free: 20 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.007455, allocations: 4.906 kB / 0.522 GB, free: 16 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.007581, allocations: 34.81 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.007591, allocations: 192 / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.007603, allocations: 4.688 kB / 0.5221 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.007608, allocations: 0.9375 kB / 0.5221 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.595e-05/0.007634, allocations: 4 kB / 0.5221 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006428/0.008277, allocations: 478.2 kB / 0.5225 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.008518, allocations: 266.9 kB / 0.5228 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.008622, allocations: 130.8 kB / 0.5229 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-05/0.008717, allocations: 127.2 kB / 0.523 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001303/0.008847, allocations: 157.3 kB / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.008848, allocations: 0 / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 0.0001144/0.008963, allocations: 26.27 kB / 0.5232 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001625/0.009125, allocations: 182.5 kB / 0.5234 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.009337, allocations: 163.9 kB / 0.5235 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.009361, allocations: 25.7 kB / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.986e-05/0.009461, allocations: 126.9 kB / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-06/0.009464, allocations: 0 / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.988e-05/0.009524, allocations: 19.38 kB / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003704/0.009895, allocations: 496.6 kB / 0.5242 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.929e-05/0.009914, allocations: 4 kB / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.009e-05/0.009924, allocations: 1.219 kB / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.019e-05/0.009964, allocations: 11.69 kB / 0.5242 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.009967, allocations: 4.562 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001548/0.01012, allocations: 39.39 kB / 0.5242 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.01014, allocations: 5.25 kB / 0.5242 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.01015, allocations: 4 kB / 0.5242 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.01017, allocations: 4 kB / 0.5243 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.877e-05/0.01018, allocations: 2.75 kB / 0.5243 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.01019, allocations: 3.984 kB / 0.5243 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.972e-05/0.01021, allocations: 0 / 0.5243 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.01022, allocations: 0 / 0.5243 GB, free: 13.61 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 0.0002543/0.01047, allocations: 275.8 kB / 0.5245 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.01065, allocations: 152.9 kB / 0.5247 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.01079, allocations: 156 kB / 0.5248 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002066/0.011, allocations: 270.1 kB / 0.5251 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002049/0.01121, allocations: 268.1 kB / 0.5253 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002154/0.01142, allocations: 272 kB / 0.5256 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005148/0.01194, allocations: 495.9 kB / 0.5261 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001138/0.01205, allocations: 156.8 kB / 0.5262 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.01215, allocations: 145.8 kB / 0.5264 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002138/0.01237, allocations: 264.1 kB / 0.5266 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002172/0.01259, allocations: 276.7 kB / 0.5269 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002126/0.0128, allocations: 264.1 kB / 0.5271 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00022/0.01302, allocations: 276.6 kB / 0.5274 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003918/0.01341, allocations: 444 kB / 0.5278 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.01354, allocations: 149.4 kB / 0.5279 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000452/0.01399, allocations: 271.4 kB / 0.5282 GB, free: 9.395 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.0142, allocations: 160.8 kB / 0.5284 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002263/0.01442, allocations: 268.1 kB / 0.5286 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/0.01455, allocations: 148.8 kB / 0.5288 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001217/0.01467, allocations: 123.2 kB / 0.5289 GB, free: 8.688 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.4e-07/0.01467, allocations: 0 / 0.5289 GB, free: 8.688 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004675/0.01514, allocations: 23.92 kB / 0.5289 GB, free: 8.664 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.0007105/0.01585, allocations: 283.2 kB / 0.5292 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.852e-05/0.01595, allocations: 15.67 kB / 0.5292 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.01595, allocations: 0 / 0.5292 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.825e-06/0.01595, allocations: 0 / 0.5292 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008806/0.01683, allocations: 0.7079 MB / 0.5299 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006691/0.0175, allocations: 261.5 kB / 0.5301 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.663e-05/0.01759, allocations: 51.36 kB / 0.5302 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.832e-05/0.01763, allocations: 10.98 kB / 0.5302 GB, free: 7.301 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.172e-05/0.01767, allocations: 8.5 kB / 0.5302 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of SimCode: time 8.62e-07/0.01767, allocations: 0 / 0.5302 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of Templates: time 0.005674/0.02334, allocations: 0.7116 MB / 0.5309 GB, free: 6.668 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: 6.071038485970348]