Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008915/0.0008915, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009736/0.0009736, allocations: 173 kB / 23.36 MB, free: 1.133 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.943/0.943, allocations: 177.1 MB / 203.8 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7663/0.7663, allocations: 154.9 MB / 415.1 MB, free: 228 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 480.4 MB, free: 6.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.202e-05, allocations: 11.66 kB / 480.4 MB, free: 6.492 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.00175/0.001772, allocations: 0.5816 MB / 481 MB, free: 5.941 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.003104, allocations: 1.04 MB / 482 MB, free: 4.887 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.818e-05/0.003123, allocations: 1.25 kB / 482.1 MB, free: 4.887 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.003138, allocations: 3.938 kB / 482.1 MB, free: 4.883 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000663/0.003801, allocations: 90.05 kB / 482.1 MB, free: 4.797 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.846e-05/0.00384, allocations: 13 kB / 482.2 MB, free: 4.785 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.611e-05/0.003886, allocations: 12.12 kB / 482.2 MB, free: 4.777 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.538e-05/0.003921, allocations: 0 / 482.2 MB, free: 4.777 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.582e-05/0.003957, allocations: 4.656 kB / 482.2 MB, free: 4.773 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.004137, allocations: 32.61 kB / 482.2 MB, free: 4.742 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.004148, allocations: 0 / 482.2 MB, free: 4.742 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.004319, allocations: 80.83 kB / 482.3 MB, free: 4.664 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.00433, allocations: 0.9844 kB / 482.3 MB, free: 4.664 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.458e-05/0.004344, allocations: 3.984 kB / 482.3 MB, free: 4.66 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.004511, allocations: 89.31 kB / 482.4 MB, free: 4.574 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.004513, allocations: 0 / 482.4 MB, free: 4.574 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.004514, allocations: 1.781 kB / 482.4 MB, free: 4.574 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.357e-06/0.004518, allocations: 0 / 482.4 MB, free: 4.574 MB / 442.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.000252/0.00477, allocations: 233.5 kB / 482.6 MB, free: 4.328 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.004806, allocations: 12.03 kB / 482.6 MB, free: 4.316 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.409e-05/0.00483, allocations: 1.703 kB / 482.6 MB, free: 4.316 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.679e-05/0.004917, allocations: 110.8 kB / 482.7 MB, free: 4.184 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.004927, allocations: 384 / 482.7 MB, free: 4.184 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.004936, allocations: 1.25 kB / 482.7 MB, free: 4.184 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.095e-05/0.004997, allocations: 34.27 kB / 482.8 MB, free: 4.145 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.005004, allocations: 1.188 kB / 482.8 MB, free: 4.145 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.005012, allocations: 8.125 kB / 482.8 MB, free: 4.137 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.005017, allocations: 0.6562 kB / 482.8 MB, free: 4.137 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.939e-06/0.005027, allocations: 5.766 kB / 482.8 MB, free: 4.133 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.005402, allocations: 295.8 kB / 483.1 MB, free: 3.828 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.55e-05/0.005468, allocations: 169.1 kB / 483.2 MB, free: 3.652 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.68e-05/0.005494, allocations: 88.17 kB / 483.3 MB, free: 3.562 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.005514, allocations: 76.19 kB / 483.4 MB, free: 3.488 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.005556, allocations: 111.1 kB / 483.5 MB, free: 3.371 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.005557, allocations: 0.7812 kB / 483.5 MB, free: 3.371 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 6.435e-05/0.005621, allocations: 37.62 kB / 483.5 MB, free: 3.328 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003049/0.00867, allocations: 127.5 kB / 483.7 MB, free: 3.191 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.082e-05/0.008761, allocations: 103.3 kB / 483.8 MB, free: 3.078 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.674e-06/0.008768, allocations: 26.86 kB / 483.8 MB, free: 3.047 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.897e-05/0.008797, allocations: 88.44 kB / 483.9 MB, free: 2.957 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.008799, allocations: 0 / 483.9 MB, free: 2.957 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.008841, allocations: 15.64 kB / 483.9 MB, free: 2.938 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.635e-05/0.008907, allocations: 318.8 kB / 484.2 MB, free: 2.617 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.071e-06/0.008913, allocations: 0 / 484.2 MB, free: 2.617 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.721e-06/0.008919, allocations: 0 / 484.2 MB, free: 2.617 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.49e-05/0.008944, allocations: 10.58 kB / 484.2 MB, free: 2.605 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.008946, allocations: 4 kB / 484.2 MB, free: 2.602 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.354e-05/0.009009, allocations: 30.42 kB / 484.2 MB, free: 2.566 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.009022, allocations: 4 kB / 484.2 MB, free: 2.562 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.00903, allocations: 8.578 kB / 484.3 MB, free: 2.555 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.00904, allocations: 0 / 484.3 MB, free: 2.555 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.773e-05/0.009058, allocations: 1 kB / 484.3 MB, free: 2.555 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.295e-06/0.00906, allocations: 0 / 484.3 MB, free: 2.555 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.736e-05/0.009077, allocations: 12.81 kB / 484.3 MB, free: 2.543 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.009083, allocations: 0.875 kB / 484.3 MB, free: 2.543 MB / 442.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.636e-05/0.009139, allocations: 181.9 kB / 484.4 MB, free: 2.355 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/0.009174, allocations: 109.9 kB / 484.6 MB, free: 2.242 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/0.009209, allocations: 108.8 kB / 484.7 MB, free: 2.129 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-05/0.009245, allocations: 184.2 kB / 484.8 MB, free: 1.941 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.618e-05/0.009281, allocations: 180.8 kB / 485 MB, free: 1.758 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.42e-05/0.009315, allocations: 176.3 kB / 485.2 MB, free: 1.578 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.009479, allocations: 322.7 kB / 485.5 MB, free: 1.238 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.465e-05/0.009514, allocations: 105.6 kB / 485.6 MB, free: 1.129 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.007e-05/0.009544, allocations: 104.9 kB / 485.7 MB, free: 1.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.113e-05/0.009605, allocations: 180.8 kB / 485.9 MB, free: 0.8359 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.406e-05/0.009649, allocations: 176.9 kB / 486.1 MB, free: 0.6562 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.46e-05/0.009723, allocations: 180.2 kB / 486.2 MB, free: 484 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.667e-05/0.00977, allocations: 185.3 kB / 486.4 MB, free: 292 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.009898, allocations: 316.4 kB / 486.7 MB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.65e-05/0.009934, allocations: 106.1 kB / 486.8 MB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.658e-05/0.009991, allocations: 188.2 kB / 487 MB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.961e-05/0.01006, allocations: 106.8 kB / 487.1 MB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.01017, allocations: 189 kB / 487.3 MB, free: 15.35 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/0.0102, allocations: 101 kB / 487.4 MB, free: 15.25 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.327e-05/0.01022, allocations: 9.375 kB / 487.4 MB, free: 15.23 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01022, allocations: 0 / 487.4 MB, free: 15.23 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002724/0.0105, allocations: 25.14 kB / 487.4 MB, free: 15.21 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.0003678/0.01086, allocations: 219.9 kB / 487.7 MB, free: 15 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 5.332e-05/0.01092, allocations: 13.83 kB / 487.7 MB, free: 14.99 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.01092, allocations: 0 / 487.7 MB, free: 14.99 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.01092, allocations: 1.062 kB / 487.7 MB, free: 14.99 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.01118, allocations: 455.7 kB / 488.1 MB, free: 14.54 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003496/0.01153, allocations: 212.5 kB / 488.3 MB, free: 14.31 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.33e-05/0.01156, allocations: 57.12 kB / 488.4 MB, free: 14.23 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.645e-05/0.01159, allocations: 4.703 kB / 488.4 MB, free: 14.23 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.01162, allocations: 51.38 kB / 488.4 MB, free: 14.18 MB / 458.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01162, allocations: 1.062 kB / 488.4 MB, free: 14.18 MB / 458.7 MB Notification: Performance of Templates: time 0.003273/0.0149, allocations: 0.8463 MB / 489.3 MB, free: 13.44 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4298425894230604]