Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.000972/0.000972, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.000909/0.000909, allocations: 165 kB / 23.8 MB, free: 0.7695 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 1.031/1.031, allocations: 177.1 MB / 204.2 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6537/0.6537, allocations: 114.9 MB / 375.7 MB, free: 7.652 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 481.6 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.885e-05/2.05e-05, allocations: 2.312 kB / 481.6 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001659/0.00168, allocations: 1.462 MB / 483.1 MB, free: 10.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004894/0.006574, allocations: 4.05 MB / 487.1 MB, free: 8.461 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.291e-05/0.006626, allocations: 4.469 kB / 487.1 MB, free: 8.457 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.006755, allocations: 8.922 kB / 487.1 MB, free: 8.453 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.006999, allocations: 31.09 kB / 487.2 MB, free: 8.438 MB / 410.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.002958/0.009957, allocations: 1.623 MB / 488.8 MB, free: 7.828 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.01008, allocations: 95.92 kB / 488.9 MB, free: 7.797 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.826e-05/0.01012, allocations: 2.375 kB / 488.9 MB, free: 7.797 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.967e-05/0.0102, allocations: 60.17 kB / 488.9 MB, free: 7.777 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.01039, allocations: 142.4 kB / 489.1 MB, free: 7.754 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.629e-05/0.01042, allocations: 13.53 kB / 489.1 MB, free: 7.754 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002623/0.01305, allocations: 2.414 MB / 491.5 MB, free: 7.117 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001856/0.01323, allocations: 278 kB / 491.8 MB, free: 7.016 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.01339, allocations: 155.5 kB / 491.9 MB, free: 6.957 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002894/0.01628, allocations: 2.464 MB / 494.4 MB, free: 6.234 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.01629, allocations: 1.062 kB / 494.4 MB, free: 6.234 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.01629, allocations: 0 / 494.4 MB, free: 6.234 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.01629, allocations: 0 / 494.4 MB, free: 6.234 MB / 410.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.004496/0.02079, allocations: 1.399 MB / 495.8 MB, free: 5.238 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.02083, allocations: 9.781 kB / 495.8 MB, free: 5.238 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002611/0.02109, allocations: 90.39 kB / 495.9 MB, free: 5.184 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.02138, allocations: 308.3 kB / 496.2 MB, free: 4.949 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.0214, allocations: 7.984 kB / 496.2 MB, free: 4.945 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/0.02143, allocations: 5.266 kB / 496.2 MB, free: 4.945 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004003/0.02183, allocations: 383.9 kB / 496.6 MB, free: 4.859 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.02185, allocations: 0.6562 kB / 496.6 MB, free: 4.859 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.02186, allocations: 0.7031 kB / 496.6 MB, free: 4.859 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.02187, allocations: 1.375 kB / 496.6 MB, free: 4.859 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003326/0.0222, allocations: 380.1 kB / 496.9 MB, free: 4.859 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005099/0.02271, allocations: 0.6353 MB / 497.6 MB, free: 4.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000449/0.02316, allocations: 0.5226 MB / 498.1 MB, free: 4.402 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00025/0.02341, allocations: 308.4 kB / 498.4 MB, free: 4.371 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004109/0.02382, allocations: 133.4 kB / 498.5 MB, free: 4.367 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003113/0.02413, allocations: 387.6 kB / 498.9 MB, free: 4.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.02413, allocations: 0 / 498.9 MB, free: 4.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.001101/0.02523, allocations: 1.166 MB / 0.4884 GB, free: 4.164 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.02526, allocations: 85.64 kB / 0.4884 GB, free: 4.066 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007407/0.026, allocations: 1.196 MB / 0.4896 GB, free: 3.105 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.02603, allocations: 26.27 kB / 0.4896 GB, free: 3.074 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.02617, allocations: 344.8 kB / 0.49 GB, free: 2.762 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.0262, allocations: 25.77 kB / 0.49 GB, free: 2.738 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002516/0.02645, allocations: 403 kB / 0.4904 GB, free: 2.406 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.0266, allocations: 494.5 kB / 0.4908 GB, free: 17.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003678/0.02697, allocations: 0.6714 MB / 0.4915 GB, free: 17.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000457/0.02742, allocations: 0.8489 MB / 0.4923 GB, free: 16.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001742/0.02916, allocations: 2.622 MB / 0.4949 GB, free: 13.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.02917, allocations: 1.469 kB / 0.4949 GB, free: 13.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002857/0.03202, allocations: 4.233 MB / 0.499 GB, free: 9.809 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.03204, allocations: 8.781 kB / 0.499 GB, free: 9.801 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.03206, allocations: 4.844 kB / 0.499 GB, free: 9.797 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.03207, allocations: 0.9688 kB / 0.499 GB, free: 9.797 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.03218, allocations: 23.09 kB / 0.4991 GB, free: 9.777 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.03218, allocations: 0.6094 kB / 0.4991 GB, free: 9.777 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.03244, allocations: 243.2 kB / 0.4993 GB, free: 9.539 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/0.03248, allocations: 20.27 kB / 0.4993 GB, free: 9.523 MB / 426.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 (cluSiz[1],labels[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.0001381/0.03262, allocations: 167.8 kB / 0.4995 GB, free: 9.352 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.03267, allocations: 80.48 kB / 0.4995 GB, free: 9.273 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006662/0.03333, allocations: 0.851 MB / 0.5004 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.03333, allocations: 1.312 kB / 0.5004 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.03334, allocations: 4 kB / 0.5004 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.03334, allocations: 4.594 kB / 0.5004 GB, free: 8.543 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003547/0.0337, allocations: 0.4919 MB / 0.5009 GB, free: 8.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.0337, allocations: 0.8438 kB / 0.5009 GB, free: 8.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/0.03374, allocations: 7.156 kB / 0.5009 GB, free: 8.086 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.03374, allocations: 4 kB / 0.5009 GB, free: 8.082 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.03376, allocations: 5.25 kB / 0.5009 GB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.03376, allocations: 0.7969 kB / 0.5009 GB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.03376, allocations: 4.531 kB / 0.5009 GB, free: 8.074 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006044/0.03436, allocations: 0.9264 MB / 0.5018 GB, free: 7.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.03442, allocations: 83.84 kB / 0.5019 GB, free: 7.168 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.03445, allocations: 6.578 kB / 0.5019 GB, free: 7.164 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.574e-05/0.03452, allocations: 5.172 kB / 0.5019 GB, free: 7.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.03455, allocations: 3.281 kB / 0.5019 GB, free: 7.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.03457, allocations: 18.64 kB / 0.5019 GB, free: 7.148 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003864/0.03496, allocations: 0.5603 MB / 0.5025 GB, free: 6.617 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03496, allocations: 0 / 0.5025 GB, free: 6.617 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001354/0.03631, allocations: 0.5816 MB / 0.503 GB, free: 6.035 MB / 426.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.001368/0.03768, allocations: 0.796 MB / 0.5038 GB, free: 5.273 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.03869, allocations: 1.422 MB / 0.5052 GB, free: 3.832 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.03869, allocations: 0 / 0.5052 GB, free: 3.832 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.03888, allocations: 310.4 kB / 0.5055 GB, free: 3.523 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.03912, allocations: 36.59 kB / 0.5055 GB, free: 3.488 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.04039, allocations: 1.58 MB / 0.5071 GB, free: 1.875 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.0405, allocations: 186 kB / 0.5072 GB, free: 1.676 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.855e-05/0.04058, allocations: 34.89 kB / 0.5073 GB, free: 1.645 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.549e-05/0.04065, allocations: 28.48 kB / 0.5073 GB, free: 1.617 MB / 426.7 MB Notification: Performance of SimCode: time 9.82e-07/0.04065, allocations: 1.531 kB / 0.5073 GB, free: 1.617 MB / 426.7 MB Notification: Performance of Templates: time 0.01674/0.05739, allocations: 14.37 MB / 0.5213 GB, free: 3.406 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.365310443099588]