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.0008842/0.0008842, allocations: 96.2 kB / 20.43 MB, free: 4.137 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.0009339/0.0009339, 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 0.8903/0.8903, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.5666/0.5666, allocations: 115 MB / 375.7 MB, free: 7.633 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.603e-06/1.603e-06, allocations: 0.5 kB / 481.6 MB, free: 11.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.629e-05/1.789e-05, allocations: 5.172 kB / 481.6 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001424/0.001442, allocations: 1.465 MB / 483.1 MB, free: 10.78 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003786/0.005228, allocations: 4.049 MB / 487.1 MB, free: 8.352 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.048e-05/0.005269, allocations: 3.938 kB / 487.1 MB, free: 8.348 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.00537, allocations: 13.17 kB / 487.1 MB, free: 8.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.005568, allocations: 29.42 kB / 487.2 MB, free: 8.324 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.002206/0.007774, allocations: 1.623 MB / 488.8 MB, free: 7.715 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.958e-05/0.007874, allocations: 95.64 kB / 488.9 MB, free: 7.684 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.195e-05/0.007906, allocations: 2.625 kB / 488.9 MB, free: 7.684 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.917e-05/0.007975, allocations: 65.69 kB / 488.9 MB, free: 7.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.008136, allocations: 140.8 kB / 489.1 MB, free: 7.637 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.008167, allocations: 14.34 kB / 489.1 MB, free: 7.637 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002205/0.01037, allocations: 2.463 MB / 491.6 MB, free: 6.996 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.01052, allocations: 277.1 kB / 491.8 MB, free: 6.898 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.01064, allocations: 152 kB / 492 MB, free: 6.84 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002119/0.01276, allocations: 2.463 MB / 494.4 MB, free: 6.117 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.01276, allocations: 1.703 kB / 494.4 MB, free: 6.117 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.01276, allocations: 0.6562 kB / 494.4 MB, free: 6.117 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.01277, allocations: 3.938 kB / 494.4 MB, free: 6.113 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.004864/0.01764, allocations: 1.397 MB / 495.8 MB, free: 5.121 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.01767, allocations: 9.281 kB / 495.9 MB, free: 5.121 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002868/0.01796, allocations: 91.11 kB / 495.9 MB, free: 5.066 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.01826, allocations: 314.8 kB / 496.2 MB, free: 4.824 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.01827, allocations: 7.531 kB / 496.3 MB, free: 4.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.0183, allocations: 10.66 kB / 496.3 MB, free: 4.816 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003778/0.01868, allocations: 376.3 kB / 496.6 MB, free: 4.738 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.01869, allocations: 5.047 kB / 496.6 MB, free: 4.734 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.0187, allocations: 0.75 kB / 496.6 MB, free: 4.734 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.01871, allocations: 1.031 kB / 496.6 MB, free: 4.734 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003189/0.01903, allocations: 385.2 kB / 497 MB, free: 4.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005207/0.01955, allocations: 0.6418 MB / 497.7 MB, free: 4.344 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004292/0.01998, allocations: 0.5172 MB / 498.2 MB, free: 4.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/0.02022, allocations: 300.4 kB / 498.5 MB, free: 4.246 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004118/0.02063, allocations: 136.9 kB / 498.6 MB, free: 4.242 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003098/0.02094, allocations: 386.5 kB / 499 MB, free: 4.145 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.02094, allocations: 1.188 kB / 499 MB, free: 4.145 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.001099/0.02204, allocations: 1.165 MB / 0.4884 GB, free: 4.039 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.02207, allocations: 85.73 kB / 0.4885 GB, free: 3.941 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008579/0.02292, allocations: 1.195 MB / 0.4897 GB, free: 3.008 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.02296, allocations: 27.02 kB / 0.4897 GB, free: 2.977 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/0.02318, allocations: 342.2 kB / 0.49 GB, free: 18.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.02321, allocations: 23.27 kB / 0.49 GB, free: 18.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003076/0.02351, allocations: 410.8 kB / 0.4904 GB, free: 18.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.981e-05/0.02361, allocations: 490.5 kB / 0.4909 GB, free: 17.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004563/0.02407, allocations: 0.6762 MB / 0.4916 GB, free: 17.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005442/0.02461, allocations: 0.8493 MB / 0.4924 GB, free: 16.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00211/0.02672, allocations: 2.621 MB / 0.495 GB, free: 13.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.02673, allocations: 0.5938 kB / 0.495 GB, free: 13.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.00364/0.03037, allocations: 4.234 MB / 0.4991 GB, free: 9.707 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.03038, allocations: 9.594 kB / 0.4991 GB, free: 9.699 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.0304, allocations: 4.844 kB / 0.4991 GB, free: 9.695 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.03041, allocations: 0 / 0.4991 GB, free: 9.695 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.03052, allocations: 23.33 kB / 0.4991 GB, free: 9.676 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.361e-06/0.03052, allocations: 0.6094 kB / 0.4991 GB, free: 9.676 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003172/0.03084, allocations: 238.9 kB / 0.4994 GB, free: 9.441 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.584e-05/0.03089, allocations: 26.2 kB / 0.4994 GB, free: 9.422 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.0001408/0.03103, allocations: 168.6 kB / 0.4995 GB, free: 9.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.344e-05/0.03108, allocations: 81.52 kB / 0.4996 GB, free: 9.172 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000739/0.03182, allocations: 0.8436 MB / 0.5004 GB, free: 8.457 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.03182, allocations: 0.7031 kB / 0.5004 GB, free: 8.457 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.03183, allocations: 0 / 0.5004 GB, free: 8.457 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.03183, allocations: 0.7031 kB / 0.5004 GB, free: 8.457 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006362/0.03247, allocations: 0.4966 MB / 0.5009 GB, free: 8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.03247, allocations: 0 / 0.5009 GB, free: 8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.18e-05/0.03251, allocations: 5.922 kB / 0.5009 GB, free: 7.996 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.03251, allocations: 0.9688 kB / 0.5009 GB, free: 7.996 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.03252, allocations: 9.672 kB / 0.5009 GB, free: 7.988 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.03253, allocations: 0.6094 kB / 0.5009 GB, free: 7.988 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.03253, allocations: 0.9688 kB / 0.5009 GB, free: 7.988 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007067/0.03323, allocations: 0.93 MB / 0.5019 GB, free: 7.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-05/0.0333, allocations: 81.62 kB / 0.5019 GB, free: 7.082 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.95e-05/0.03335, allocations: 8.734 kB / 0.5019 GB, free: 7.074 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.623e-05/0.03343, allocations: 1.594 kB / 0.5019 GB, free: 7.074 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.03347, allocations: 15.38 kB / 0.502 GB, free: 7.062 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.03349, allocations: 13.62 kB / 0.502 GB, free: 7.055 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004908/0.03398, allocations: 0.5607 MB / 0.5025 GB, free: 6.566 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03398, allocations: 0.9062 kB / 0.5025 GB, free: 6.566 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001336/0.03532, allocations: 0.5806 MB / 0.5031 GB, free: 5.984 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.001528/0.03685, allocations: 0.7937 MB / 0.5039 GB, free: 5.223 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.03806, allocations: 1.428 MB / 0.5053 GB, free: 3.781 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.03806, allocations: 0 / 0.5053 GB, free: 3.781 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002263/0.03828, allocations: 303.4 kB / 0.5055 GB, free: 3.477 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.03856, allocations: 40.59 kB / 0.5056 GB, free: 3.438 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.04002, allocations: 1.585 MB / 0.5071 GB, free: 1.824 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.04015, allocations: 187.1 kB / 0.5073 GB, free: 1.621 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.765e-05/0.04025, allocations: 27.66 kB / 0.5073 GB, free: 1.598 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.752e-05/0.04034, allocations: 33.06 kB / 0.5074 GB, free: 1.566 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/0.04034, allocations: 0.875 kB / 0.5074 GB, free: 1.566 MB / 426.7 MB Notification: Performance of Templates: time 0.022/0.06234, allocations: 16.19 MB / 0.5232 GB, free: 1.523 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: 3.923473577015102]