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.0006717/0.0006717, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009698/0.001642, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006954/0.0006954, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000922/0.001617, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9006/0.9006, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07388/0.9745, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7615/0.7615, allocations: 155.3 MB / 399.5 MB, free: 15.82 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2393/1.001, allocations: 49.13 MB / 448.6 MB, free: 5.93 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.603e-06/1.603e-06, allocations: 0.5469 kB / 450 MB, free: 4.582 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.58e-05, allocations: 3.438 kB / 450 MB, free: 4.578 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001778/0.001803, allocations: 0.6411 MB / 450.6 MB, free: 3.977 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.002979, allocations: 1.04 MB / 451.7 MB, free: 2.922 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.819e-05/0.002997, allocations: 5.969 kB / 451.7 MB, free: 2.918 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.831e-06/0.003003, allocations: 0.6562 kB / 451.7 MB, free: 2.918 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004612/0.003464, allocations: 82.06 kB / 451.8 MB, free: 2.84 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.24e-05/0.003496, allocations: 7.938 kB / 451.8 MB, free: 2.832 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 5.285e-05/0.003549, allocations: 9.734 kB / 451.8 MB, free: 2.824 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.863e-05/0.003588, allocations: 4.562 kB / 451.8 MB, free: 2.82 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.058e-05/0.003638, allocations: 10.03 kB / 451.8 MB, free: 2.812 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.003819, allocations: 34.41 kB / 451.8 MB, free: 2.781 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.00383, allocations: 0 / 451.8 MB, free: 2.781 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001884/0.004019, allocations: 84.39 kB / 451.9 MB, free: 2.699 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.004032, allocations: 1.203 kB / 451.9 MB, free: 2.699 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.381e-05/0.004046, allocations: 7.938 kB / 451.9 MB, free: 2.691 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.0042, allocations: 71.95 kB / 452 MB, free: 2.625 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/0.004211, allocations: 0 / 452 MB, free: 2.625 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.004213, allocations: 4 kB / 452 MB, free: 2.621 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.004221, allocations: 0 / 452 MB, free: 2.621 MB / 426.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.0002716/0.004493, allocations: 241.5 kB / 452.2 MB, free: 2.363 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.004524, allocations: 10.16 kB / 452.2 MB, free: 2.355 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.537e-05/0.00455, allocations: 0.9375 kB / 452.2 MB, free: 2.355 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.255e-05/0.004642, allocations: 113.7 kB / 452.3 MB, free: 2.219 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.00465, allocations: 384 / 452.3 MB, free: 2.219 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.00466, allocations: 4.359 kB / 452.4 MB, free: 2.215 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.461e-05/0.004724, allocations: 30.92 kB / 452.4 MB, free: 2.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.004731, allocations: 1.922 kB / 452.4 MB, free: 2.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.004738, allocations: 7.188 kB / 452.4 MB, free: 2.176 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.004743, allocations: 0 / 452.4 MB, free: 2.176 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.315e-06/0.004751, allocations: 4 kB / 452.4 MB, free: 2.172 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002307/0.004982, allocations: 292.9 kB / 452.7 MB, free: 1.871 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.474e-05/0.005037, allocations: 173.1 kB / 452.9 MB, free: 1.691 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.879e-05/0.005055, allocations: 80.77 kB / 452.9 MB, free: 1.609 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.005072, allocations: 76.78 kB / 453 MB, free: 1.535 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.005103, allocations: 109.8 kB / 453.1 MB, free: 1.418 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 5.91e-07/0.005103, allocations: 0 / 453.1 MB, free: 1.418 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 4.649e-05/0.00515, allocations: 33.58 kB / 453.1 MB, free: 1.379 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.005187, allocations: 129.3 kB / 453.3 MB, free: 1.242 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.622e-05/0.005253, allocations: 106.7 kB / 453.4 MB, free: 1.125 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.775e-06/0.005261, allocations: 29.7 kB / 453.4 MB, free: 1.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.055e-05/0.005292, allocations: 84.08 kB / 453.5 MB, free: 1.004 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.005294, allocations: 0 / 453.5 MB, free: 1.004 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.005316, allocations: 18.55 kB / 453.5 MB, free: 0.9805 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.874e-05/0.005384, allocations: 315.8 kB / 453.8 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.919e-06/0.005389, allocations: 32 / 453.8 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.57e-06/0.005395, allocations: 4.984 kB / 453.8 MB, free: 0.6602 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.21e-05/0.005417, allocations: 16.84 kB / 453.8 MB, free: 0.6406 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005418, allocations: 0.875 kB / 453.8 MB, free: 0.6406 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.365e-05/0.005472, allocations: 35.88 kB / 453.9 MB, free: 0.6016 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.005485, allocations: 8 kB / 453.9 MB, free: 0.5938 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.00549, allocations: 5.094 kB / 453.9 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.005498, allocations: 0.9062 kB / 453.9 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.561e-05/0.005514, allocations: 0 / 453.9 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.005516, allocations: 0 / 453.9 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.156e-05/0.005528, allocations: 4.984 kB / 453.9 MB, free: 0.5859 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.005532, allocations: 0 / 453.9 MB, free: 0.5859 MB / 426.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.664e-05/0.005589, allocations: 186.4 kB / 454.1 MB, free: 404 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.00562, allocations: 102.3 kB / 454.2 MB, free: 296 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.981e-05/0.00566, allocations: 118.4 kB / 454.3 MB, free: 168 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-05/0.005719, allocations: 176.3 kB / 454.5 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.946e-05/0.005758, allocations: 184.2 kB / 454.6 MB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.936e-05/0.005798, allocations: 184.8 kB / 454.8 MB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.005909, allocations: 311.5 kB / 455.1 MB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-05/0.005934, allocations: 108.9 kB / 455.2 MB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.189e-05/0.005956, allocations: 105 kB / 455.3 MB, free: 15.06 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.601e-05/0.005982, allocations: 105.1 kB / 455.4 MB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.894e-05/0.00602, allocations: 185.3 kB / 455.6 MB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.681e-05/0.006057, allocations: 176.3 kB / 455.8 MB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.78e-05/0.006095, allocations: 192.7 kB / 456 MB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.661e-05/0.006132, allocations: 185 kB / 456.2 MB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.216e-05/0.006214, allocations: 304.7 kB / 456.5 MB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/0.006254, allocations: 180.3 kB / 456.6 MB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.256e-05/0.006297, allocations: 104.9 kB / 456.7 MB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.006337, allocations: 190.9 kB / 456.9 MB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.006362, allocations: 110.4 kB / 457 MB, free: 13.28 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.558e-05/0.006378, allocations: 8.859 kB / 457 MB, free: 13.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006378, allocations: 0 / 457 MB, free: 13.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001445/0.006522, allocations: 19.94 kB / 457.1 MB, free: 13.25 MB / 442.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.0003002/0.006822, allocations: 224.3 kB / 457.3 MB, free: 13.04 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.553e-05/0.006868, allocations: 10.47 kB / 457.3 MB, free: 13.03 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.006872, allocations: 0 / 457.3 MB, free: 13.03 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.276e-06/0.006876, allocations: 1.531 kB / 457.3 MB, free: 13.03 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.00706, allocations: 468.5 kB / 457.7 MB, free: 12.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/0.007388, allocations: 212.3 kB / 458 MB, free: 12.34 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.561e-05/0.007413, allocations: 55.34 kB / 458 MB, free: 12.26 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.52e-05/0.007439, allocations: 4.922 kB / 458 MB, free: 12.26 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.007467, allocations: 52.56 kB / 458.1 MB, free: 12.21 MB / 442.7 MB Notification: Performance of SimCode: time 4.31e-07/0.007467, allocations: 0.7656 kB / 458.1 MB, free: 12.21 MB / 442.7 MB Notification: Performance of Templates: time 0.00215/0.009617, allocations: 0.867 MB / 458.9 MB, free: 11.46 MB / 442.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.3328146198764443]