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.0009325/0.0009325, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001323/0.002256, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.0009697/0.0009697, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003614/0.004584, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9108/0.9108, allocations: 177.1 MB / 189.6 MB, free: 3.773 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1946/1.105, allocations: 53.65 MB / 243.2 MB, free: 2.344 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6655/0.6655, allocations: 119.1 MB / 363.1 MB, free: 4.941 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08894/0.7544, allocations: 37.86 MB / 400.9 MB, free: 15.31 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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 2.024e-06/2.024e-06, allocations: 0 / 402.3 MB, free: 13.94 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.2e-05/1.403e-05, allocations: 2.312 kB / 402.3 MB, free: 13.94 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001886/0.0019, allocations: 1.832 MB / 404.1 MB, free: 12.09 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005061/0.006961, allocations: 5.256 MB / 409.4 MB, free: 6.812 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.747e-05/0.007018, allocations: 3.938 kB / 409.4 MB, free: 6.809 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006289/0.007647, allocations: 350.3 kB / 409.7 MB, free: 6.465 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 6.756e-05/0.007715, allocations: 63.61 kB / 409.8 MB, free: 6.402 MB / 394.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.001857/0.009572, allocations: 1.421 MB / 411.2 MB, free: 4.977 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.009724, allocations: 167.3 kB / 411.4 MB, free: 4.812 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.382e-05/0.009758, allocations: 10.45 kB / 411.4 MB, free: 4.801 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.009864, allocations: 113.4 kB / 411.5 MB, free: 4.688 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.255e-05/0.009947, allocations: 61.11 kB / 411.5 MB, free: 4.629 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.009961, allocations: 4 kB / 411.5 MB, free: 4.625 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002254/0.01222, allocations: 2.538 MB / 414.1 MB, free: 2.09 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.01235, allocations: 255.2 kB / 414.3 MB, free: 1.84 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.429e-05/0.01244, allocations: 131.4 kB / 414.5 MB, free: 1.711 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001628/0.01407, allocations: 1.99 MB / 416.5 MB, free: 15.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.139e-05/0.01408, allocations: 0 / 416.5 MB, free: 15.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.01408, allocations: 0 / 416.5 MB, free: 15.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.0141, allocations: 3.984 kB / 416.5 MB, free: 15.71 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.001262/0.01536, allocations: 1.528 MB / 418 MB, free: 14.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.786e-05/0.01539, allocations: 11.89 kB / 418 MB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002039/0.01559, allocations: 114 kB / 418.1 MB, free: 14.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.01586, allocations: 327.8 kB / 418.4 MB, free: 13.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.01587, allocations: 4.375 kB / 418.4 MB, free: 13.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.01589, allocations: 12.36 kB / 418.4 MB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.01607, allocations: 232.1 kB / 418.7 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.01608, allocations: 0 / 418.7 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.463e-06/0.01609, allocations: 0 / 418.7 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.01609, allocations: 11.98 kB / 418.7 MB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.01621, allocations: 195.8 kB / 418.9 MB, free: 13.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002074/0.01642, allocations: 256.5 kB / 419.1 MB, free: 12.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.01659, allocations: 277 kB / 419.4 MB, free: 12.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.085e-05/0.01668, allocations: 169.8 kB / 419.6 MB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002591/0.01694, allocations: 123.9 kB / 419.7 MB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.01711, allocations: 233 kB / 419.9 MB, free: 12.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.01711, allocations: 0 / 419.9 MB, free: 12.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003578/0.01747, allocations: 497.3 kB / 420.4 MB, free: 11.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.01751, allocations: 85.11 kB / 420.5 MB, free: 11.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005442/0.01805, allocations: 1.045 MB / 421.5 MB, free: 10.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.01808, allocations: 37.69 kB / 421.6 MB, free: 10.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.01821, allocations: 277.7 kB / 421.8 MB, free: 10.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.01824, allocations: 23.83 kB / 421.9 MB, free: 10.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.01842, allocations: 331.2 kB / 422.2 MB, free: 9.773 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.435e-05/0.0185, allocations: 330 kB / 422.5 MB, free: 9.445 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/0.01881, allocations: 0.5136 MB / 423 MB, free: 8.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/0.01914, allocations: 0.5953 MB / 423.6 MB, free: 8.324 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.02055, allocations: 2.24 MB / 425.8 MB, free: 5.992 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.02055, allocations: 0 / 425.8 MB, free: 5.992 MB / 410.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002288/0.02284, allocations: 3.721 MB / 429.6 MB, free: 2.242 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.02285, allocations: 8 kB / 429.6 MB, free: 2.234 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.02286, allocations: 4.031 kB / 429.6 MB, free: 2.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.02287, allocations: 3.938 kB / 429.6 MB, free: 2.227 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.138e-05/0.02297, allocations: 35.98 kB / 429.6 MB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.02297, allocations: 3.938 kB / 429.6 MB, free: 2.188 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.02319, allocations: 233.4 kB / 429.8 MB, free: 1.957 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.02322, allocations: 23.97 kB / 429.9 MB, free: 1.934 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.0001104/0.02333, allocations: 124.1 kB / 430 MB, free: 1.805 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.02335, allocations: 11.98 kB / 430 MB, free: 1.793 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002806/0.02363, allocations: 387.6 kB / 430.4 MB, free: 1.402 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.02363, allocations: 7.938 kB / 430.4 MB, free: 1.395 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.02364, allocations: 0 / 430.4 MB, free: 1.395 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.02364, allocations: 0 / 430.4 MB, free: 1.395 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.02386, allocations: 303.2 kB / 430.7 MB, free: 1.082 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.02386, allocations: 0 / 430.7 MB, free: 1.082 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.643e-05/0.0239, allocations: 4 kB / 430.7 MB, free: 1.078 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.256e-05/0.02395, allocations: 91.22 kB / 430.8 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.02395, allocations: 4 kB / 430.8 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.02396, allocations: 4 kB / 430.8 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.02396, allocations: 7.969 kB / 430.8 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.02396, allocations: 4 kB / 430.8 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.02419, allocations: 375.4 kB / 431.2 MB, free: 0.582 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.02422, allocations: 4 kB / 431.2 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.189e-05/0.02428, allocations: 3.984 kB / 431.2 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.02431, allocations: 11.94 kB / 431.2 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.02433, allocations: 15.97 kB / 431.2 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000255/0.02458, allocations: 418.8 kB / 431.6 MB, free: 136 kB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02458, allocations: 0 / 431.6 MB, free: 136 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008827/0.02547, allocations: 0.5962 MB / 432.2 MB, free: 15.54 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.001181/0.02665, allocations: 0.839 MB / 433 MB, free: 14.74 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006432/0.02729, allocations: 0.969 MB / 434 MB, free: 13.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.0273, allocations: 12 kB / 434 MB, free: 13.74 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.72e-05/0.0274, allocations: 160.7 kB / 434.2 MB, free: 13.58 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.02761, allocations: 108.8 kB / 434.3 MB, free: 13.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.02921, allocations: 1.557 MB / 435.8 MB, free: 11.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.02931, allocations: 191.6 kB / 436 MB, free: 11.67 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.099e-05/0.02939, allocations: 37.45 kB / 436.1 MB, free: 11.63 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.02952, allocations: 87.34 kB / 436.2 MB, free: 11.55 MB / 426.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02952, allocations: 0 / 436.2 MB, free: 11.55 MB / 426.7 MB Notification: Performance of Templates: time 0.01734/0.04686, allocations: 16.35 MB / 452.5 MB, free: 11.36 MB / 442.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 -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: 3.9568488532677293]