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.001207/0.001207, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001456/0.001456, allocations: 214.5 kB / 23.78 MB, free: 4.555 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.373/1.373, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.9139/0.9139, allocations: 150 MB / 463.9 MB, free: 10.25 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.001906/0.001906, allocations: 63.91 kB / 0.642 GB, free: 9.836 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1591, allocations: 89.17 MB / 0.7291 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002389/0.1615, allocations: 1.414 MB / 0.7305 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005969/0.1675, allocations: 3.833 MB / 0.7342 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.965e-05/0.1675, allocations: 3.938 kB / 0.7342 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.746e-05/0.1676, allocations: 7.922 kB / 0.7342 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.1678, allocations: 39.77 kB / 0.7343 GB, free: 11.42 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.003622/0.1714, allocations: 1.614 MB / 0.7359 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.1716, allocations: 99.59 kB / 0.736 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.696e-05/0.1716, allocations: 4 kB / 0.736 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.795e-05/0.1717, allocations: 43.91 kB / 0.736 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.1719, allocations: 159.5 kB / 0.7362 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.96e-05/0.172, allocations: 12 kB / 0.7362 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003565/0.1755, allocations: 2.543 MB / 0.7386 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002308/0.1757, allocations: 275.8 kB / 0.7389 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002094/0.176, allocations: 214.9 kB / 0.7391 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002738/0.1787, allocations: 2.154 MB / 0.7412 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1787, allocations: 4 kB / 0.7412 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1787, allocations: 3.938 kB / 0.7412 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.1787, allocations: 0 / 0.7412 GB, free: 4.297 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.008243/0.187, allocations: 1.264 MB / 0.7425 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.187, allocations: 8.031 kB / 0.7425 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.254e-05/0.187, allocations: 192 / 0.7425 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.416e-05/0.187, allocations: 42.75 kB / 0.7425 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003803/0.1874, allocations: 96.23 kB / 0.7426 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.1878, allocations: 295.2 kB / 0.7429 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.1878, allocations: 19.91 kB / 0.7429 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.423e-05/0.1879, allocations: 4 kB / 0.7429 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004318/0.1883, allocations: 387.1 kB / 0.7433 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.1883, allocations: 0 / 0.7433 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.1883, allocations: 7.984 kB / 0.7433 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1883, allocations: 0 / 0.7433 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004313/0.1888, allocations: 435.8 kB / 0.7437 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005745/0.1893, allocations: 0.5932 MB / 0.7443 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005379/0.1899, allocations: 0.5672 MB / 0.7448 GB, free: 460 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.1902, allocations: 329.7 kB / 0.7451 GB, free: 124 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006663/0.1909, allocations: 135.9 kB / 0.7453 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004013/0.1913, allocations: 404.8 kB / 0.7457 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.1913, allocations: 0 / 0.7457 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.00133/0.1926, allocations: 1.293 MB / 0.7469 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.1926, allocations: 81.11 kB / 0.747 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.1938, allocations: 1.223 MB / 0.7482 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/0.1939, allocations: 29.7 kB / 0.7482 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.1941, allocations: 269.9 kB / 0.7485 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.1941, allocations: 19.84 kB / 0.7485 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003308/0.1945, allocations: 355.6 kB / 0.7488 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1946, allocations: 313.9 kB / 0.7491 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.1958, allocations: 1.369 MB / 0.7505 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.1972, allocations: 1.505 MB / 0.7519 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007011/0.2042, allocations: 3.564 MB / 0.7554 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/0.2042, allocations: 3.938 kB / 0.7554 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004588/0.2088, allocations: 4.003 MB / 0.7593 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.2088, allocations: 8 kB / 0.7593 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/0.2088, allocations: 0 / 0.7593 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.2089, allocations: 0 / 0.7593 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.209, allocations: 23.95 kB / 0.7594 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.209, allocations: 4.312 kB / 0.7594 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005227/0.2095, allocations: 237.4 kB / 0.7596 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.357e-05/0.2096, allocations: 23.98 kB / 0.7596 GB, free: 1.07 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.0003454/0.21, allocations: 241.6 kB / 0.7599 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.219e-05/0.21, allocations: 67.34 kB / 0.7599 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3161/0.5261, allocations: 0.9507 MB / 0.7608 GB, free: 35.04 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.5261, allocations: 2.781 kB / 0.7608 GB, free: 35.04 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.5261, allocations: 1.469 kB / 0.7608 GB, free: 35.04 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.5262, allocations: 0 / 0.7608 GB, free: 35.04 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000525/0.5267, allocations: 474.2 kB / 0.7613 GB, free: 34.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5267, allocations: 1.844 kB / 0.7613 GB, free: 34.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.5268, allocations: 9.656 kB / 0.7613 GB, free: 34.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.942e-06/0.5268, allocations: 1.406 kB / 0.7613 GB, free: 34.89 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.5268, allocations: 6.875 kB / 0.7613 GB, free: 34.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.5268, allocations: 0 / 0.7613 GB, free: 34.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.5268, allocations: 2.219 kB / 0.7613 GB, free: 34.89 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008331/0.5276, allocations: 1.007 MB / 0.7623 GB, free: 34.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.976e-05/0.5277, allocations: 81.89 kB / 0.7624 GB, free: 34.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.179e-05/0.5278, allocations: 3.297 kB / 0.7624 GB, free: 34.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.5279, allocations: 5.375 kB / 0.7624 GB, free: 34.74 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.528, allocations: 10.02 kB / 0.7624 GB, free: 34.74 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.355e-05/0.528, allocations: 16.2 kB / 0.7624 GB, free: 34.74 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005494/0.5286, allocations: 0.6693 MB / 0.7631 GB, free: 34.63 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5286, allocations: 1.531 kB / 0.7631 GB, free: 34.63 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001502/0.5301, allocations: 0.5861 MB / 0.7636 GB, free: 34.63 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.0027/0.5328, allocations: 2.157 MB / 0.7658 GB, free: 33.93 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002008/0.5348, allocations: 1.997 MB / 0.7677 GB, free: 33.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5348, allocations: 0.9062 kB / 0.7677 GB, free: 33.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004141/0.5352, allocations: 339.5 kB / 0.768 GB, free: 33.86 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.5355, allocations: 34.77 kB / 0.7681 GB, free: 33.86 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01558/0.5511, allocations: 15.29 MB / 0.783 GB, free: 29.14 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.5515, allocations: 371.3 kB / 0.7833 GB, free: 29.05 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001604/0.5516, allocations: 36.72 kB / 0.7834 GB, free: 29.05 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/0.5519, allocations: 264.1 kB / 0.7836 GB, free: 28.83 MB / 0.5762 GB Notification: Performance of SimCode: time 1.252e-06/0.5519, allocations: 3.469 kB / 0.7836 GB, free: 28.83 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05061/0.6025, allocations: 24.89 MB / 0.8079 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/13.97, allocations: 4.062 kB / 0.8079 GB, free: 14.85 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.425287484074943] Failed to read output from testmodel.py, exit status != 0: 14.156615521991625 14.173198825 13.991266355 Calling exit ...