Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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.001228/0.001228, allocations: 105 kB / 20.48 MB, free: 1.488 MB / 14.72 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.001435/0.001435, allocations: 213.4 kB / 23.79 MB, free: 4.703 MB / 14.72 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.35/1.35, allocations: 230.6 MB / 257.6 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.8887/0.8887, allocations: 150 MB / 464 MB, free: 10.54 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 68.84 kB / 0.6421 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1768, allocations: 89.17 MB / 0.7292 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002634/0.1794, allocations: 1.442 MB / 0.7306 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006668/0.1861, allocations: 4.277 MB / 0.7348 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.796e-05/0.1862, allocations: 0 / 0.7348 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.1863, allocations: 11.86 kB / 0.7348 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.1865, allocations: 35.83 kB / 0.7348 GB, free: 11.45 MB / 0.5606 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.004176/0.1907, allocations: 1.617 MB / 0.7364 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.1909, allocations: 95.67 kB / 0.7365 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.32e-05/0.1909, allocations: 0 / 0.7365 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.505e-05/0.191, allocations: 55.77 kB / 0.7365 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.1912, allocations: 151.6 kB / 0.7367 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.67e-05/0.1913, allocations: 16 kB / 0.7367 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004448/0.1957, allocations: 2.652 MB / 0.7393 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002469/0.196, allocations: 267.9 kB / 0.7395 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002596/0.1962, allocations: 282.3 kB / 0.7398 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003961/0.2002, allocations: 2.161 MB / 0.7419 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2002, allocations: 3.938 kB / 0.7419 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2002, allocations: 0 / 0.7419 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.834e-05/0.2002, allocations: 0 / 0.7419 GB, free: 4.156 MB / 0.5606 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.0103/0.2105, allocations: 1.268 MB / 0.7432 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.2106, allocations: 8.031 kB / 0.7432 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.204e-05/0.2106, allocations: 4.188 kB / 0.7432 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.382e-05/0.2106, allocations: 38.73 kB / 0.7432 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004759/0.2111, allocations: 88.25 kB / 0.7433 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005606/0.2117, allocations: 311.2 kB / 0.7436 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.2117, allocations: 11.94 kB / 0.7436 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.294e-05/0.2117, allocations: 4 kB / 0.7436 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005085/0.2123, allocations: 395.2 kB / 0.744 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.2123, allocations: 0 / 0.744 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.2123, allocations: 3.984 kB / 0.744 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2123, allocations: 0 / 0.744 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004705/0.2128, allocations: 443.7 kB / 0.7444 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000712/0.2135, allocations: 0.6165 MB / 0.745 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000531/0.214, allocations: 0.5555 MB / 0.7456 GB, free: 288 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003317/0.2143, allocations: 333.8 kB / 0.7459 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007116/0.215, allocations: 143.7 kB / 0.746 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004254/0.2155, allocations: 396.9 kB / 0.7464 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.644e-06/0.2155, allocations: 4 kB / 0.7464 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.001401/0.2169, allocations: 1.289 MB / 0.7477 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.2169, allocations: 81.11 kB / 0.7477 GB, free: 14 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.2182, allocations: 1.223 MB / 0.7489 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/0.2183, allocations: 29.7 kB / 0.749 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/0.2185, allocations: 270 kB / 0.7492 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.676e-05/0.2185, allocations: 23.84 kB / 0.7492 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003484/0.2189, allocations: 351.6 kB / 0.7496 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.219, allocations: 317.9 kB / 0.7499 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/0.2203, allocations: 1.369 MB / 0.7512 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/0.2216, allocations: 1.501 MB / 0.7527 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007018/0.2287, allocations: 3.564 MB / 0.7562 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.2287, allocations: 0 / 0.7562 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004464/0.2331, allocations: 4.006 MB / 0.7601 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.2332, allocations: 11.98 kB / 0.7601 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.2332, allocations: 0 / 0.7601 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.931e-05/0.2332, allocations: 8.031 kB / 0.7601 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.2333, allocations: 12 kB / 0.7601 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.2334, allocations: 3.984 kB / 0.7601 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005452/0.2339, allocations: 241.4 kB / 0.7603 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-05/0.234, allocations: 23.92 kB / 0.7604 GB, free: 0.8984 MB / 0.5762 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.0003137/0.2343, allocations: 249.5 kB / 0.7606 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-05/0.2343, allocations: 67.34 kB / 0.7607 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2922/0.5266, allocations: 0.943 MB / 0.7616 GB, free: 34.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.5266, allocations: 4.5 kB / 0.7616 GB, free: 34.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.5266, allocations: 0 / 0.7616 GB, free: 34.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.5266, allocations: 1.875 kB / 0.7616 GB, free: 34.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004063/0.527, allocations: 476.8 kB / 0.762 GB, free: 34.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.527, allocations: 0 / 0.762 GB, free: 34.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.039e-05/0.5271, allocations: 8.672 kB / 0.7621 GB, free: 34.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.5271, allocations: 1.969 kB / 0.7621 GB, free: 34.68 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.5271, allocations: 6.047 kB / 0.7621 GB, free: 34.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5271, allocations: 0.625 kB / 0.7621 GB, free: 34.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5271, allocations: 0 / 0.7621 GB, free: 34.68 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007751/0.5279, allocations: 1.008 MB / 0.763 GB, free: 34.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.487e-05/0.528, allocations: 83.31 kB / 0.7631 GB, free: 34.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.774e-05/0.528, allocations: 2.094 kB / 0.7631 GB, free: 34.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.5282, allocations: 6.969 kB / 0.7631 GB, free: 34.54 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.5282, allocations: 10.91 kB / 0.7631 GB, free: 34.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.704e-05/0.5282, allocations: 16.14 kB / 0.7632 GB, free: 34.54 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005876/0.5288, allocations: 0.6743 MB / 0.7638 GB, free: 34.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.5288, allocations: 2.875 kB / 0.7638 GB, free: 34.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001322/0.5301, allocations: 0.5806 MB / 0.7644 GB, free: 34.43 MB / 0.5762 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.002644/0.5328, allocations: 2.146 MB / 0.7665 GB, free: 33.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002083/0.5349, allocations: 1.999 MB / 0.7684 GB, free: 33.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.5349, allocations: 0.9844 kB / 0.7684 GB, free: 33.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003899/0.5353, allocations: 345.2 kB / 0.7688 GB, free: 33.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.5356, allocations: 37.97 kB / 0.7688 GB, free: 33.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01607/0.5517, allocations: 15.28 MB / 0.7837 GB, free: 29.04 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000448/0.5521, allocations: 0.9652 MB / 0.7847 GB, free: 28.34 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001864/0.5523, allocations: 36.8 kB / 0.7847 GB, free: 28.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/0.5525, allocations: 265.2 kB / 0.785 GB, free: 28.12 MB / 0.5762 GB Notification: Performance of SimCode: time 1.152e-06/0.5525, allocations: 1.375 kB / 0.785 GB, free: 28.12 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05117/0.6037, allocations: 24.22 MB / 0.8086 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.7, allocations: 4.062 kB / 0.8086 GB, free: 14.78 MB / 0.5762 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --stepSize=164800 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.03784728096798] Failed to read output from testmodel.py, exit status != 0: 13.869695320958272 13.879614964 13.677070997 Calling exit ...