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.001555/0.001555, allocations: 96.7 kB / 20.21 MB, free: 4.195 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.001628/0.001628, allocations: 157.3 kB / 23.51 MB, free: 0.8984 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 1.504/1.504, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 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 0.9519/0.9519, allocations: 115 MB / 375.3 MB, free: 7.566 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.843e-06/1.843e-06, allocations: 0 / 480.9 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.661e-05, allocations: 3.688 kB / 480.9 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003733/0.00376, allocations: 1.718 MB / 482.6 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.0139, allocations: 4.895 MB / 487.5 MB, free: 7.688 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.01409, allocations: 5.406 kB / 487.5 MB, free: 7.684 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001825/0.01592, allocations: 340.5 kB / 487.8 MB, free: 7.551 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.01616, allocations: 63.92 kB / 487.9 MB, free: 7.512 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.006065/0.02222, allocations: 1.606 MB / 489.5 MB, free: 6.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003847/0.02261, allocations: 169.1 kB / 489.7 MB, free: 6.844 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.566e-05/0.02266, allocations: 5.812 kB / 489.7 MB, free: 6.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.02281, allocations: 81.41 kB / 489.7 MB, free: 6.816 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000286/0.02309, allocations: 153.8 kB / 489.9 MB, free: 6.781 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.124e-05/0.02315, allocations: 16.16 kB / 489.9 MB, free: 6.781 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005797/0.02895, allocations: 2.406 MB / 492.3 MB, free: 6.145 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003213/0.02927, allocations: 291.3 kB / 492.6 MB, free: 6.039 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003289/0.0296, allocations: 162.1 kB / 492.8 MB, free: 5.984 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006564/0.03617, allocations: 2.525 MB / 495.3 MB, free: 5.234 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.03617, allocations: 0 / 495.3 MB, free: 5.234 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.03617, allocations: 0 / 495.3 MB, free: 5.234 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.03619, allocations: 2.125 kB / 495.3 MB, free: 5.234 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.0147/0.05089, allocations: 1.331 MB / 496.6 MB, free: 4.328 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.041e-05/0.05096, allocations: 11.25 kB / 496.6 MB, free: 4.328 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007864/0.05175, allocations: 104.9 kB / 496.7 MB, free: 4.266 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.05279, allocations: 354.9 kB / 497.1 MB, free: 4.012 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.05281, allocations: 5.344 kB / 497.1 MB, free: 4.012 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.149e-05/0.05287, allocations: 10.47 kB / 497.1 MB, free: 4.008 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008136/0.05368, allocations: 393.8 kB / 497.5 MB, free: 3.945 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.0537, allocations: 1.062 kB / 497.5 MB, free: 3.945 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.05372, allocations: 4.641 kB / 497.5 MB, free: 3.941 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.05372, allocations: 1.156 kB / 497.5 MB, free: 3.941 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009268/0.05465, allocations: 434.8 kB / 497.9 MB, free: 3.938 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000948/0.0556, allocations: 0.5953 MB / 498.5 MB, free: 3.605 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008449/0.05644, allocations: 0.5614 MB / 499.1 MB, free: 3.547 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004742/0.05692, allocations: 333.4 kB / 499.4 MB, free: 3.527 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008803/0.0578, allocations: 132.8 kB / 499.5 MB, free: 3.523 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004243/0.05822, allocations: 410.2 kB / 499.9 MB, free: 3.441 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.05822, allocations: 1.25 kB / 499.9 MB, free: 3.441 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.001438/0.05966, allocations: 1.309 MB / 0.4895 GB, free: 2.859 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.05969, allocations: 83.84 kB / 0.4896 GB, free: 2.762 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/0.06112, allocations: 1.293 MB / 0.4908 GB, free: 1.688 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001061/0.06122, allocations: 30.45 kB / 0.4909 GB, free: 1.652 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002512/0.06147, allocations: 290.7 kB / 0.4911 GB, free: 1.395 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.509e-05/0.06152, allocations: 22.48 kB / 0.4912 GB, free: 1.375 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004354/0.06195, allocations: 340.3 kB / 0.4915 GB, free: 1.105 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002365/0.06219, allocations: 322.2 kB / 0.4918 GB, free: 16.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/0.06383, allocations: 1.37 MB / 0.4931 GB, free: 15.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002619/0.06645, allocations: 1.508 MB / 0.4946 GB, free: 14.17 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01165/0.07811, allocations: 3.56 MB / 0.4981 GB, free: 10.76 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.07811, allocations: 0 / 0.4981 GB, free: 10.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.007993/0.08611, allocations: 4.025 MB / 0.502 GB, free: 6.805 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.08614, allocations: 15.47 kB / 0.502 GB, free: 6.793 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/0.08616, allocations: 0 / 0.502 GB, free: 6.793 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.08619, allocations: 7.031 kB / 0.502 GB, free: 6.789 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.08639, allocations: 19.97 kB / 0.502 GB, free: 6.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.08639, allocations: 0 / 0.502 GB, free: 6.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009308/0.08733, allocations: 245.3 kB / 0.5023 GB, free: 6.527 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.868e-05/0.08741, allocations: 19.98 kB / 0.5023 GB, free: 6.508 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 (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.0007645/0.08818, allocations: 253.6 kB / 0.5025 GB, free: 6.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.08834, allocations: 83.73 kB / 0.5026 GB, free: 6.168 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0019/0.09024, allocations: 0.9422 MB / 0.5035 GB, free: 5.223 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.09025, allocations: 0.9375 kB / 0.5035 GB, free: 5.223 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.09025, allocations: 4 kB / 0.5035 GB, free: 5.219 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.09026, allocations: 3.938 kB / 0.5035 GB, free: 5.215 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008595/0.09112, allocations: 469 kB / 0.504 GB, free: 4.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.09112, allocations: 4 kB / 0.504 GB, free: 4.727 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.09124, allocations: 9.344 kB / 0.504 GB, free: 4.719 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.09124, allocations: 0 / 0.504 GB, free: 4.719 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.09127, allocations: 11.92 kB / 0.504 GB, free: 4.707 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.09127, allocations: 0.7188 kB / 0.504 GB, free: 4.707 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.09127, allocations: 0 / 0.504 GB, free: 4.707 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.093, allocations: 1.016 MB / 0.505 GB, free: 3.672 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/0.0932, allocations: 87.23 kB / 0.5051 GB, free: 3.582 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.09332, allocations: 9.219 kB / 0.5051 GB, free: 3.574 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.09358, allocations: 3.984 kB / 0.5051 GB, free: 3.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.555e-05/0.09363, allocations: 11.94 kB / 0.5051 GB, free: 3.559 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.533e-05/0.09369, allocations: 16.66 kB / 0.5051 GB, free: 3.543 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001357/0.09505, allocations: 0.7239 MB / 0.5058 GB, free: 2.816 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.09505, allocations: 0 / 0.5058 GB, free: 2.816 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003384/0.09843, allocations: 0.5884 MB / 0.5064 GB, free: 2.227 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.003702/0.1021, allocations: 0.7845 MB / 0.5072 GB, free: 1.473 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003991/0.1061, allocations: 2.005 MB / 0.5091 GB, free: 15.46 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.1061, allocations: 0 / 0.5091 GB, free: 15.46 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006145/0.1067, allocations: 345 kB / 0.5095 GB, free: 15.12 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007695/0.1075, allocations: 58.23 kB / 0.5095 GB, free: 15.07 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003801/0.1113, allocations: 1.908 MB / 0.5114 GB, free: 13.13 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007301/0.112, allocations: 403.6 kB / 0.5118 GB, free: 12.71 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000362/0.1124, allocations: 40.41 kB / 0.5118 GB, free: 12.68 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.1125, allocations: 32.47 kB / 0.5118 GB, free: 12.65 MB / 442.7 MB Notification: Performance of SimCode: time 1.573e-06/0.1125, allocations: 0 / 0.5118 GB, free: 12.65 MB / 442.7 MB Notification: Performance of Templates: time 0.04342/0.156, allocations: 14.75 MB / 0.5262 GB, free: 14.08 MB / 458.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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.456623588921502]