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.001273/0.001273, allocations: 80.94 kB / 21.55 MB, free: 2.949 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.0008959/0.0008959, allocations: 163.9 kB / 24.96 MB, free: 8.711 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.9133/0.9133, allocations: 177.1 MB / 205.4 MB, free: 4.492 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.846/1.846, allocations: 389.6 MB / 0.6361 GB, free: 13.41 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.473e-06/1.473e-06, allocations: 0 / 0.7761 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.245e-05/1.393e-05, allocations: 10.19 kB / 0.7761 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002007/0.002021, allocations: 1.863 MB / 0.7779 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005243/0.007264, allocations: 5.194 MB / 0.783 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.973e-05/0.007324, allocations: 3.938 kB / 0.783 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007419/0.008066, allocations: 362.2 kB / 0.7833 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.862e-05/0.008135, allocations: 71.59 kB / 0.7834 GB, free: 6.363 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.001789/0.009923, allocations: 1.441 MB / 0.7848 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.01008, allocations: 175 kB / 0.785 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.514e-05/0.01012, allocations: 10.45 kB / 0.785 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.242e-05/0.01019, allocations: 75.8 kB / 0.785 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.65e-05/0.01028, allocations: 65.11 kB / 0.7851 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.01029, allocations: 4 kB / 0.7851 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002219/0.01251, allocations: 2.581 MB / 0.7876 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.01264, allocations: 267.2 kB / 0.7879 GB, free: 1.758 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.421e-05/0.01274, allocations: 139.3 kB / 0.788 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002073/0.01481, allocations: 2.376 MB / 0.7903 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.01481, allocations: 0 / 0.7903 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.11e-07/0.01481, allocations: 0 / 0.7903 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.01482, allocations: 7.938 kB / 0.7903 GB, free: 15.23 MB / 0.7605 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.001005/0.01582, allocations: 1.274 MB / 0.7916 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 2.591e-05/0.01585, allocations: 8.031 kB / 0.7916 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.01602, allocations: 32.89 kB / 0.7916 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.01628, allocations: 331.8 kB / 0.7919 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.0163, allocations: 8.375 kB / 0.792 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.01632, allocations: 4.375 kB / 0.792 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.0165, allocations: 236.5 kB / 0.7922 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-06/0.0165, allocations: 192 / 0.7922 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.01651, allocations: 384 / 0.7922 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.01651, allocations: 3.938 kB / 0.7922 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.01663, allocations: 203.8 kB / 0.7924 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001845/0.01681, allocations: 252.5 kB / 0.7926 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.01698, allocations: 292.9 kB / 0.7929 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.74e-05/0.01707, allocations: 157.9 kB / 0.7931 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002529/0.01732, allocations: 127.9 kB / 0.7932 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.01747, allocations: 225 kB / 0.7934 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=8): time 7.32e-07/0.01747, allocations: 0 / 0.7934 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8): time 0.0003419/0.01782, allocations: 493.3 kB / 0.7939 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.01785, allocations: 89.03 kB / 0.7939 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000523/0.01837, allocations: 1.053 MB / 0.795 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.01839, allocations: 37.7 kB / 0.795 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.0185, allocations: 277.4 kB / 0.7953 GB, free: 9.996 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.01852, allocations: 23.83 kB / 0.7953 GB, free: 9.973 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.01871, allocations: 335.2 kB / 0.7956 GB, free: 9.641 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 6.538e-05/0.01877, allocations: 321.9 kB / 0.7959 GB, free: 9.32 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006586/0.01943, allocations: 0.5058 MB / 0.7964 GB, free: 8.812 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00032/0.01975, allocations: 0.6031 MB / 0.797 GB, free: 8.199 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.02109, allocations: 2.236 MB / 0.7992 GB, free: 5.871 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.0211, allocations: 7.938 kB / 0.7992 GB, free: 5.863 MB / 0.7605 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002143/0.02324, allocations: 3.717 MB / 0.8028 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.02325, allocations: 8 kB / 0.8028 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.02326, allocations: 4 kB / 0.8028 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.02327, allocations: 3.984 kB / 0.8028 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.302e-05/0.02335, allocations: 23.94 kB / 0.8029 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.02336, allocations: 3.984 kB / 0.8029 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004091/0.02377, allocations: 245.2 kB / 0.8031 GB, free: 1.832 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.02379, allocations: 15.98 kB / 0.8031 GB, free: 1.816 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.0001008/0.02389, allocations: 124.7 kB / 0.8032 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.969e-05/0.02391, allocations: 11.98 kB / 0.8032 GB, free: 1.672 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002688/0.02418, allocations: 383.9 kB / 0.8036 GB, free: 1.289 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.02418, allocations: 0 / 0.8036 GB, free: 1.289 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.02419, allocations: 0 / 0.8036 GB, free: 1.289 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.0242, allocations: 3.938 kB / 0.8036 GB, free: 1.285 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.02438, allocations: 303.2 kB / 0.8039 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.02438, allocations: 0 / 0.8039 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.234e-05/0.02441, allocations: 16.02 kB / 0.8039 GB, free: 0.957 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.02442, allocations: 4 kB / 0.8039 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.02442, allocations: 0 / 0.8039 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.02442, allocations: 3.938 kB / 0.8039 GB, free: 0.9492 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.02443, allocations: 4 kB / 0.8039 GB, free: 0.9453 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.02464, allocations: 375.4 kB / 0.8043 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.02469, allocations: 87.25 kB / 0.8044 GB, free: 484 kB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.02472, allocations: 8 kB / 0.8044 GB, free: 476 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.979e-05/0.02478, allocations: 11.92 kB / 0.8044 GB, free: 464 kB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.936e-05/0.0248, allocations: 8 kB / 0.8044 GB, free: 456 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.02482, allocations: 15.97 kB / 0.8044 GB, free: 440 kB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002344/0.02505, allocations: 418.8 kB / 0.8048 GB, free: 16 kB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.02505, allocations: 0 / 0.8048 GB, free: 16 kB / 0.7605 GB Notification: Performance of remove unused functions: time 0.2961/0.3212, allocations: 0.5942 MB / 0.8054 GB, free: 33.06 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.001236/0.3224, allocations: 0.7977 MB / 0.8062 GB, free: 32.99 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0008031/0.3232, allocations: 0.9635 MB / 0.8071 GB, free: 32.91 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/0.3232, allocations: 14 kB / 0.8071 GB, free: 32.91 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.3233, allocations: 166.3 kB / 0.8073 GB, free: 32.9 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.3235, allocations: 56.7 kB / 0.8073 GB, free: 32.9 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.3248, allocations: 1.548 MB / 0.8089 GB, free: 32.29 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.3249, allocations: 194.1 kB / 0.809 GB, free: 32.21 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.473e-05/0.325, allocations: 36.77 kB / 0.8091 GB, free: 32.21 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.3251, allocations: 89.91 kB / 0.8092 GB, free: 32.18 MB / 0.7605 GB Notification: Performance of SimCode: time 8.71e-07/0.3251, allocations: 0 / 0.8092 GB, free: 32.18 MB / 0.7605 GB Notification: Performance of Templates: time 0.01944/0.3446, allocations: 16.26 MB / 0.825 GB, free: 29.83 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.478203030303121]