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.001364/0.001364, allocations: 84.22 kB / 20.94 MB, free: 3.605 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.001141/0.001141, allocations: 169 kB / 24.25 MB, free: 308 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.8949/0.8949, allocations: 177.1 MB / 204.6 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.6219/0.6219, allocations: 115 MB / 376 MB, free: 7.668 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.523e-06/1.523e-06, allocations: 0 / 481.6 MB, free: 11.81 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.576e-05/1.728e-05, allocations: 3.094 kB / 481.6 MB, free: 11.8 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001709/0.001726, allocations: 1.468 MB / 483.1 MB, free: 10.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004766/0.006492, allocations: 4.028 MB / 487.1 MB, free: 8.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.258e-05/0.006544, allocations: 0.9375 kB / 487.1 MB, free: 8.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.006646, allocations: 12.73 kB / 487.1 MB, free: 8.402 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.00685, allocations: 30.94 kB / 487.1 MB, free: 8.387 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.002961/0.009812, allocations: 1.621 MB / 488.8 MB, free: 7.777 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.009958, allocations: 94.09 kB / 488.9 MB, free: 7.746 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.45e-05/0.01, allocations: 2.625 kB / 488.9 MB, free: 7.746 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.589e-05/0.0101, allocations: 65.42 kB / 488.9 MB, free: 7.723 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.01031, allocations: 143.8 kB / 489.1 MB, free: 7.695 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.875e-05/0.01035, allocations: 15.94 kB / 489.1 MB, free: 7.695 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002889/0.01324, allocations: 2.412 MB / 491.5 MB, free: 7.059 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001764/0.01342, allocations: 272.5 kB / 491.8 MB, free: 6.965 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.01357, allocations: 152.8 kB / 491.9 MB, free: 6.906 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00306/0.01663, allocations: 2.466 MB / 494.4 MB, free: 6.184 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.01663, allocations: 0 / 494.4 MB, free: 6.184 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.01663, allocations: 5.344 kB / 494.4 MB, free: 6.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.787e-05/0.01665, allocations: 0 / 494.4 MB, free: 6.18 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.006124/0.02277, allocations: 1.398 MB / 495.8 MB, free: 5.184 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.02281, allocations: 8.812 kB / 495.8 MB, free: 5.184 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003123/0.02313, allocations: 90.61 kB / 495.9 MB, free: 5.129 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.02344, allocations: 312.2 kB / 496.2 MB, free: 4.891 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.02345, allocations: 2.906 kB / 496.2 MB, free: 4.891 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.02348, allocations: 9.656 kB / 496.2 MB, free: 4.887 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003755/0.02386, allocations: 374.8 kB / 496.6 MB, free: 4.809 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.02386, allocations: 0 / 496.6 MB, free: 4.809 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.02388, allocations: 3.062 kB / 496.6 MB, free: 4.809 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.02388, allocations: 5.609 kB / 496.6 MB, free: 4.805 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/0.02421, allocations: 387.8 kB / 496.9 MB, free: 4.797 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005392/0.02474, allocations: 0.6351 MB / 497.6 MB, free: 4.418 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004455/0.02519, allocations: 0.5226 MB / 498.1 MB, free: 4.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/0.02544, allocations: 301 kB / 498.4 MB, free: 4.316 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004674/0.0259, allocations: 133 kB / 498.5 MB, free: 4.312 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003357/0.02624, allocations: 387.9 kB / 498.9 MB, free: 4.215 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.512e-06/0.02624, allocations: 5.219 kB / 498.9 MB, free: 4.211 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.001156/0.0274, allocations: 1.157 MB / 0.4883 GB, free: 4.113 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.02743, allocations: 89.66 kB / 0.4884 GB, free: 4.012 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.02848, allocations: 1.195 MB / 0.4896 GB, free: 3.402 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.02851, allocations: 29.7 kB / 0.4896 GB, free: 3.367 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.02877, allocations: 338.9 kB / 0.4899 GB, free: 19.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.0288, allocations: 32.56 kB / 0.49 GB, free: 19.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003232/0.02912, allocations: 406.4 kB / 0.4904 GB, free: 18.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.02922, allocations: 490.5 kB / 0.4908 GB, free: 18.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004739/0.0297, allocations: 0.6759 MB / 0.4915 GB, free: 17.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005469/0.03024, allocations: 0.8432 MB / 0.4923 GB, free: 16.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00204/0.03229, allocations: 2.626 MB / 0.4949 GB, free: 14.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.03229, allocations: 0.9062 kB / 0.4949 GB, free: 14.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003607/0.0359, allocations: 4.226 MB / 0.499 GB, free: 10.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.03591, allocations: 11.94 kB / 0.499 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.03593, allocations: 0.7031 kB / 0.499 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.03594, allocations: 4 kB / 0.499 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.03606, allocations: 24.5 kB / 0.499 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.03607, allocations: 4.75 kB / 0.4991 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000384/0.03645, allocations: 242 kB / 0.4993 GB, free: 9.832 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.03649, allocations: 29.92 kB / 0.4993 GB, free: 9.809 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.0001419/0.03664, allocations: 161.8 kB / 0.4995 GB, free: 9.641 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/0.03669, allocations: 78.12 kB / 0.4995 GB, free: 9.566 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007534/0.03745, allocations: 0.8465 MB / 0.5004 GB, free: 8.848 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.03745, allocations: 4.562 kB / 0.5004 GB, free: 8.844 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.03745, allocations: 3.984 kB / 0.5004 GB, free: 8.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.03746, allocations: 1.219 kB / 0.5004 GB, free: 8.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004559/0.03791, allocations: 0.4924 MB / 0.5009 GB, free: 8.387 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.03792, allocations: 0.7969 kB / 0.5009 GB, free: 8.387 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.393e-05/0.03796, allocations: 10.95 kB / 0.5009 GB, free: 8.379 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.03796, allocations: 0 / 0.5009 GB, free: 8.379 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.03798, allocations: 9.672 kB / 0.5009 GB, free: 8.371 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.03798, allocations: 0 / 0.5009 GB, free: 8.371 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.03798, allocations: 1.734 kB / 0.5009 GB, free: 8.371 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007409/0.03872, allocations: 0.9254 MB / 0.5018 GB, free: 7.547 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.715e-05/0.03879, allocations: 85.23 kB / 0.5019 GB, free: 7.465 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.074e-05/0.03884, allocations: 5.156 kB / 0.5019 GB, free: 7.461 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.012e-05/0.03893, allocations: 5.688 kB / 0.5019 GB, free: 7.457 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.03897, allocations: 11.84 kB / 0.5019 GB, free: 7.449 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/0.03899, allocations: 17.23 kB / 0.5019 GB, free: 7.438 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005211/0.03952, allocations: 0.5574 MB / 0.5024 GB, free: 6.965 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03952, allocations: 4.688 kB / 0.5025 GB, free: 6.961 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001804/0.04132, allocations: 0.5767 MB / 0.503 GB, free: 6.383 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.001572/0.04289, allocations: 0.802 MB / 0.5038 GB, free: 5.617 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.04409, allocations: 1.415 MB / 0.5052 GB, free: 4.184 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.04409, allocations: 0 / 0.5052 GB, free: 4.184 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.04432, allocations: 304.6 kB / 0.5055 GB, free: 3.883 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.0446, allocations: 40.59 kB / 0.5055 GB, free: 3.844 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.04617, allocations: 1.587 MB / 0.5071 GB, free: 2.223 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.0463, allocations: 191.7 kB / 0.5072 GB, free: 2.016 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.943e-05/0.0464, allocations: 27.84 kB / 0.5073 GB, free: 1.992 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.314e-05/0.04648, allocations: 28.47 kB / 0.5073 GB, free: 1.965 MB / 426.7 MB Notification: Performance of SimCode: time 8.32e-07/0.04648, allocations: 1.281 kB / 0.5073 GB, free: 1.965 MB / 426.7 MB Notification: Performance of Templates: time 0.0157/0.06219, allocations: 14.36 MB / 0.5213 GB, free: 3.766 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.8648117701523006]