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.001471/0.001471, allocations: 80.75 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.001734/0.001734, allocations: 181 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.9932/0.9932, allocations: 177.1 MB / 203.8 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.8047/0.8047, allocations: 154.6 MB / 414.8 MB, free: 0.4961 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.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.714e-06/1.714e-06, allocations: 0 / 480.1 MB, free: 6.762 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.239e-05, allocations: 6.484 kB / 480.1 MB, free: 6.758 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001962/0.001984, allocations: 1.518 MB / 481.7 MB, free: 5.266 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004791/0.006775, allocations: 4.028 MB / 485.7 MB, free: 1.258 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.603e-05/0.006841, allocations: 4.625 kB / 485.7 MB, free: 1.254 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.006951, allocations: 11.86 kB / 485.7 MB, free: 1.242 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000223/0.007174, allocations: 36.39 kB / 485.7 MB, free: 1.207 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.002801/0.009975, allocations: 1.437 MB / 487.2 MB, free: 15.78 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.0101, allocations: 95.67 kB / 487.3 MB, free: 15.68 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.681e-05/0.01014, allocations: 7.938 kB / 487.3 MB, free: 15.68 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.036e-05/0.01022, allocations: 59.86 kB / 487.3 MB, free: 15.62 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.01033, allocations: 53.88 kB / 487.4 MB, free: 15.57 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.01035, allocations: 4.781 kB / 487.4 MB, free: 15.56 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003311/0.01366, allocations: 2.581 MB / 490 MB, free: 13 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.01381, allocations: 247.3 kB / 490.2 MB, free: 12.75 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 9.307e-05/0.0139, allocations: 127.9 kB / 490.3 MB, free: 12.63 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002671/0.01657, allocations: 2.34 MB / 492.7 MB, free: 10.29 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.01658, allocations: 0 / 492.7 MB, free: 10.29 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.01658, allocations: 0.5 kB / 492.7 MB, free: 10.29 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.01658, allocations: 0.875 kB / 492.7 MB, free: 10.29 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.001307/0.01789, allocations: 1.203 MB / 493.9 MB, free: 9.055 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.01792, allocations: 12.69 kB / 493.9 MB, free: 9.043 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002059/0.01813, allocations: 29.92 kB / 493.9 MB, free: 9.016 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.01837, allocations: 291 kB / 494.2 MB, free: 8.695 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.01838, allocations: 8.375 kB / 494.2 MB, free: 8.688 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.01841, allocations: 5.031 kB / 494.2 MB, free: 8.684 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.01862, allocations: 230 kB / 494.4 MB, free: 8.445 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.01862, allocations: 192 / 494.4 MB, free: 8.445 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.01863, allocations: 4.375 kB / 494.4 MB, free: 8.441 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.01864, allocations: 4.781 kB / 494.4 MB, free: 8.438 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.01876, allocations: 197.2 kB / 494.6 MB, free: 8.246 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001957/0.01896, allocations: 256.5 kB / 494.9 MB, free: 7.977 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.01914, allocations: 281 kB / 495.2 MB, free: 7.684 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.95e-05/0.01924, allocations: 166.8 kB / 495.3 MB, free: 7.516 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002861/0.01952, allocations: 121.3 kB / 495.4 MB, free: 7.402 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.01971, allocations: 229 kB / 495.7 MB, free: 7.16 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 1.183e-06/0.01971, allocations: 0 / 495.7 MB, free: 7.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006395/0.02035, allocations: 495.6 kB / 496.2 MB, free: 6.672 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.02038, allocations: 77.11 kB / 496.2 MB, free: 6.578 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005087/0.02089, allocations: 1.001 MB / 497.2 MB, free: 5.562 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.02092, allocations: 34.23 kB / 497.3 MB, free: 5.523 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.02102, allocations: 257.7 kB / 497.5 MB, free: 5.266 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.02105, allocations: 25.09 kB / 497.5 MB, free: 5.242 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.02125, allocations: 343.2 kB / 497.9 MB, free: 4.902 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.536e-05/0.02132, allocations: 313.9 kB / 498.2 MB, free: 4.59 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/0.02164, allocations: 0.5144 MB / 498.7 MB, free: 4.074 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/0.02198, allocations: 0.5958 MB / 499.3 MB, free: 3.469 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.02344, allocations: 2.24 MB / 0.4898 GB, free: 1.137 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.02344, allocations: 1.625 kB / 0.4898 GB, free: 1.137 MB / 458.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.00269/0.02613, allocations: 3.721 MB / 0.4934 GB, free: 13.39 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.02615, allocations: 4 kB / 0.4934 GB, free: 13.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.02616, allocations: 4.906 kB / 0.4934 GB, free: 13.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.02618, allocations: 0 / 0.4934 GB, free: 13.38 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.02628, allocations: 25.02 kB / 0.4934 GB, free: 13.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.02629, allocations: 8 kB / 0.4935 GB, free: 13.35 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.02654, allocations: 245.2 kB / 0.4937 GB, free: 13.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/0.02657, allocations: 20.98 kB / 0.4937 GB, free: 13.09 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.0001342/0.02671, allocations: 117.3 kB / 0.4938 GB, free: 12.96 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.02673, allocations: 11.98 kB / 0.4938 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003078/0.02704, allocations: 368.5 kB / 0.4942 GB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.02704, allocations: 4 kB / 0.4942 GB, free: 12.58 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.02704, allocations: 0 / 0.4942 GB, free: 12.58 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.02705, allocations: 5.234 kB / 0.4942 GB, free: 12.58 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.02727, allocations: 290.7 kB / 0.4945 GB, free: 12.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.02727, allocations: 0.7812 kB / 0.4945 GB, free: 12.28 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.013e-05/0.02732, allocations: 8 kB / 0.4945 GB, free: 12.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.02732, allocations: 1.781 kB / 0.4945 GB, free: 12.27 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.02733, allocations: 11.98 kB / 0.4945 GB, free: 12.26 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.02734, allocations: 0 / 0.4945 GB, free: 12.26 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.02734, allocations: 0 / 0.4945 GB, free: 12.26 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.02758, allocations: 377.9 kB / 0.4949 GB, free: 11.87 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.537e-05/0.02764, allocations: 83.33 kB / 0.4949 GB, free: 11.79 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.02767, allocations: 0 / 0.4949 GB, free: 11.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.925e-05/0.02774, allocations: 8.812 kB / 0.4949 GB, free: 11.78 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.02777, allocations: 7.984 kB / 0.4949 GB, free: 11.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.0278, allocations: 13.11 kB / 0.495 GB, free: 11.76 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002499/0.02805, allocations: 395.7 kB / 0.4953 GB, free: 11.37 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02805, allocations: 0 / 0.4953 GB, free: 11.37 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00112/0.02917, allocations: 0.5854 MB / 0.4959 GB, free: 10.78 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.001476/0.03064, allocations: 0.8018 MB / 0.4967 GB, free: 10.03 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007304/0.03137, allocations: 0.9653 MB / 0.4976 GB, free: 9.043 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.29e-05/0.03139, allocations: 12.69 kB / 0.4976 GB, free: 9.031 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.0315, allocations: 169.5 kB / 0.4978 GB, free: 8.863 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.03168, allocations: 41.17 kB / 0.4978 GB, free: 8.824 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.03308, allocations: 1.434 MB / 0.4992 GB, free: 7.359 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.03319, allocations: 196.4 kB / 0.4994 GB, free: 7.148 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 8.118e-05/0.03327, allocations: 30.92 kB / 0.4995 GB, free: 7.129 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.03339, allocations: 75.91 kB / 0.4995 GB, free: 7.055 MB / 474.7 MB Notification: Performance of SimCode: time 1.152e-06/0.03339, allocations: 4.969 kB / 0.4995 GB, free: 7.051 MB / 474.7 MB Notification: Performance of Templates: time 0.0185/0.05189, allocations: 15.46 MB / 0.5146 GB, free: 7.965 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 -s gbode -gbm=radauIIA3 -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.164237916003913]