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.0007783/0.0007783, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007565/0.0007565, allocations: 165.9 kB / 23.96 MB, free: 0.5938 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.9088/0.9088, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.5535/0.5535, allocations: 114 MB / 374.7 MB, free: 8.703 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.563e-06/1.563e-06, allocations: 0 / 0.5555 GB, free: 2.191 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.313e-05, allocations: 2.281 kB / 0.5555 GB, free: 2.188 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001686/0.001709, allocations: 1.428 MB / 0.5569 GB, free: 0.7539 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.004342/0.006051, allocations: 3.852 MB / 0.5607 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.223e-05/0.006093, allocations: 0 / 0.5607 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.006206, allocations: 11.86 kB / 0.5607 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.006412, allocations: 31.78 kB / 0.5607 GB, free: 12.84 MB / 0.5261 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.002231/0.008643, allocations: 1.602 MB / 0.5623 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.008751, allocations: 95.66 kB / 0.5624 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.549e-05/0.008787, allocations: 4 kB / 0.5624 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 7.478e-05/0.008861, allocations: 59.81 kB / 0.5624 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.009025, allocations: 143.7 kB / 0.5626 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.009051, allocations: 12 kB / 0.5626 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002166/0.01122, allocations: 2.402 MB / 0.5649 GB, free: 8.527 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.01137, allocations: 283.8 kB / 0.5652 GB, free: 8.25 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.01148, allocations: 152 kB / 0.5653 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002256/0.01374, allocations: 2.447 MB / 0.5677 GB, free: 5.645 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.01374, allocations: 0 / 0.5677 GB, free: 5.645 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.232e-06/0.01374, allocations: 4 kB / 0.5677 GB, free: 5.641 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.01375, allocations: 4 kB / 0.5677 GB, free: 5.637 MB / 0.5261 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.004042/0.01779, allocations: 1.264 MB / 0.569 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.01783, allocations: 12.62 kB / 0.569 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002514/0.01808, allocations: 88.25 kB / 0.5691 GB, free: 4.238 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.01837, allocations: 314.3 kB / 0.5694 GB, free: 3.895 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.01838, allocations: 8.359 kB / 0.5694 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.01841, allocations: 8.375 kB / 0.5694 GB, free: 3.879 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.01872, allocations: 395.3 kB / 0.5697 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.01873, allocations: 0 / 0.5697 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.01874, allocations: 0 / 0.5697 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.01875, allocations: 0 / 0.5697 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002804/0.01903, allocations: 439.7 kB / 0.5702 GB, free: 3.051 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.01941, allocations: 0.5693 MB / 0.5707 GB, free: 2.449 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003407/0.01975, allocations: 0.5555 MB / 0.5713 GB, free: 1.875 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.01994, allocations: 337.7 kB / 0.5716 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004044/0.02035, allocations: 143.7 kB / 0.5717 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002714/0.02062, allocations: 404.8 kB / 0.5721 GB, free: 0.9844 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.02062, allocations: 0 / 0.5721 GB, free: 0.9844 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.001059/0.02168, allocations: 1.297 MB / 0.5734 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.02172, allocations: 85.11 kB / 0.5735 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007538/0.02248, allocations: 1.215 MB / 0.5746 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.0225, allocations: 29.7 kB / 0.5747 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.02263, allocations: 265.9 kB / 0.5749 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.02266, allocations: 19.86 kB / 0.5749 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002058/0.02287, allocations: 347.6 kB / 0.5753 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.872e-05/0.02295, allocations: 318 kB / 0.5756 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008653/0.02381, allocations: 1.373 MB / 0.5769 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008434/0.02466, allocations: 1.505 MB / 0.5784 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004556/0.02921, allocations: 3.553 MB / 0.5819 GB, free: 6.832 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.02921, allocations: 0 / 0.5819 GB, free: 6.832 MB / 0.5417 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002845/0.03206, allocations: 4.011 MB / 0.5858 GB, free: 2.785 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.03208, allocations: 11.94 kB / 0.5858 GB, free: 2.773 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.03209, allocations: 0 / 0.5858 GB, free: 2.773 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.03211, allocations: 4 kB / 0.5858 GB, free: 2.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.76e-05/0.0322, allocations: 19.97 kB / 0.5858 GB, free: 2.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.0322, allocations: 320 / 0.5858 GB, free: 2.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.03247, allocations: 241.3 kB / 0.586 GB, free: 2.512 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.0325, allocations: 27.92 kB / 0.5861 GB, free: 2.484 MB / 0.5417 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.0002114/0.03271, allocations: 245.7 kB / 0.5863 GB, free: 2.234 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.03276, allocations: 71.28 kB / 0.5864 GB, free: 2.164 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008156/0.03357, allocations: 0.9439 MB / 0.5873 GB, free: 1.211 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.03357, allocations: 4 kB / 0.5873 GB, free: 1.207 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.03358, allocations: 0 / 0.5873 GB, free: 1.207 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.03359, allocations: 4 kB / 0.5873 GB, free: 1.203 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.03385, allocations: 447.3 kB / 0.5877 GB, free: 0.7383 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.03385, allocations: 0 / 0.5877 GB, free: 0.7383 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.673e-05/0.03389, allocations: 8.031 kB / 0.5877 GB, free: 0.7305 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.03389, allocations: 4 kB / 0.5877 GB, free: 0.7266 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.0339, allocations: 7.922 kB / 0.5877 GB, free: 0.7188 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.03391, allocations: 0 / 0.5877 GB, free: 0.7188 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.03391, allocations: 0 / 0.5877 GB, free: 0.7188 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005788/0.03449, allocations: 1.002 MB / 0.5887 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.428e-05/0.03454, allocations: 83.33 kB / 0.5888 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.03458, allocations: 7.938 kB / 0.5888 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.256e-05/0.03464, allocations: 8 kB / 0.5888 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.03468, allocations: 7.984 kB / 0.5888 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/0.0347, allocations: 11.98 kB / 0.5888 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000462/0.03517, allocations: 0.6766 MB / 0.5895 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.41e-07/0.03517, allocations: 0 / 0.5895 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001184/0.03635, allocations: 0.5806 MB / 0.5901 GB, free: 14.31 MB / 0.5573 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.001288/0.03764, allocations: 0.7854 MB / 0.5908 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001252/0.03889, allocations: 2.001 MB / 0.5928 GB, free: 11.53 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.03889, allocations: 0 / 0.5928 GB, free: 11.53 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.03909, allocations: 335.7 kB / 0.5931 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.03931, allocations: 36.61 kB / 0.5931 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.0408, allocations: 1.815 MB / 0.5949 GB, free: 9.305 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.04101, allocations: 376.1 kB / 0.5953 GB, free: 8.914 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.935e-05/0.04108, allocations: 28.47 kB / 0.5953 GB, free: 8.887 MB / 0.5573 GB Notification: Performance of SimCode: time 5.21e-07/0.04108, allocations: 0 / 0.5953 GB, free: 8.887 MB / 0.5573 GB Notification: Performance of Templates: time 0.01253/0.05361, allocations: 14.39 MB / 0.6094 GB, free: 10.51 MB / 0.573 GB " [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=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.804291382431984] Failed to read output from testmodel.py, exit status != 0: 0.058963255025446415 0.066371657 0.050981925000000004 Calling exit ...