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.001392/0.001392, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 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.00228/0.00228, allocations: 209.3 kB / 22.99 MB, free: 4.605 MB / 14.72 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 1.012/1.012, allocations: 149.9 MB / 463 MB, free: 10.35 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 75.39 kB / 0.6416 GB, free: 9.566 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1934, allocations: 89.18 MB / 0.7287 GB, free: 484 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002976/0.1964, allocations: 1.418 MB / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007173/0.2036, allocations: 3.842 MB / 0.7338 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.876e-05/0.2037, allocations: 0 / 0.7338 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.2038, allocations: 11.86 kB / 0.7339 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002614/0.2041, allocations: 35.78 kB / 0.7339 GB, free: 11.14 MB / 0.5606 GB [/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.004608/0.2087, allocations: 1.59 MB / 0.7354 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.2088, allocations: 87.75 kB / 0.7355 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.935e-05/0.2089, allocations: 11.97 kB / 0.7355 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.273e-05/0.209, allocations: 55.77 kB / 0.7356 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002418/0.2092, allocations: 143.6 kB / 0.7357 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.609e-05/0.2093, allocations: 12 kB / 0.7357 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004514/0.2138, allocations: 2.402 MB / 0.7381 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002574/0.214, allocations: 263.9 kB / 0.7383 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002443/0.2143, allocations: 230.8 kB / 0.7386 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003783/0.218, allocations: 2.138 MB / 0.7406 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2181, allocations: 0 / 0.7406 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2181, allocations: 3.938 kB / 0.7406 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.2181, allocations: 0 / 0.7406 GB, free: 4.211 MB / 0.5606 GB 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.01049/0.2286, allocations: 1.264 MB / 0.7419 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.292e-05/0.2286, allocations: 8.031 kB / 0.7419 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004569/0.2291, allocations: 100.2 kB / 0.742 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004733/0.2295, allocations: 311.1 kB / 0.7423 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.2296, allocations: 4.375 kB / 0.7423 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.751e-05/0.2296, allocations: 11.94 kB / 0.7423 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005126/0.2301, allocations: 383.2 kB / 0.7427 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.2301, allocations: 0 / 0.7427 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.2302, allocations: 7.984 kB / 0.7427 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.2302, allocations: 0 / 0.7427 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005126/0.2307, allocations: 435.7 kB / 0.7431 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000639/0.2313, allocations: 0.5771 MB / 0.7436 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006485/0.232, allocations: 0.5555 MB / 0.7442 GB, free: 456 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003776/0.2323, allocations: 333.7 kB / 0.7445 GB, free: 116 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007511/0.2331, allocations: 139.8 kB / 0.7446 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004738/0.2336, allocations: 404.9 kB / 0.745 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.2336, allocations: 0 / 0.745 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.001588/0.2352, allocations: 1.289 MB / 0.7463 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/0.2352, allocations: 81.11 kB / 0.7464 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.2366, allocations: 1.223 MB / 0.7476 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.025e-05/0.2366, allocations: 33.81 kB / 0.7476 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.2369, allocations: 265.9 kB / 0.7478 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.895e-05/0.2369, allocations: 23.83 kB / 0.7479 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003696/0.2373, allocations: 351.6 kB / 0.7482 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.2374, allocations: 310 kB / 0.7485 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001466/0.2389, allocations: 1.373 MB / 0.7498 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001612/0.2405, allocations: 1.501 MB / 0.7513 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007886/0.2484, allocations: 3.564 MB / 0.7548 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.2484, allocations: 3.938 kB / 0.7548 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005012/0.2534, allocations: 4.007 MB / 0.7587 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.2534, allocations: 10.03 kB / 0.7587 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/0.2534, allocations: 3.984 kB / 0.7587 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.2535, allocations: 4 kB / 0.7587 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.2536, allocations: 16.03 kB / 0.7587 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.2536, allocations: 0 / 0.7587 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000554/0.2542, allocations: 241.3 kB / 0.759 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.132e-05/0.2542, allocations: 23.98 kB / 0.759 GB, free: 1.062 MB / 0.5762 GB 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.0003422/0.2546, allocations: 241.6 kB / 0.7592 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.61e-05/0.2547, allocations: 71.28 kB / 0.7593 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3692/0.6238, allocations: 0.9393 MB / 0.7602 GB, free: 35.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.6239, allocations: 4.344 kB / 0.7602 GB, free: 35.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.6239, allocations: 1.188 kB / 0.7602 GB, free: 35.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.6239, allocations: 1.188 kB / 0.7602 GB, free: 35.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004497/0.6243, allocations: 444.6 kB / 0.7606 GB, free: 35.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.6243, allocations: 2.719 kB / 0.7606 GB, free: 35.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.6244, allocations: 9.078 kB / 0.7606 GB, free: 35.08 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.6244, allocations: 1.75 kB / 0.7606 GB, free: 35.08 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.6244, allocations: 5 kB / 0.7606 GB, free: 35.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.6245, allocations: 1.031 kB / 0.7606 GB, free: 35.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6245, allocations: 1.531 kB / 0.7607 GB, free: 35.08 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00085/0.6253, allocations: 1.01 MB / 0.7616 GB, free: 34.99 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-05/0.6254, allocations: 82.39 kB / 0.7617 GB, free: 34.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.789e-05/0.6254, allocations: 2.75 kB / 0.7617 GB, free: 34.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.6256, allocations: 8.484 kB / 0.7617 GB, free: 34.93 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.6256, allocations: 5.906 kB / 0.7617 GB, free: 34.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.554e-05/0.6256, allocations: 16.7 kB / 0.7617 GB, free: 34.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005943/0.6262, allocations: 0.6678 MB / 0.7624 GB, free: 34.82 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6262, allocations: 4.344 kB / 0.7624 GB, free: 34.82 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001297/0.6275, allocations: 0.587 MB / 0.763 GB, free: 34.82 MB / 0.5762 GB 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.001834/0.6294, allocations: 0.7006 MB / 0.7637 GB, free: 34.69 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002412/0.6318, allocations: 2.003 MB / 0.7656 GB, free: 34.62 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6318, allocations: 0 / 0.7656 GB, free: 34.62 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004278/0.6322, allocations: 336.3 kB / 0.7659 GB, free: 34.62 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.6326, allocations: 46.56 kB / 0.766 GB, free: 34.62 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.6349, allocations: 1.768 MB / 0.7677 GB, free: 34.08 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.6353, allocations: 373.9 kB / 0.7681 GB, free: 33.98 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001589/0.6355, allocations: 36.02 kB / 0.7681 GB, free: 33.98 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.6356, allocations: 28.58 kB / 0.7681 GB, free: 33.98 MB / 0.5762 GB Notification: Performance of SimCode: time 6.51e-07/0.6356, allocations: 1.25 kB / 0.7681 GB, free: 33.98 MB / 0.5762 GB Notification: Performance of Templates: time 0.02707/0.6626, allocations: 14.95 MB / 0.7827 GB, free: 30.52 MB / 0.5762 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.60826145671308] Failed to read output from testmodel.py, exit status != 0: 0.6720838714390993 0.684770225 0.46379387099999997 Calling exit ...