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.001582/0.001582, allocations: 118.8 kB / 17.84 MB, free: 5.254 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.001816/0.001816, allocations: 201.6 kB / 20.79 MB, free: 2.316 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.393/1.393, allocations: 230.6 MB / 254.2 MB, free: 15.07 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.9342/0.9342, allocations: 150 MB / 460.2 MB, free: 5.328 MB / 350.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.001931/0.001931, allocations: 72.16 kB / 0.6369 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1498, allocations: 89.12 MB / 0.7239 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00284/0.1526, allocations: 1.449 MB / 0.7253 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006897/0.1595, allocations: 4.247 MB / 0.7295 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.374e-05/0.1596, allocations: 3.938 kB / 0.7295 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.1597, allocations: 15.86 kB / 0.7295 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002637/0.16, allocations: 35.78 kB / 0.7295 GB, free: 14.24 MB / 0.545 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.004144/0.1642, allocations: 1.511 MB / 0.731 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.1643, allocations: 95.67 kB / 0.7311 GB, free: 12.63 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.965e-05/0.1644, allocations: 4 kB / 0.7311 GB, free: 12.63 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.56e-05/0.1645, allocations: 51.81 kB / 0.7311 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.1647, allocations: 143.6 kB / 0.7313 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.011e-05/0.1647, allocations: 16 kB / 0.7313 GB, free: 12.42 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003642/0.1684, allocations: 2.34 MB / 0.7336 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002411/0.1686, allocations: 267.8 kB / 0.7338 GB, free: 9.812 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002726/0.1689, allocations: 278.3 kB / 0.7341 GB, free: 9.539 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003355/0.1723, allocations: 2.13 MB / 0.7362 GB, free: 7.402 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1723, allocations: 4 kB / 0.7362 GB, free: 7.398 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.853e-06/0.1723, allocations: 4 kB / 0.7362 GB, free: 7.395 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.1723, allocations: 0 / 0.7362 GB, free: 7.395 MB / 0.545 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.01013/0.1824, allocations: 1.351 MB / 0.7375 GB, free: 5.988 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.1824, allocations: 8.031 kB / 0.7375 GB, free: 5.98 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.398e-05/0.1824, allocations: 192 / 0.7375 GB, free: 5.98 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.383e-05/0.1825, allocations: 34.75 kB / 0.7376 GB, free: 5.938 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003969/0.1829, allocations: 100.2 kB / 0.7376 GB, free: 5.84 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.1833, allocations: 357 kB / 0.738 GB, free: 5.441 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.1833, allocations: 11.94 kB / 0.738 GB, free: 5.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.957e-05/0.1834, allocations: 4 kB / 0.738 GB, free: 5.426 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004837/0.1838, allocations: 395.1 kB / 0.7384 GB, free: 5.027 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.1838, allocations: 0 / 0.7384 GB, free: 5.027 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.1839, allocations: 4 kB / 0.7384 GB, free: 5.023 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1839, allocations: 0 / 0.7384 GB, free: 5.023 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004589/0.1843, allocations: 431.8 kB / 0.7388 GB, free: 4.602 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006701/0.185, allocations: 0.6487 MB / 0.7394 GB, free: 3.902 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000544/0.1855, allocations: 0.5555 MB / 0.74 GB, free: 3.328 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/0.1859, allocations: 341.7 kB / 0.7403 GB, free: 2.988 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/0.187, allocations: 1.021 MB / 0.7413 GB, free: 1.746 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004674/0.1875, allocations: 404.8 kB / 0.7417 GB, free: 1.332 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.783e-06/0.1875, allocations: 0 / 0.7417 GB, free: 1.332 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.001489/0.1889, allocations: 1.297 MB / 0.7429 GB, free: 28 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.181e-05/0.189, allocations: 81.11 kB / 0.743 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.1903, allocations: 1.223 MB / 0.7442 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.631e-05/0.1904, allocations: 29.7 kB / 0.7442 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.1906, allocations: 269.9 kB / 0.7445 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.1906, allocations: 23.78 kB / 0.7445 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003671/0.191, allocations: 351.6 kB / 0.7449 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.1911, allocations: 313.9 kB / 0.7452 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/0.1924, allocations: 1.373 MB / 0.7465 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.1939, allocations: 1.509 MB / 0.748 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007158/0.201, allocations: 3.56 MB / 0.7515 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.201, allocations: 0 / 0.7515 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004598/0.2056, allocations: 4.007 MB / 0.7554 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.2056, allocations: 15.97 kB / 0.7554 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/0.2057, allocations: 0 / 0.7554 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.2057, allocations: 0 / 0.7554 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.2058, allocations: 19.92 kB / 0.7554 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.2059, allocations: 4 kB / 0.7554 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005248/0.2064, allocations: 237.4 kB / 0.7556 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.923e-05/0.2064, allocations: 27.98 kB / 0.7557 GB, free: 2.812 MB / 0.5606 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.000332/0.2068, allocations: 245.6 kB / 0.7559 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.031e-05/0.2068, allocations: 67.34 kB / 0.756 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002962/0.2071, allocations: 79 kB / 0.756 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2071, allocations: 0 / 0.756 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2071, allocations: 0 / 0.756 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2071, allocations: 3.984 kB / 0.756 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004684/0.2076, allocations: 0.493 MB / 0.7565 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2076, allocations: 0 / 0.7565 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.154e-05/0.2077, allocations: 12.02 kB / 0.7565 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.306e-05/0.2077, allocations: 4 kB / 0.7565 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.2077, allocations: 0 / 0.7565 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.2077, allocations: 3.984 kB / 0.7565 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2077, allocations: 4 kB / 0.7565 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.2087, allocations: 1.01 MB / 0.7575 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.2089, allocations: 160.4 kB / 0.7577 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.59e-05/0.2089, allocations: 3.984 kB / 0.7577 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.209, allocations: 4 kB / 0.7577 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.2091, allocations: 11.98 kB / 0.7577 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/0.2091, allocations: 7.984 kB / 0.7577 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007514/0.2099, allocations: 0.6689 MB / 0.7584 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2099, allocations: 0 / 0.7584 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001532/0.2114, allocations: 0.5884 MB / 0.7589 GB, free: 15.34 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.003323/0.2147, allocations: 2.162 MB / 0.761 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002212/0.2169, allocations: 1.997 MB / 0.763 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2169, allocations: 0 / 0.763 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003435/0.2173, allocations: 331.8 kB / 0.7633 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.2176, allocations: 37.47 kB / 0.7633 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0159/0.2335, allocations: 15.29 MB / 0.7783 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005758/0.2341, allocations: 0.9639 MB / 0.7792 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001466/0.2342, allocations: 40.52 kB / 0.7793 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003261/0.2346, allocations: 263.5 kB / 0.7795 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of SimCode: time 1.183e-06/0.2346, allocations: 0 / 0.7795 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05065/0.2852, allocations: 24.14 MB / 0.8031 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/10.45, allocations: 16.23 kB / 0.8031 GB, free: 2.125 MB / 0.6075 GB " [Timeout remaining time 649] (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: 14.157152817992028] Failed to read output from testmodel.py, exit status != 0: 10.583405750978272 10.606766853 10.429926651 Calling exit ...