Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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.0009139/0.0009139, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.0009535/0.0009535, allocations: 177 kB / 23.36 MB, free: 1.125 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.9501/0.9501, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.7804/0.7804, allocations: 154.6 MB / 414.8 MB, free: 496 kB / 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.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.624e-06/1.624e-06, allocations: 0 / 480.1 MB, free: 6.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.678e-05, allocations: 7.453 kB / 480.1 MB, free: 6.836 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00576/0.005787, allocations: 1.476 MB / 481.6 MB, free: 5.379 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01182/0.01761, allocations: 4.023 MB / 485.6 MB, free: 1.379 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.828e-05/0.0177, allocations: 3.938 kB / 485.6 MB, free: 1.375 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.01783, allocations: 16.98 kB / 485.6 MB, free: 1.359 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.01808, allocations: 36.64 kB / 485.6 MB, free: 1.324 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.006857/0.02494, allocations: 1.626 MB / 487.3 MB, free: 15.71 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.02511, allocations: 92.3 kB / 487.4 MB, free: 15.62 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.02515, allocations: 7.938 kB / 487.4 MB, free: 15.61 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.0265, allocations: 60.5 kB / 487.4 MB, free: 15.55 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.02663, allocations: 49.89 kB / 487.5 MB, free: 15.5 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.02665, allocations: 4 kB / 487.5 MB, free: 15.5 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003727/0.03038, allocations: 2.407 MB / 489.9 MB, free: 13.11 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001808/0.03056, allocations: 251.3 kB / 490.1 MB, free: 12.86 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.03067, allocations: 123.4 kB / 490.2 MB, free: 12.74 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003455/0.03412, allocations: 2.335 MB / 492.6 MB, free: 10.4 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.03413, allocations: 0 / 492.6 MB, free: 10.4 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.03413, allocations: 0 / 492.6 MB, free: 10.4 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.03414, allocations: 0 / 492.6 MB, free: 10.4 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00149/0.03563, allocations: 1.207 MB / 493.8 MB, free: 9.168 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.03566, allocations: 9.719 kB / 493.8 MB, free: 9.16 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002216/0.03588, allocations: 32.88 kB / 493.8 MB, free: 9.129 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.03614, allocations: 282.5 kB / 494.1 MB, free: 8.816 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.03616, allocations: 9.25 kB / 494.1 MB, free: 8.809 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.03618, allocations: 4.375 kB / 494.1 MB, free: 8.805 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.0364, allocations: 233.5 kB / 494.3 MB, free: 8.562 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.03641, allocations: 192 / 494.3 MB, free: 8.562 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.03642, allocations: 5.125 kB / 494.3 MB, free: 8.559 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.03642, allocations: 3.938 kB / 494.4 MB, free: 8.555 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.03654, allocations: 193.7 kB / 494.5 MB, free: 8.367 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002216/0.03677, allocations: 256.5 kB / 494.8 MB, free: 8.098 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004515/0.03722, allocations: 289.1 kB / 495.1 MB, free: 7.797 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.994e-05/0.03732, allocations: 163 kB / 495.2 MB, free: 7.633 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003115/0.03763, allocations: 120.7 kB / 495.4 MB, free: 7.52 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.03782, allocations: 229.8 kB / 495.6 MB, free: 7.277 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 1.944e-06/0.03782, allocations: 0.5625 kB / 495.6 MB, free: 7.277 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004125/0.03823, allocations: 494.8 kB / 496.1 MB, free: 6.789 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.03827, allocations: 77.11 kB / 496.1 MB, free: 6.695 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000559/0.03883, allocations: 1.006 MB / 497.1 MB, free: 5.676 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.03886, allocations: 33.7 kB / 497.2 MB, free: 5.637 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.039, allocations: 257.7 kB / 497.4 MB, free: 5.379 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.03904, allocations: 25.69 kB / 497.5 MB, free: 5.355 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002299/0.03927, allocations: 335.2 kB / 497.8 MB, free: 5.023 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.728e-05/0.03934, allocations: 314 kB / 498.1 MB, free: 4.711 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003335/0.03967, allocations: 0.5136 MB / 498.6 MB, free: 4.195 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003493/0.04002, allocations: 0.5963 MB / 499.2 MB, free: 3.59 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.04155, allocations: 2.244 MB / 0.4897 GB, free: 1.254 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.04155, allocations: 0 / 0.4897 GB, free: 1.254 MB / 458.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002752/0.0443, allocations: 3.723 MB / 0.4933 GB, free: 13.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.04432, allocations: 4 kB / 0.4933 GB, free: 13.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.04434, allocations: 4 kB / 0.4933 GB, free: 13.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.04435, allocations: 1.062 kB / 0.4933 GB, free: 13.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.04447, allocations: 19.98 kB / 0.4934 GB, free: 13.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.04447, allocations: 4.312 kB / 0.4934 GB, free: 13.47 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.04474, allocations: 246 kB / 0.4936 GB, free: 13.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.04477, allocations: 19.98 kB / 0.4936 GB, free: 13.21 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (labels[1],cluSiz[1],gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0001375/0.04491, allocations: 123 kB / 0.4937 GB, free: 13.08 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.04493, allocations: 9.016 kB / 0.4937 GB, free: 13.07 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003249/0.04526, allocations: 374.6 kB / 0.4941 GB, free: 12.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.04526, allocations: 1.438 kB / 0.4941 GB, free: 12.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.04526, allocations: 0 / 0.4941 GB, free: 12.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.04527, allocations: 7.938 kB / 0.4941 GB, free: 12.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.04549, allocations: 286.7 kB / 0.4944 GB, free: 12.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.04549, allocations: 5.094 kB / 0.4944 GB, free: 12.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.488e-05/0.04555, allocations: 8 kB / 0.4944 GB, free: 12.39 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.04555, allocations: 0.7188 kB / 0.4944 GB, free: 12.39 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.04556, allocations: 3.984 kB / 0.4944 GB, free: 12.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.04556, allocations: 0.9062 kB / 0.4944 GB, free: 12.38 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.04556, allocations: 4 kB / 0.4944 GB, free: 12.38 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.04582, allocations: 380.5 kB / 0.4948 GB, free: 11.99 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.678e-05/0.04588, allocations: 80.41 kB / 0.4948 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.04591, allocations: 7.984 kB / 0.4948 GB, free: 11.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.04599, allocations: 4 kB / 0.4948 GB, free: 11.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.563e-05/0.04601, allocations: 9.797 kB / 0.4949 GB, free: 11.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.04604, allocations: 11.98 kB / 0.4949 GB, free: 11.88 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002492/0.04629, allocations: 395.7 kB / 0.4952 GB, free: 11.48 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04629, allocations: 0 / 0.4952 GB, free: 11.48 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001083/0.04737, allocations: 0.5806 MB / 0.4958 GB, free: 10.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00151/0.04888, allocations: 0.8053 MB / 0.4966 GB, free: 10.15 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009702/0.04985, allocations: 0.9705 MB / 0.4975 GB, free: 9.16 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/0.04986, allocations: 8 kB / 0.4976 GB, free: 9.152 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.04998, allocations: 169.7 kB / 0.4977 GB, free: 8.984 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.05016, allocations: 36.91 kB / 0.4978 GB, free: 8.945 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.0513, allocations: 1.442 MB / 0.4992 GB, free: 7.473 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.0514, allocations: 187.1 kB / 0.4993 GB, free: 7.27 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 7.863e-05/0.05148, allocations: 32.28 kB / 0.4994 GB, free: 7.25 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.0516, allocations: 80.97 kB / 0.4994 GB, free: 7.172 MB / 474.7 MB Notification: Performance of SimCode: time 1.052e-06/0.0516, allocations: 0 / 0.4994 GB, free: 7.172 MB / 474.7 MB Notification: Performance of Templates: time 0.01859/0.07019, allocations: 15.47 MB / 0.5146 GB, free: 8.09 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.180185948964208]