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.000881/0.000881, allocations: 85.45 kB / 21.62 MB, free: 2.84 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.00094/0.00094, allocations: 174 kB / 25.05 MB, free: 9.152 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.9756/0.9756, allocations: 177.1 MB / 205.5 MB, free: 5.438 MB / 186.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.834/1.834, allocations: 389.6 MB / 0.6363 GB, free: 12.28 MB / 0.6042 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.352e-06/1.352e-06, allocations: 0 / 0.7762 GB, free: 5.184 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.151e-05/1.286e-05, allocations: 5.797 kB / 0.7762 GB, free: 5.18 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001937/0.00195, allocations: 1.852 MB / 0.778 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.005106/0.007056, allocations: 5.201 MB / 0.7831 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.059e-05/0.007116, allocations: 3.938 kB / 0.7831 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007983/0.007915, allocations: 361 kB / 0.7835 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.355e-05/0.007988, allocations: 76.88 kB / 0.7835 GB, free: 13.72 MB / 0.7448 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.002157/0.01015, allocations: 1.435 MB / 0.785 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.01032, allocations: 164.4 kB / 0.7851 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.268e-05/0.01035, allocations: 6.469 kB / 0.7851 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.213e-05/0.01042, allocations: 80.38 kB / 0.7852 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.773e-05/0.01051, allocations: 62.19 kB / 0.7853 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.01052, allocations: 8 kB / 0.7853 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002317/0.01284, allocations: 2.598 MB / 0.7878 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.01297, allocations: 255.2 kB / 0.788 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.854e-05/0.01306, allocations: 140.7 kB / 0.7882 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001873/0.01493, allocations: 2.373 MB / 0.7905 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.01493, allocations: 4 kB / 0.7905 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.61e-07/0.01493, allocations: 0 / 0.7905 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.01494, allocations: 0 / 0.7905 GB, free: 6.613 MB / 0.7448 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.001008/0.01595, allocations: 1.276 MB / 0.7917 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.01598, allocations: 9.344 kB / 0.7917 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001797/0.01616, allocations: 34.56 kB / 0.7918 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.01642, allocations: 331.8 kB / 0.7921 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.01643, allocations: 6.812 kB / 0.7921 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.01645, allocations: 8.375 kB / 0.7921 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.01663, allocations: 228.5 kB / 0.7923 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.01664, allocations: 192 / 0.7923 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.01665, allocations: 384 / 0.7923 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.01665, allocations: 10.31 kB / 0.7923 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.01677, allocations: 199.9 kB / 0.7925 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001825/0.01695, allocations: 252.5 kB / 0.7928 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.01712, allocations: 281.2 kB / 0.793 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.662e-05/0.01722, allocations: 159.5 kB / 0.7932 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002673/0.01749, allocations: 133.6 kB / 0.7933 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.01765, allocations: 224.9 kB / 0.7935 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.01765, allocations: 0 / 0.7935 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0003575/0.018, allocations: 497.3 kB / 0.794 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.01804, allocations: 83.61 kB / 0.7941 GB, free: 2.785 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000521/0.01856, allocations: 1.053 MB / 0.7951 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.01858, allocations: 33.7 kB / 0.7951 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.01869, allocations: 269.7 kB / 0.7954 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.01871, allocations: 27.83 kB / 0.7954 GB, free: 1.387 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/0.0189, allocations: 335.2 kB / 0.7958 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.512e-05/0.01896, allocations: 317.9 kB / 0.7961 GB, free: 0.7383 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003011/0.01926, allocations: 0.512 MB / 0.7966 GB, free: 232 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004576/0.01972, allocations: 0.6092 MB / 0.7971 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.02107, allocations: 2.24 MB / 0.7993 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.02107, allocations: 0 / 0.7993 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002211/0.02329, allocations: 3.732 MB / 0.803 GB, free: 9.523 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.0233, allocations: 8.812 kB / 0.803 GB, free: 9.516 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.02331, allocations: 0 / 0.803 GB, free: 9.516 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.654e-06/0.02332, allocations: 0.625 kB / 0.803 GB, free: 9.516 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.023e-05/0.0234, allocations: 23.98 kB / 0.803 GB, free: 9.492 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.0234, allocations: 1.562 kB / 0.803 GB, free: 9.492 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.02362, allocations: 249.2 kB / 0.8033 GB, free: 9.246 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.02364, allocations: 15.98 kB / 0.8033 GB, free: 9.23 MB / 0.7605 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 (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.0001105/0.02375, allocations: 125.8 kB / 0.8034 GB, free: 9.098 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.02377, allocations: 12 kB / 0.8034 GB, free: 9.086 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004029/0.02418, allocations: 377.3 kB / 0.8038 GB, free: 8.711 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.02418, allocations: 0 / 0.8038 GB, free: 8.711 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.02418, allocations: 0 / 0.8038 GB, free: 8.711 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.02419, allocations: 9.078 kB / 0.8038 GB, free: 8.703 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.02437, allocations: 307.2 kB / 0.8041 GB, free: 8.387 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.02438, allocations: 4 kB / 0.8041 GB, free: 8.383 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.267e-05/0.02441, allocations: 12.59 kB / 0.8041 GB, free: 8.371 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.02441, allocations: 1.969 kB / 0.8041 GB, free: 8.371 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.852e-06/0.02442, allocations: 4 kB / 0.8041 GB, free: 8.367 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.02442, allocations: 80 / 0.8041 GB, free: 8.367 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.02442, allocations: 3.984 kB / 0.8041 GB, free: 8.363 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.02464, allocations: 379.3 kB / 0.8044 GB, free: 7.973 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.02469, allocations: 92.14 kB / 0.8045 GB, free: 7.883 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.02472, allocations: 0 / 0.8045 GB, free: 7.883 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.064e-05/0.02478, allocations: 9.594 kB / 0.8045 GB, free: 7.875 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-05/0.0248, allocations: 7.984 kB / 0.8046 GB, free: 7.867 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.02482, allocations: 7.984 kB / 0.8046 GB, free: 7.859 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002441/0.02506, allocations: 434.8 kB / 0.805 GB, free: 7.43 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.02506, allocations: 1 kB / 0.805 GB, free: 7.43 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006774/0.02574, allocations: 0.5845 MB / 0.8055 GB, free: 6.844 MB / 0.7605 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.001136/0.02687, allocations: 0.8094 MB / 0.8063 GB, free: 6.07 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006319/0.02751, allocations: 0.963 MB / 0.8073 GB, free: 5.09 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.02751, allocations: 12 kB / 0.8073 GB, free: 5.078 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.02761, allocations: 169.3 kB / 0.8075 GB, free: 4.91 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.0278, allocations: 64.06 kB / 0.8075 GB, free: 4.848 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.02891, allocations: 1.553 MB / 0.809 GB, free: 3.266 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.02902, allocations: 200.8 kB / 0.8092 GB, free: 3.051 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 8.251e-05/0.0291, allocations: 32.98 kB / 0.8093 GB, free: 3.023 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.02922, allocations: 88.25 kB / 0.8093 GB, free: 2.938 MB / 0.7605 GB Notification: Performance of SimCode: time 5.51e-07/0.02923, allocations: 0 / 0.8093 GB, free: 2.938 MB / 0.7605 GB Notification: Performance of Templates: time 0.01692/0.04615, allocations: 16.28 MB / 0.8252 GB, free: 2.871 MB / 0.7761 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.441977225244045]