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_SmallScaleValidation.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.0009252/0.0009252, allocations: 72.95 kB / 20.72 MB, free: 3.766 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.0009561/0.0009561, allocations: 169 kB / 24.14 MB, free: 352 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.9685/0.9685, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.6382/0.6382, allocations: 115 MB / 376 MB, free: 7.48 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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 428.9 MB, free: 2.633 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.676e-05/1.856e-05, allocations: 6.25 kB / 428.9 MB, free: 2.625 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002935/0.002954, allocations: 1.836 MB / 430.7 MB, free: 0.7773 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.007793/0.01075, allocations: 5.213 MB / 435.9 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.138e-05/0.01084, allocations: 0 / 435.9 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.01203, allocations: 370.2 kB / 436.3 MB, free: 11.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.01215, allocations: 63.61 kB / 436.3 MB, free: 11.12 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.00333/0.01548, allocations: 1.441 MB / 437.8 MB, free: 9.668 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.01575, allocations: 171.3 kB / 437.9 MB, free: 9.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.777e-05/0.01579, allocations: 10.45 kB / 438 MB, free: 9.488 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.01591, allocations: 83.72 kB / 438 MB, free: 9.406 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.01603, allocations: 57.12 kB / 438.1 MB, free: 9.352 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.01605, allocations: 12 kB / 438.1 MB, free: 9.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003855/0.0199, allocations: 2.584 MB / 440.7 MB, free: 6.758 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002175/0.02012, allocations: 259.3 kB / 440.9 MB, free: 6.504 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.02027, allocations: 139.3 kB / 441.1 MB, free: 6.367 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003/0.02327, allocations: 2.376 MB / 443.5 MB, free: 3.984 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.02327, allocations: 4 kB / 443.5 MB, free: 3.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.02327, allocations: 4 kB / 443.5 MB, free: 3.977 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.02328, allocations: 0 / 443.5 MB, free: 3.977 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.001713/0.02499, allocations: 1.267 MB / 444.7 MB, free: 2.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.02503, allocations: 8.031 kB / 444.7 MB, free: 2.672 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002828/0.02531, allocations: 36.89 kB / 444.8 MB, free: 2.637 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.02571, allocations: 335.7 kB / 445.1 MB, free: 2.273 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.02572, allocations: 4.359 kB / 445.1 MB, free: 2.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/0.02576, allocations: 20.36 kB / 445.1 MB, free: 2.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.02601, allocations: 232.1 kB / 445.4 MB, free: 2.008 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.02602, allocations: 0 / 445.4 MB, free: 2.008 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.02603, allocations: 0 / 445.4 MB, free: 2.008 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.02604, allocations: 0 / 445.4 MB, free: 2.008 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.02621, allocations: 199.8 kB / 445.5 MB, free: 1.812 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002872/0.0265, allocations: 256.5 kB / 445.8 MB, free: 1.543 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.02675, allocations: 281 kB / 446.1 MB, free: 1.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.02689, allocations: 161.6 kB / 446.2 MB, free: 1.086 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003624/0.02726, allocations: 124.1 kB / 446.4 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00023/0.02749, allocations: 229 kB / 446.6 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.02749, allocations: 0 / 446.6 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005312/0.02802, allocations: 0.4895 MB / 447.1 MB, free: 232 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.02806, allocations: 89.22 kB / 447.2 MB, free: 124 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2042/0.2322, allocations: 1.046 MB / 448.2 MB, free: 22.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.834e-05/0.2323, allocations: 30.39 kB / 448.2 MB, free: 22.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.2324, allocations: 275.6 kB / 448.5 MB, free: 22.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.81e-05/0.2325, allocations: 27.42 kB / 448.5 MB, free: 22.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000278/0.2328, allocations: 332.6 kB / 448.8 MB, free: 22.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.646e-05/0.2328, allocations: 319.8 kB / 449.2 MB, free: 22.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004465/0.2333, allocations: 0.5104 MB / 449.7 MB, free: 22.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005597/0.2338, allocations: 0.6009 MB / 450.3 MB, free: 22.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001944/0.2358, allocations: 2.235 MB / 452.5 MB, free: 21.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.2358, allocations: 2.656 kB / 452.5 MB, free: 21.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003466/0.2392, allocations: 3.726 MB / 456.2 MB, free: 20.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.2393, allocations: 3.844 kB / 456.2 MB, free: 20.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/0.2393, allocations: 1.109 kB / 456.2 MB, free: 20.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.2393, allocations: 7.094 kB / 456.2 MB, free: 20.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.2394, allocations: 28.8 kB / 456.3 MB, free: 20.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.2395, allocations: 0.5625 kB / 456.3 MB, free: 20.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003316/0.2398, allocations: 239.8 kB / 456.5 MB, free: 20.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.2398, allocations: 24.39 kB / 456.5 MB, free: 20.2 MB / 410.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 (labels[1],cluSiz[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.0001725/0.24, allocations: 123.8 kB / 456.7 MB, free: 20.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/0.24, allocations: 15.73 kB / 456.7 MB, free: 20.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009878/0.241, allocations: 370.5 kB / 457 MB, free: 20.03 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.241, allocations: 3.562 kB / 457 MB, free: 20.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.241, allocations: 3.125 kB / 457 MB, free: 20.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.241, allocations: 0.6094 kB / 457 MB, free: 20.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003089/0.2414, allocations: 305.3 kB / 457.3 MB, free: 19.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2414, allocations: 2.109 kB / 457.3 MB, free: 19.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-05/0.2414, allocations: 8.25 kB / 457.3 MB, free: 19.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.2414, allocations: 4.047 kB / 457.4 MB, free: 19.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.2414, allocations: 6 kB / 457.4 MB, free: 19.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.2414, allocations: 3.062 kB / 457.4 MB, free: 19.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2415, allocations: 0.8438 kB / 457.4 MB, free: 19.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/0.2418, allocations: 376.4 kB / 457.7 MB, free: 19.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.794e-05/0.2418, allocations: 92.11 kB / 457.8 MB, free: 19.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.2419, allocations: 6.578 kB / 457.8 MB, free: 19.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.634e-05/0.242, allocations: 8.297 kB / 457.8 MB, free: 19.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.242, allocations: 8.359 kB / 457.8 MB, free: 19.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.538e-05/0.242, allocations: 13.45 kB / 457.9 MB, free: 19.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003309/0.2424, allocations: 428.3 kB / 458.3 MB, free: 19.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2424, allocations: 0 / 458.3 MB, free: 19.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001131/0.2435, allocations: 0.5901 MB / 458.9 MB, free: 19.77 MB / 410.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.001629/0.2451, allocations: 0.7981 MB / 459.7 MB, free: 19.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008627/0.246, allocations: 0.9665 MB / 460.6 MB, free: 18.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-05/0.246, allocations: 15.38 kB / 460.6 MB, free: 18.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.2461, allocations: 166.4 kB / 460.8 MB, free: 18.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.2464, allocations: 55.53 kB / 460.9 MB, free: 18.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.2477, allocations: 1.554 MB / 462.4 MB, free: 17.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.2478, allocations: 193.2 kB / 462.6 MB, free: 17.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.2479, allocations: 36.97 kB / 462.6 MB, free: 17.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.2481, allocations: 90.62 kB / 462.7 MB, free: 17.01 MB / 410.7 MB Notification: Performance of SimCode: time 1.593e-06/0.2481, allocations: 0 / 462.7 MB, free: 17.01 MB / 410.7 MB Notification: Performance of Templates: time 0.01905/0.2671, allocations: 16.26 MB / 479 MB, free: 3.242 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.387136607896537]