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.001298/0.001298, allocations: 77.95 kB / 20.66 MB, free: 3.832 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.001132/0.001132, allocations: 165 kB / 24.05 MB, free: 452 kB / 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.9634/0.9634, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.7388/0.7388, allocations: 154.6 MB / 415.6 MB, free: 0.5391 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.102e-06/1.102e-06, allocations: 0 / 0.5216 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.396e-05/1.506e-05, allocations: 3.25 kB / 0.5216 GB, free: 0.7422 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001104/0.001119, allocations: 0.5776 MB / 0.5222 GB, free: 188 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.002169, allocations: 1.045 MB / 0.5232 GB, free: 15.12 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.914e-05/0.002188, allocations: 0 / 0.5232 GB, free: 15.12 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.347e-05/0.002201, allocations: 1.312 kB / 0.5232 GB, free: 15.12 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000524/0.002725, allocations: 90.31 kB / 0.5233 GB, free: 15.04 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.503e-05/0.00275, allocations: 5 kB / 0.5233 GB, free: 15.04 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.662e-05/0.002797, allocations: 9.516 kB / 0.5233 GB, free: 15.03 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.96e-05/0.002836, allocations: 0 / 0.5233 GB, free: 15.03 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.779e-05/0.002864, allocations: 9.078 kB / 0.5233 GB, free: 15.02 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.003023, allocations: 31.91 kB / 0.5233 GB, free: 14.99 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.003034, allocations: 0.5625 kB / 0.5233 GB, free: 14.99 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.003177, allocations: 84.33 kB / 0.5234 GB, free: 14.91 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 8.586e-06/0.003186, allocations: 0 / 0.5234 GB, free: 14.91 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.044e-05/0.003196, allocations: 0.9375 kB / 0.5234 GB, free: 14.91 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.003321, allocations: 87.78 kB / 0.5235 GB, free: 14.82 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.003323, allocations: 1.219 kB / 0.5235 GB, free: 14.82 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003323, allocations: 0 / 0.5235 GB, free: 14.82 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.566e-06/0.003327, allocations: 0 / 0.5235 GB, free: 14.82 MB / 458.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.0002226/0.003549, allocations: 364.7 kB / 0.5239 GB, free: 14.43 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.775e-05/0.003577, allocations: 11.97 kB / 0.5239 GB, free: 14.42 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.172e-05/0.003599, allocations: 6.703 kB / 0.5239 GB, free: 14.41 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.047e-05/0.003669, allocations: 108.6 kB / 0.524 GB, free: 14.28 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.003678, allocations: 4.375 kB / 0.524 GB, free: 14.28 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.859e-06/0.003683, allocations: 384 / 0.524 GB, free: 14.28 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.973e-05/0.003733, allocations: 35.98 kB / 0.524 GB, free: 14.24 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.571e-06/0.003738, allocations: 192 / 0.524 GB, free: 14.24 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.75e-06/0.003744, allocations: 4.125 kB / 0.524 GB, free: 14.23 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.003752, allocations: 3.984 kB / 0.524 GB, free: 14.23 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.951e-06/0.003758, allocations: 1.562 kB / 0.524 GB, free: 14.23 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002455/0.004004, allocations: 466.7 kB / 0.5245 GB, free: 13.75 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.511e-05/0.004079, allocations: 269.5 kB / 0.5247 GB, free: 13.47 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.061e-05/0.00411, allocations: 126.9 kB / 0.5248 GB, free: 13.34 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.004136, allocations: 123.9 kB / 0.525 GB, free: 13.22 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.004178, allocations: 152.6 kB / 0.5251 GB, free: 13.06 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.004179, allocations: 5.469 kB / 0.5251 GB, free: 13.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 4.445e-05/0.004223, allocations: 33.92 kB / 0.5251 GB, free: 13.02 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.004275, allocations: 170.6 kB / 0.5253 GB, free: 12.84 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.267e-05/0.004348, allocations: 161.9 kB / 0.5255 GB, free: 12.66 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.674e-06/0.004356, allocations: 31.03 kB / 0.5255 GB, free: 12.62 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/0.004398, allocations: 130.9 kB / 0.5256 GB, free: 12.49 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/0.0044, allocations: 0 / 0.5256 GB, free: 12.49 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.004427, allocations: 16.22 kB / 0.5256 GB, free: 12.47 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.004553, allocations: 496.1 kB / 0.5261 GB, free: 11.97 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.851e-06/0.004559, allocations: 0 / 0.5261 GB, free: 11.97 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-06/0.004564, allocations: 3.062 kB / 0.5261 GB, free: 11.97 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.476e-05/0.004588, allocations: 15.69 kB / 0.5261 GB, free: 11.95 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.00459, allocations: 0 / 0.5261 GB, free: 11.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.231e-05/0.004662, allocations: 37.62 kB / 0.5262 GB, free: 11.91 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.004675, allocations: 7.938 kB / 0.5262 GB, free: 11.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.004679, allocations: 4 kB / 0.5262 GB, free: 11.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/0.004687, allocations: 4.5 kB / 0.5262 GB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.347e-05/0.0047, allocations: 0 / 0.5262 GB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-06/0.004703, allocations: 0.5625 kB / 0.5262 GB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.799e-06/0.004713, allocations: 0.7188 kB / 0.5262 GB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-06/0.004717, allocations: 0 / 0.5262 GB, free: 11.89 MB / 458.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 7.725e-05/0.004794, allocations: 276.4 kB / 0.5264 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.573e-05/0.00484, allocations: 150.4 kB / 0.5266 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.218e-05/0.004882, allocations: 159.9 kB / 0.5267 GB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.467e-05/0.004936, allocations: 268.1 kB / 0.527 GB, free: 11.03 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.792e-05/0.004994, allocations: 272 kB / 0.5273 GB, free: 10.76 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.809e-05/0.005052, allocations: 265 kB / 0.5275 GB, free: 10.49 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.005211, allocations: 488.4 kB / 0.528 GB, free: 9.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.973e-05/0.005241, allocations: 144.9 kB / 0.5281 GB, free: 9.832 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.959e-05/0.005271, allocations: 149.9 kB / 0.5283 GB, free: 9.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.833e-05/0.005329, allocations: 268 kB / 0.5285 GB, free: 9.41 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.516e-05/0.005384, allocations: 267 kB / 0.5288 GB, free: 9.145 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-05/0.005441, allocations: 272 kB / 0.529 GB, free: 8.871 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.749e-05/0.005498, allocations: 276 kB / 0.5293 GB, free: 8.594 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.005613, allocations: 440 kB / 0.5297 GB, free: 8.137 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.005656, allocations: 148.9 kB / 0.5298 GB, free: 7.984 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.312e-05/0.005719, allocations: 276.3 kB / 0.5301 GB, free: 7.707 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.217e-05/0.005771, allocations: 148.9 kB / 0.5303 GB, free: 7.555 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.035e-05/0.005832, allocations: 272 kB / 0.5305 GB, free: 7.281 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.631e-05/0.005868, allocations: 155.6 kB / 0.5307 GB, free: 7.125 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.751e-05/0.005905, allocations: 123.2 kB / 0.5308 GB, free: 7.004 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005905, allocations: 0 / 0.5308 GB, free: 7.004 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001768/0.006082, allocations: 27.86 kB / 0.5308 GB, free: 6.977 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.0002691/0.006351, allocations: 279.3 kB / 0.5311 GB, free: 6.703 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 4.957e-05/0.006401, allocations: 11.69 kB / 0.5311 GB, free: 6.688 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.006402, allocations: 0.7188 kB / 0.5311 GB, free: 6.688 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.233e-06/0.006403, allocations: 0 / 0.5311 GB, free: 6.688 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.006717, allocations: 0.714 MB / 0.5318 GB, free: 5.973 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002686/0.006985, allocations: 261.5 kB / 0.532 GB, free: 5.688 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.663e-05/0.007012, allocations: 55.22 kB / 0.5321 GB, free: 5.613 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.962e-05/0.007032, allocations: 6.422 kB / 0.5321 GB, free: 5.609 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.997e-05/0.007062, allocations: 74.2 kB / 0.5322 GB, free: 5.535 MB / 458.7 MB Notification: Performance of SimCode: time 5.82e-07/0.007062, allocations: 0 / 0.5322 GB, free: 5.535 MB / 458.7 MB Notification: Performance of Templates: time 0.002131/0.009193, allocations: 0.8465 MB / 0.533 GB, free: 4.785 MB / 458.7 MB " [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.548509073909372]