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.0008818/0.0008818, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.0009835/0.0009835, allocations: 173 kB / 24.84 MB, free: 9.258 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.8986/0.8986, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.626/0.626, allocations: 115 MB / 376.8 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.763e-06/1.763e-06, allocations: 0 / 482.8 MB, free: 11.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.189e-05, allocations: 4.562 kB / 482.8 MB, free: 11.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002876/0.002898, allocations: 1.795 MB / 484.6 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007004/0.009902, allocations: 5.113 MB / 489.8 MB, free: 7.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.01003, allocations: 1.219 kB / 489.8 MB, free: 7.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009157/0.01095, allocations: 341.6 kB / 490.1 MB, free: 7.117 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.867e-05/0.01103, allocations: 69.02 kB / 490.2 MB, free: 7.078 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.002684/0.01371, allocations: 1.63 MB / 491.8 MB, free: 6.469 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.01387, allocations: 168 kB / 491.9 MB, free: 6.402 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.378e-05/0.0139, allocations: 11.41 kB / 492 MB, free: 6.398 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.387e-05/0.01398, allocations: 80.31 kB / 492 MB, free: 6.375 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.676e-05/0.01406, allocations: 60.42 kB / 492.1 MB, free: 6.359 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.01408, allocations: 4.812 kB / 492.1 MB, free: 6.359 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002068/0.01615, allocations: 2.424 MB / 494.5 MB, free: 5.723 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.01628, allocations: 266 kB / 494.8 MB, free: 5.621 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.616e-05/0.01638, allocations: 138.8 kB / 494.9 MB, free: 5.574 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001998/0.01838, allocations: 2.374 MB / 497.3 MB, free: 4.855 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.01838, allocations: 0.5625 kB / 497.3 MB, free: 4.855 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.01838, allocations: 6.531 kB / 497.3 MB, free: 4.852 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.01839, allocations: 0 / 497.3 MB, free: 4.852 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.001164/0.01955, allocations: 1.447 MB / 498.7 MB, free: 3.801 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.01958, allocations: 9.344 kB / 498.8 MB, free: 3.801 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002247/0.0198, allocations: 105.2 kB / 498.9 MB, free: 3.738 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.02006, allocations: 345.3 kB / 499.2 MB, free: 3.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.02007, allocations: 2.656 kB / 499.2 MB, free: 3.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.0201, allocations: 9.875 kB / 499.2 MB, free: 3.477 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.0203, allocations: 230.5 kB / 499.4 MB, free: 3.402 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.0203, allocations: 5.094 kB / 499.4 MB, free: 3.398 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.02031, allocations: 0.6562 kB / 499.4 MB, free: 3.398 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.02032, allocations: 2.844 kB / 499.4 MB, free: 3.398 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.02047, allocations: 200.1 kB / 499.6 MB, free: 3.395 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/0.02081, allocations: 0.4994 MB / 0.4884 GB, free: 3.082 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.02102, allocations: 303.8 kB / 0.4887 GB, free: 3.004 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.02114, allocations: 162.3 kB / 0.4889 GB, free: 2.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000286/0.02142, allocations: 129 kB / 0.489 GB, free: 2.973 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.0216, allocations: 236.7 kB / 0.4892 GB, free: 2.887 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.0216, allocations: 3.938 kB / 0.4892 GB, free: 2.883 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006305/0.02223, allocations: 0.7652 MB / 0.49 GB, free: 2.773 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.02226, allocations: 84.95 kB / 0.49 GB, free: 2.676 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008211/0.02308, allocations: 1.278 MB / 0.4913 GB, free: 18.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.02311, allocations: 27.83 kB / 0.4913 GB, free: 18.01 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.02328, allocations: 383.1 kB / 0.4917 GB, free: 17.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.02331, allocations: 29.72 kB / 0.4917 GB, free: 17.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002888/0.0236, allocations: 425.7 kB / 0.4921 GB, free: 17.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.0237, allocations: 0.4964 MB / 0.4926 GB, free: 17.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/0.02395, allocations: 497 kB / 0.4931 GB, free: 16.56 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/0.02426, allocations: 0.6616 MB / 0.4937 GB, free: 15.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00172/0.02598, allocations: 2.258 MB / 0.4959 GB, free: 13.78 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.02599, allocations: 0 / 0.4959 GB, free: 13.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002506/0.02849, allocations: 3.853 MB / 0.4997 GB, free: 9.945 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.02851, allocations: 4.516 kB / 0.4997 GB, free: 9.941 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.02852, allocations: 8.641 kB / 0.4997 GB, free: 9.934 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.02853, allocations: 0 / 0.4997 GB, free: 9.934 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.823e-05/0.02862, allocations: 28.41 kB / 0.4997 GB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-06/0.02862, allocations: 0 / 0.4997 GB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/0.02888, allocations: 239.7 kB / 0.5 GB, free: 9.676 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/0.02892, allocations: 24.77 kB / 0.5 GB, free: 9.656 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 (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.0001238/0.02904, allocations: 162.1 kB / 0.5001 GB, free: 9.488 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.02908, allocations: 82.05 kB / 0.5002 GB, free: 9.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004473/0.02953, allocations: 0.5824 MB / 0.5008 GB, free: 8.914 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.02953, allocations: 0.6094 kB / 0.5008 GB, free: 8.914 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.02953, allocations: 0 / 0.5008 GB, free: 8.914 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.02954, allocations: 0.5625 kB / 0.5008 GB, free: 8.914 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.02982, allocations: 394.7 kB / 0.5012 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.02982, allocations: 4 kB / 0.5012 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.02985, allocations: 9.438 kB / 0.5012 GB, free: 8.539 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.02986, allocations: 0 / 0.5012 GB, free: 8.539 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.02986, allocations: 5.5 kB / 0.5012 GB, free: 8.535 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.02986, allocations: 0.75 kB / 0.5012 GB, free: 8.535 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.02987, allocations: 6.688 kB / 0.5012 GB, free: 8.531 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/0.03028, allocations: 0.6562 MB / 0.5018 GB, free: 7.934 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.213e-05/0.03034, allocations: 100.5 kB / 0.5019 GB, free: 7.836 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.594e-05/0.03038, allocations: 0.7031 kB / 0.5019 GB, free: 7.836 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.926e-05/0.03045, allocations: 5.125 kB / 0.5019 GB, free: 7.832 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.03047, allocations: 11.36 kB / 0.5019 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.0305, allocations: 18.58 kB / 0.502 GB, free: 7.812 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003622/0.03086, allocations: 0.5723 MB / 0.5025 GB, free: 7.332 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03086, allocations: 0 / 0.5025 GB, free: 7.332 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009424/0.0318, allocations: 0.5832 MB / 0.5031 GB, free: 6.77 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.001249/0.03305, allocations: 0.8 MB / 0.5039 GB, free: 6.074 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007959/0.03385, allocations: 1.088 MB / 0.5049 GB, free: 5.078 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.03385, allocations: 0 / 0.5049 GB, free: 5.078 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.03396, allocations: 169.6 kB / 0.5051 GB, free: 4.934 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.0342, allocations: 55.31 kB / 0.5051 GB, free: 4.883 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.03534, allocations: 1.546 MB / 0.5067 GB, free: 3.301 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.03546, allocations: 195.6 kB / 0.5068 GB, free: 3.09 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.482e-05/0.03554, allocations: 37.7 kB / 0.5069 GB, free: 3.055 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.03567, allocations: 118 kB / 0.507 GB, free: 2.941 MB / 426.7 MB Notification: Performance of SimCode: time 6.91e-07/0.03567, allocations: 3.938 kB / 0.507 GB, free: 2.938 MB / 426.7 MB Notification: Performance of Templates: time 0.01735/0.05303, allocations: 16.53 MB / 0.5231 GB, free: 2.586 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.878474779892713]