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.001932/0.001932, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.002117/0.002117, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.619/1.619, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.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.213/3.213, allocations: 389.5 MB / 0.6343 GB, free: 12.6 MB / 0.6042 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 1.512e-06/1.512e-06, allocations: 0 / 1.001 GB, free: 12.9 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.032e-05/3.183e-05, allocations: 9.734 kB / 1.001 GB, free: 12.89 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003246/0.003278, allocations: 1.735 MB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.009477/0.01275, allocations: 4.885 MB / 1.008 GB, free: 6.238 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.01289, allocations: 11.94 kB / 1.008 GB, free: 6.227 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.01428, allocations: 342.3 kB / 1.008 GB, free: 5.891 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.01444, allocations: 55.72 kB / 1.008 GB, free: 5.836 MB / 0.9636 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.004598/0.01904, allocations: 1.607 MB / 1.01 GB, free: 4.23 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000351/0.01939, allocations: 175.2 kB / 1.01 GB, free: 4.059 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.001e-05/0.01944, allocations: 9.812 kB / 1.01 GB, free: 4.047 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.01958, allocations: 79.73 kB / 1.01 GB, free: 3.969 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.01985, allocations: 155.6 kB / 1.01 GB, free: 3.816 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.322e-05/0.0199, allocations: 16 kB / 1.01 GB, free: 3.801 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005331/0.02523, allocations: 2.413 MB / 1.012 GB, free: 1.383 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0003329/0.02556, allocations: 283.9 kB / 1.013 GB, free: 1.105 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0002682/0.02583, allocations: 160 kB / 1.013 GB, free: 0.9492 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.004804/0.03064, allocations: 2.533 MB / 1.015 GB, free: 14.41 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.03064, allocations: 0 / 1.015 GB, free: 14.41 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.423e-06/0.03064, allocations: 0 / 1.015 GB, free: 14.41 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.03065, allocations: 0 / 1.015 GB, free: 14.41 MB / 0.9792 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.01069/0.04134, allocations: 1.335 MB / 1.017 GB, free: 13.04 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.04139, allocations: 9.344 kB / 1.017 GB, free: 13.03 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004366/0.04183, allocations: 108.2 kB / 1.017 GB, free: 12.93 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006237/0.04245, allocations: 351.7 kB / 1.017 GB, free: 12.55 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.04247, allocations: 4.375 kB / 1.017 GB, free: 12.54 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.04251, allocations: 8.375 kB / 1.017 GB, free: 12.54 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005819/0.04309, allocations: 395.7 kB / 1.017 GB, free: 12.14 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.0431, allocations: 192 / 1.017 GB, free: 12.14 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.04312, allocations: 384 / 1.017 GB, free: 12.14 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.04312, allocations: 3.938 kB / 1.017 GB, free: 12.13 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005639/0.04369, allocations: 443.7 kB / 1.018 GB, free: 11.7 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009844/0.04467, allocations: 0.5898 MB / 1.018 GB, free: 11.08 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006892/0.04536, allocations: 0.5594 MB / 1.019 GB, free: 10.5 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004056/0.04577, allocations: 337.6 kB / 1.019 GB, free: 10.16 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006783/0.04645, allocations: 139.8 kB / 1.019 GB, free: 10.03 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005394/0.04699, allocations: 400.9 kB / 1.02 GB, free: 9.617 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.04699, allocations: 0 / 1.02 GB, free: 9.617 MB / 0.9792 GB Notification: Performance of matching and sorting (n=8): time 0.001803/0.04879, allocations: 1.301 MB / 1.021 GB, free: 8.309 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.148e-05/0.04887, allocations: 85.05 kB / 1.021 GB, free: 8.207 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/0.05051, allocations: 1.302 MB / 1.022 GB, free: 6.895 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/0.05057, allocations: 29.7 kB / 1.022 GB, free: 6.859 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002951/0.05086, allocations: 285.9 kB / 1.023 GB, free: 6.574 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 4.756e-05/0.05091, allocations: 27.78 kB / 1.023 GB, free: 6.547 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004173/0.05133, allocations: 343.6 kB / 1.023 GB, free: 6.207 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.05151, allocations: 318 kB / 1.023 GB, free: 5.891 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/0.0532, allocations: 1.373 MB / 1.025 GB, free: 4.516 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002044/0.05524, allocations: 1.508 MB / 1.026 GB, free: 3 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008699/0.06394, allocations: 3.56 MB / 1.03 GB, free: 15.35 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.06395, allocations: 0 / 1.03 GB, free: 15.35 MB / 0.9948 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005886/0.06984, allocations: 4.015 MB / 1.034 GB, free: 11.3 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.06986, allocations: 8 kB / 1.034 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.06988, allocations: 0 / 1.034 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.0699, allocations: 4 kB / 1.034 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.07006, allocations: 27.95 kB / 1.034 GB, free: 11.26 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.07007, allocations: 0 / 1.034 GB, free: 11.26 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005952/0.07066, allocations: 241.4 kB / 1.034 GB, free: 11.02 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.627e-05/0.07072, allocations: 19.98 kB / 1.034 GB, free: 11 MB / 0.9948 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.0003838/0.0711, allocations: 256.2 kB / 1.034 GB, free: 10.75 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.422e-05/0.0712, allocations: 79.25 kB / 1.034 GB, free: 10.67 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.0725, allocations: 0.9485 MB / 1.035 GB, free: 9.703 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.0725, allocations: 4 kB / 1.035 GB, free: 9.699 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.07251, allocations: 3.938 kB / 1.035 GB, free: 9.695 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.07251, allocations: 3.938 kB / 1.035 GB, free: 9.691 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005698/0.07308, allocations: 472.3 kB / 1.036 GB, free: 9.203 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.07309, allocations: 0 / 1.036 GB, free: 9.203 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.79e-05/0.07316, allocations: 4 kB / 1.036 GB, free: 9.199 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.07317, allocations: 0 / 1.036 GB, free: 9.199 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.07318, allocations: 7.984 kB / 1.036 GB, free: 9.191 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.07319, allocations: 0 / 1.036 GB, free: 9.191 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.07319, allocations: 0 / 1.036 GB, free: 9.191 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.07441, allocations: 1.022 MB / 1.037 GB, free: 8.148 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.07455, allocations: 87.28 kB / 1.037 GB, free: 8.062 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.109e-05/0.07461, allocations: 0 / 1.037 GB, free: 8.062 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.07476, allocations: 4 kB / 1.037 GB, free: 8.059 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.07481, allocations: 15.92 kB / 1.037 GB, free: 8.043 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/0.07485, allocations: 11.98 kB / 1.037 GB, free: 8.031 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001024/0.07587, allocations: 0.7222 MB / 1.037 GB, free: 7.305 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1e-07/0.07587, allocations: 8 kB / 1.037 GB, free: 7.297 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001665/0.07753, allocations: 0.5845 MB / 1.038 GB, free: 6.711 MB / 0.9948 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.002232/0.07977, allocations: 0.7955 MB / 1.039 GB, free: 5.93 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002826/0.08259, allocations: 2.001 MB / 1.041 GB, free: 3.914 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.08259, allocations: 0 / 1.041 GB, free: 3.914 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.00043/0.08302, allocations: 339.8 kB / 1.041 GB, free: 3.582 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.08348, allocations: 50.22 kB / 1.041 GB, free: 3.531 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/0.0862, allocations: 1.874 MB / 1.043 GB, free: 1.621 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/0.08668, allocations: 397.8 kB / 1.043 GB, free: 1.207 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001852/0.08687, allocations: 45.39 kB / 1.043 GB, free: 1.16 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.08698, allocations: 28.48 kB / 1.043 GB, free: 1.133 MB / 0.9948 GB Notification: Performance of SimCode: time 8.42e-07/0.08698, allocations: 4 kB / 1.043 GB, free: 1.129 MB / 0.9948 GB Notification: Performance of Templates: time 0.4478/0.5347, allocations: 14.74 MB / 1.058 GB, free: 81.47 MB / 0.9948 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: 10.653829918242991]