Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0006539/0.0006539, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009267/0.001581, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006882/0.0006882, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009346/0.001623, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9681/0.9681, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07332/1.041, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.841/1.841, allocations: 390 MB / 0.6193 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4265/2.267, allocations: 127.1 MB / 0.7435 GB, free: 4.551 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.7449 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.582e-05, allocations: 2.312 kB / 0.7449 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001978/0.001993, allocations: 1.861 MB / 0.7467 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.005238/0.007231, allocations: 5.236 MB / 0.7518 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.895e-05/0.00733, allocations: 7.938 kB / 0.7518 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0008379/0.008168, allocations: 357.1 kB / 0.7522 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.829e-05/0.008257, allocations: 63.61 kB / 0.7522 GB, free: 11.69 MB / 0.7292 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.002633/0.01089, allocations: 1.416 MB / 0.7536 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.01111, allocations: 164.8 kB / 0.7538 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.878e-05/0.01115, allocations: 10.45 kB / 0.7538 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.01127, allocations: 114.4 kB / 0.7539 GB, free: 9.992 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.923e-05/0.01137, allocations: 61.12 kB / 0.7539 GB, free: 9.934 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.01138, allocations: 4.5 kB / 0.7539 GB, free: 9.93 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003081/0.01447, allocations: 2.547 MB / 0.7564 GB, free: 7.391 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.01465, allocations: 256.5 kB / 0.7567 GB, free: 7.141 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.01476, allocations: 131.4 kB / 0.7568 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.002492/0.01726, allocations: 1.98 MB / 0.7587 GB, free: 5.027 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.01727, allocations: 0 / 0.7587 GB, free: 5.027 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.453e-06/0.01727, allocations: 0 / 0.7587 GB, free: 5.027 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.593e-05/0.01728, allocations: 1.219 kB / 0.7587 GB, free: 5.027 MB / 0.7292 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.001824/0.01911, allocations: 1.528 MB / 0.7602 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.01914, allocations: 8.688 kB / 0.7602 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002532/0.01939, allocations: 115.1 kB / 0.7603 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.0197, allocations: 339.7 kB / 0.7607 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.01971, allocations: 9.031 kB / 0.7607 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.01974, allocations: 8.375 kB / 0.7607 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.01994, allocations: 221.6 kB / 0.7609 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.01994, allocations: 1.906 kB / 0.7609 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.01995, allocations: 384 / 0.7609 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001164/0.02007, allocations: 188.8 kB / 0.7611 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.02018, allocations: 199.8 kB / 0.7613 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002253/0.02041, allocations: 281.7 kB / 0.7615 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.0206, allocations: 281.1 kB / 0.7618 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.23e-05/0.02069, allocations: 154.6 kB / 0.762 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003006/0.02099, allocations: 128.7 kB / 0.7621 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.02119, allocations: 234.4 kB / 0.7623 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.02119, allocations: 0 / 0.7623 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0005418/0.02173, allocations: 0.4951 MB / 0.7628 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.02177, allocations: 81.11 kB / 0.7629 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005601/0.02233, allocations: 1.061 MB / 0.7639 GB, free: 15.56 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.02236, allocations: 46.56 kB / 0.7639 GB, free: 15.51 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.0225, allocations: 286.3 kB / 0.7642 GB, free: 15.23 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.02253, allocations: 28.56 kB / 0.7642 GB, free: 15.2 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002241/0.02276, allocations: 376.2 kB / 0.7646 GB, free: 14.83 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 7.429e-05/0.02283, allocations: 322.9 kB / 0.7649 GB, free: 14.51 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003191/0.02315, allocations: 490.9 kB / 0.7654 GB, free: 14.02 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003593/0.02351, allocations: 0.6011 MB / 0.766 GB, free: 13.42 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007825/0.02429, allocations: 1.342 MB / 0.7673 GB, free: 12.05 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.02429, allocations: 0 / 0.7673 GB, free: 12.05 MB / 0.7449 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002284/0.02658, allocations: 3.093 MB / 0.7703 GB, free: 8.926 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.02659, allocations: 6.781 kB / 0.7703 GB, free: 8.922 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.02661, allocations: 7.984 kB / 0.7703 GB, free: 8.914 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.02663, allocations: 4 kB / 0.7703 GB, free: 8.91 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/0.02705, allocations: 179.8 kB / 0.7705 GB, free: 8.734 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.02705, allocations: 12 kB / 0.7705 GB, free: 8.723 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.02733, allocations: 249.3 kB / 0.7707 GB, free: 8.477 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/0.02736, allocations: 19.98 kB / 0.7707 GB, free: 8.457 MB / 0.7449 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 (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 (92): * Single equations (assignments): 89 * Array equations: 1 * 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.0001447/0.0275, allocations: 147.5 kB / 0.7709 GB, free: 8.305 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.02753, allocations: 11.98 kB / 0.7709 GB, free: 8.293 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002939/0.02782, allocations: 372.3 kB / 0.7713 GB, free: 7.926 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.02783, allocations: 4 kB / 0.7713 GB, free: 7.922 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.02783, allocations: 0 / 0.7713 GB, free: 7.922 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.02783, allocations: 7.922 kB / 0.7713 GB, free: 7.914 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.02805, allocations: 295.2 kB / 0.7715 GB, free: 7.609 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.02805, allocations: 6.438 kB / 0.7716 GB, free: 7.605 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.541e-05/0.02809, allocations: 11.92 kB / 0.7716 GB, free: 7.594 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.02815, allocations: 87.25 kB / 0.7716 GB, free: 7.508 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.02815, allocations: 0 / 0.7716 GB, free: 7.508 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.02816, allocations: 11.98 kB / 0.7717 GB, free: 7.496 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.02816, allocations: 0 / 0.7717 GB, free: 7.496 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.02816, allocations: 2.438 kB / 0.7717 GB, free: 7.496 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.0284, allocations: 379.4 kB / 0.772 GB, free: 7.105 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.02843, allocations: 0 / 0.772 GB, free: 7.105 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.852e-05/0.0285, allocations: 4 kB / 0.772 GB, free: 7.102 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.53e-05/0.02853, allocations: 11.98 kB / 0.772 GB, free: 7.09 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.02855, allocations: 13.58 kB / 0.7721 GB, free: 7.078 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 0.0002664/0.02882, allocations: 430.8 kB / 0.7725 GB, free: 6.652 MB / 0.7449 GB Notification: Performance of sort global known variables: time 6e-08/0.02882, allocations: 0 / 0.7725 GB, free: 6.652 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.001157/0.02998, allocations: 0.6235 MB / 0.7731 GB, free: 6.027 MB / 0.7449 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.001418/0.03139, allocations: 0.8457 MB / 0.7739 GB, free: 5.227 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0007297/0.03212, allocations: 1.014 MB / 0.7749 GB, free: 4.195 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/0.03213, allocations: 12.84 kB / 0.7749 GB, free: 4.184 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.03225, allocations: 173.6 kB / 0.7751 GB, free: 4.012 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.03257, allocations: 393.4 kB / 0.7754 GB, free: 3.562 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.03438, allocations: 1.563 MB / 0.777 GB, free: 1.973 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.03448, allocations: 192.4 kB / 0.7772 GB, free: 1.766 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 0.000105/0.03458, allocations: 60.95 kB / 0.7772 GB, free: 1.711 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.03473, allocations: 111.3 kB / 0.7773 GB, free: 1.602 MB / 0.7449 GB Notification: Performance of SimCode: time 8.42e-07/0.03473, allocations: 0 / 0.7773 GB, free: 1.602 MB / 0.7449 GB Notification: Performance of Templates: time 0.01963/0.05436, allocations: 17.27 MB / 0.7942 GB, free: 0.5938 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.2658353159204125]