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.0007011/0.0007011, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009369/0.001638, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006881/0.0006881, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008505/0.001539, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9356/0.9356, allocations: 177.2 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08628/1.022, allocations: 53.65 MB / 243.2 MB, free: 15.6 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.831/1.831, allocations: 389.9 MB / 0.619 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4339/2.265, allocations: 127.1 MB / 0.7432 GB, free: 4.633 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.413e-06/1.413e-06, allocations: 0 / 0.7445 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/2.016e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003226/0.003246, allocations: 1.861 MB / 0.7464 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.006942/0.01019, allocations: 5.237 MB / 0.7515 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.356e-05/0.01025, allocations: 4.594 kB / 0.7515 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0006937/0.01095, allocations: 353.6 kB / 0.7518 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.073e-05/0.01102, allocations: 67.59 kB / 0.7519 GB, free: 11.79 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.002128/0.01314, allocations: 1.422 MB / 0.7533 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.01334, allocations: 163.3 kB / 0.7534 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.01338, allocations: 10.45 kB / 0.7534 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.0135, allocations: 113.4 kB / 0.7535 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.864e-05/0.01359, allocations: 57.12 kB / 0.7536 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.01361, allocations: 5.594 kB / 0.7536 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002711/0.01632, allocations: 2.558 MB / 0.7561 GB, free: 7.48 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.01647, allocations: 251.3 kB / 0.7563 GB, free: 7.234 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.01657, allocations: 127.4 kB / 0.7565 GB, free: 7.109 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001968/0.01854, allocations: 1.984 MB / 0.7584 GB, free: 5.121 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.185e-05/0.01855, allocations: 4.656 kB / 0.7584 GB, free: 5.117 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.443e-06/0.01855, allocations: 0 / 0.7584 GB, free: 5.117 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.01856, allocations: 1.125 kB / 0.7584 GB, free: 5.117 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.001427/0.01999, allocations: 1.52 MB / 0.7599 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.02002, allocations: 8.906 kB / 0.7599 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000225/0.02024, allocations: 114.5 kB / 0.76 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.02053, allocations: 336.5 kB / 0.7603 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.02053, allocations: 8.984 kB / 0.7603 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.02056, allocations: 8.375 kB / 0.7603 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.02075, allocations: 225.4 kB / 0.7606 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.972e-06/0.02076, allocations: 1.5 kB / 0.7606 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.02077, allocations: 4.312 kB / 0.7606 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.02077, allocations: 3.938 kB / 0.7606 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.02089, allocations: 200.7 kB / 0.7608 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001992/0.02109, allocations: 256.5 kB / 0.761 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.02127, allocations: 281.6 kB / 0.7613 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.238e-05/0.02136, allocations: 155.5 kB / 0.7614 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002773/0.02164, allocations: 122.1 kB / 0.7615 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.02181, allocations: 232.9 kB / 0.7618 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.02181, allocations: 0 / 0.7618 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0003758/0.02219, allocations: 499 kB / 0.7622 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.02223, allocations: 85.11 kB / 0.7623 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000567/0.02279, allocations: 1.053 MB / 0.7634 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.02282, allocations: 33.7 kB / 0.7634 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.02295, allocations: 274.7 kB / 0.7636 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.02298, allocations: 23.78 kB / 0.7637 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/0.02318, allocations: 339.1 kB / 0.764 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.015e-05/0.02325, allocations: 323 kB / 0.7643 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/0.02356, allocations: 0.5058 MB / 0.7648 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003414/0.0239, allocations: 0.612 MB / 0.7654 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.02536, allocations: 2.232 MB / 0.7676 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.02537, allocations: 1.031 kB / 0.7676 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002384/0.02775, allocations: 3.726 MB / 0.7712 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.02777, allocations: 8 kB / 0.7712 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.02778, allocations: 0 / 0.7712 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.675e-06/0.02778, allocations: 0 / 0.7712 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.138e-05/0.02788, allocations: 25.02 kB / 0.7712 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-06/0.02788, allocations: 8.062 kB / 0.7712 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.02811, allocations: 246.8 kB / 0.7715 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.02814, allocations: 19.98 kB / 0.7715 GB, free: 7.383 MB / 0.7448 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.0001187/0.02826, allocations: 128.6 kB / 0.7716 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.94e-05/0.02828, allocations: 9.438 kB / 0.7716 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002862/0.02856, allocations: 375.6 kB / 0.772 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.02857, allocations: 7.984 kB / 0.772 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.02857, allocations: 2.438 kB / 0.772 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.02857, allocations: 3.938 kB / 0.772 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.02879, allocations: 303.2 kB / 0.7723 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.02879, allocations: 4 kB / 0.7723 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.725e-05/0.02882, allocations: 7.984 kB / 0.7723 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-05/0.02888, allocations: 91.19 kB / 0.7724 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.02888, allocations: 6.594 kB / 0.7724 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.02889, allocations: 7.984 kB / 0.7724 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.02889, allocations: 0 / 0.7724 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.02889, allocations: 0 / 0.7724 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.02913, allocations: 383.3 kB / 0.7728 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.02917, allocations: 0 / 0.7728 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.305e-05/0.02923, allocations: 4.938 kB / 0.7728 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.499e-05/0.02925, allocations: 11.98 kB / 0.7728 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.02928, allocations: 17.02 kB / 0.7728 GB, free: 6 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002693/0.02955, allocations: 426.8 kB / 0.7732 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.02955, allocations: 1.5 kB / 0.7732 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0009262/0.03048, allocations: 0.5884 MB / 0.7738 GB, free: 4.988 MB / 0.7448 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.001206/0.03168, allocations: 0.8354 MB / 0.7746 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006533/0.03234, allocations: 0.9742 MB / 0.7756 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/0.03235, allocations: 12 kB / 0.7756 GB, free: 3.195 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.03245, allocations: 164.7 kB / 0.7757 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.03268, allocations: 102.8 kB / 0.7758 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.03429, allocations: 1.554 MB / 0.7773 GB, free: 1.352 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.0344, allocations: 195.6 kB / 0.7775 GB, free: 1.141 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.314e-05/0.03449, allocations: 33.16 kB / 0.7776 GB, free: 1.113 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.03462, allocations: 93.05 kB / 0.7776 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/0.03462, allocations: 0 / 0.7776 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of Templates: time 0.01773/0.05236, allocations: 16.34 MB / 0.7936 GB, free: 0.918 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.380209310911596]