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.002236/0.002236, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 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.002584/0.002584, allocations: 213 kB / 23.02 MB, free: 2.949 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 1.701/1.701, allocations: 230.6 MB / 256.8 MB, free: 9.633 MB / 202.7 MB " [Timeout remaining time 178] 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 3.423/3.423, allocations: 0.5045 GB / 0.8104 GB, free: 2.777 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.00377/0.00377, allocations: 67.89 kB / 1.177 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7516/0.7554, allocations: 180 MB / 1.353 GB, free: 1.617 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003283/0.7587, allocations: 1.735 MB / 1.355 GB, free: 15.87 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.008891/0.7676, allocations: 4.895 MB / 1.359 GB, free: 10.96 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.131e-05/0.7677, allocations: 0 / 1.359 GB, free: 10.96 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.7689, allocations: 337.5 kB / 1.36 GB, free: 10.63 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.7691, allocations: 63.66 kB / 1.36 GB, free: 10.57 MB / 1.042 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.004561/0.7736, allocations: 1.6 MB / 1.361 GB, free: 8.965 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0003398/0.774, allocations: 152.4 kB / 1.362 GB, free: 8.816 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.099e-05/0.774, allocations: 13.67 kB / 1.362 GB, free: 8.805 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.7742, allocations: 63.72 kB / 1.362 GB, free: 8.742 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003088/0.7745, allocations: 167.5 kB / 1.362 GB, free: 8.578 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 5.366e-05/0.7745, allocations: 12 kB / 1.362 GB, free: 8.566 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004509/0.779, allocations: 2.402 MB / 1.364 GB, free: 6.16 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003039/0.7793, allocations: 287.8 kB / 1.364 GB, free: 5.879 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002888/0.7796, allocations: 238.7 kB / 1.365 GB, free: 5.641 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.003343/0.783, allocations: 2.216 MB / 1.367 GB, free: 3.418 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.783, allocations: 0 / 1.367 GB, free: 3.418 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.363e-06/0.783, allocations: 0 / 1.367 GB, free: 3.418 MB / 1.042 GB Notification: Performance of Transformations before backend: time 8.076e-06/0.783, allocations: 0 / 1.367 GB, free: 3.418 MB / 1.042 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.008254/0.7912, allocations: 1.342 MB / 1.368 GB, free: 2.039 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.7913, allocations: 16.86 kB / 1.368 GB, free: 2.023 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004201/0.7917, allocations: 96.2 kB / 1.368 GB, free: 1.93 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005889/0.7923, allocations: 344.5 kB / 1.369 GB, free: 1.559 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.7923, allocations: 4.375 kB / 1.369 GB, free: 1.555 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.71e-05/0.7923, allocations: 12.36 kB / 1.369 GB, free: 1.543 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005192/0.7929, allocations: 395.5 kB / 1.369 GB, free: 1.145 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.7929, allocations: 3.984 kB / 1.369 GB, free: 1.141 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.7929, allocations: 4 kB / 1.369 GB, free: 1.137 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.7929, allocations: 0 / 1.369 GB, free: 1.137 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005414/0.7934, allocations: 439.7 kB / 1.369 GB, free: 0.707 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007037/0.7941, allocations: 0.5937 MB / 1.37 GB, free: 84 kB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006766/0.7948, allocations: 0.5556 MB / 1.37 GB, free: 15.51 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004022/0.7952, allocations: 337.6 kB / 1.371 GB, free: 15.17 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006444/0.7959, allocations: 139.7 kB / 1.371 GB, free: 15.04 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006112/0.7965, allocations: 396.9 kB / 1.371 GB, free: 14.63 MB / 1.057 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.7965, allocations: 3.938 kB / 1.371 GB, free: 14.62 MB / 1.057 GB Notification: Performance of matching and sorting (n=8): time 0.001658/0.7981, allocations: 1.313 MB / 1.373 GB, free: 13.3 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/0.7982, allocations: 85.11 kB / 1.373 GB, free: 13.2 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/0.7997, allocations: 1.294 MB / 1.374 GB, free: 11.9 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 4.62e-05/0.7998, allocations: 33.7 kB / 1.374 GB, free: 11.86 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/0.8, allocations: 297.8 kB / 1.374 GB, free: 11.56 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/0.8001, allocations: 19.84 kB / 1.374 GB, free: 11.54 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003951/0.8005, allocations: 347.6 kB / 1.375 GB, free: 11.2 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.8006, allocations: 318.1 kB / 1.375 GB, free: 10.88 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001575/0.8022, allocations: 1.373 MB / 1.376 GB, free: 9.508 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/0.8039, allocations: 1.505 MB / 1.378 GB, free: 7.992 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008463/0.8124, allocations: 3.557 MB / 1.381 GB, free: 4.344 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.8124, allocations: 0 / 1.381 GB, free: 4.344 MB / 1.057 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005447/0.8179, allocations: 4.027 MB / 1.385 GB, free: 288 kB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.8179, allocations: 7.938 kB / 1.385 GB, free: 280 kB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.8179, allocations: 4 kB / 1.385 GB, free: 276 kB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.8179, allocations: 0 / 1.385 GB, free: 276 kB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.8181, allocations: 15.98 kB / 1.385 GB, free: 260 kB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.8181, allocations: 7.938 kB / 1.385 GB, free: 252 kB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005196/0.8186, allocations: 237.3 kB / 1.385 GB, free: 12 kB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.869e-05/0.8187, allocations: 27.98 kB / 1.385 GB, free: 15.98 MB / 1.073 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 (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.0003771/0.8191, allocations: 250.2 kB / 1.386 GB, free: 15.73 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.8192, allocations: 83.19 kB / 1.386 GB, free: 15.65 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.8204, allocations: 0.9407 MB / 1.387 GB, free: 14.7 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.8204, allocations: 0 / 1.387 GB, free: 14.7 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.8204, allocations: 4 kB / 1.387 GB, free: 14.69 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.8204, allocations: 3.984 kB / 1.387 GB, free: 14.69 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005581/0.821, allocations: 468.3 kB / 1.387 GB, free: 14.2 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.821, allocations: 4 kB / 1.387 GB, free: 14.2 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.613e-05/0.8211, allocations: 11.97 kB / 1.387 GB, free: 14.19 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.8211, allocations: 0 / 1.387 GB, free: 14.19 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.8211, allocations: 11.92 kB / 1.387 GB, free: 14.18 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.8211, allocations: 0 / 1.387 GB, free: 14.18 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.8211, allocations: 0 / 1.387 GB, free: 14.18 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.8222, allocations: 1.014 MB / 1.388 GB, free: 13.14 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.8224, allocations: 95.25 kB / 1.388 GB, free: 13.05 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.053e-05/0.8224, allocations: 3.938 kB / 1.388 GB, free: 13.04 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.8226, allocations: 11.98 kB / 1.388 GB, free: 13.03 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.8226, allocations: 7.938 kB / 1.388 GB, free: 13.02 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/0.8227, allocations: 15.97 kB / 1.388 GB, free: 13.01 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0009644/0.8236, allocations: 0.7183 MB / 1.389 GB, free: 12.29 MB / 1.073 GB Notification: Performance of sort global known variables: time 6e-08/0.8236, allocations: 0 / 1.389 GB, free: 12.29 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.001564/0.8252, allocations: 0.5962 MB / 1.39 GB, free: 11.69 MB / 1.073 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.002432/0.8276, allocations: 0.7112 MB / 1.39 GB, free: 10.99 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.002632/0.8303, allocations: 1.997 MB / 1.392 GB, free: 8.98 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.8303, allocations: 0 / 1.392 GB, free: 8.98 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.000409/0.8307, allocations: 335.8 kB / 1.393 GB, free: 8.652 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.8311, allocations: 58.89 kB / 1.393 GB, free: 8.594 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.8338, allocations: 1.897 MB / 1.394 GB, free: 6.664 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004781/0.8343, allocations: 393.8 kB / 1.395 GB, free: 6.254 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.0001572/0.8345, allocations: 41.41 kB / 1.395 GB, free: 6.215 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.8346, allocations: 31.41 kB / 1.395 GB, free: 6.184 MB / 1.073 GB Notification: Performance of SimCode: time 5.11e-07/0.8346, allocations: 0 / 1.395 GB, free: 6.184 MB / 1.073 GB Notification: Performance of Templates: time 0.03135/0.8659, allocations: 15.76 MB / 1.41 GB, free: 6.566 MB / 1.089 GB " [Timeout remaining time 299] 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: 11.081379094161093]