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_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.000991/0.000991, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0008801/0.0008801, allocations: 169.9 kB / 23.21 MB, free: 1.352 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.8797/0.8797, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.5527/0.5527, allocations: 114 MB / 373.9 MB, free: 8.711 MB / 346.7 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_SmallScaleValidation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.634e-06/1.634e-06, allocations: 0 / 0.5543 GB, free: 2.707 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.656e-05/1.82e-05, allocations: 5.562 kB / 0.5543 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00253/0.002548, allocations: 1.722 MB / 0.556 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.006567/0.009116, allocations: 4.887 MB / 0.5607 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.282e-05/0.009198, allocations: 7.938 kB / 0.5607 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.01032, allocations: 342.3 kB / 0.5611 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 9.005e-05/0.01041, allocations: 59.61 kB / 0.5611 GB, free: 11.66 MB / 0.5261 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.003165/0.01358, allocations: 1.616 MB / 0.5627 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002272/0.0138, allocations: 159.3 kB / 0.5629 GB, free: 9.891 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.196e-05/0.01384, allocations: 13.8 kB / 0.5629 GB, free: 9.879 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.01395, allocations: 75.8 kB / 0.5629 GB, free: 9.805 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.01413, allocations: 155.6 kB / 0.5631 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.01417, allocations: 12 kB / 0.5631 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003186/0.01735, allocations: 2.405 MB / 0.5655 GB, free: 7.23 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.01755, allocations: 287.8 kB / 0.5657 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.0177, allocations: 160 kB / 0.5659 GB, free: 6.789 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.003008/0.02071, allocations: 2.519 MB / 0.5683 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.02071, allocations: 0 / 0.5683 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of FrontEnd: time 5.691e-06/0.02072, allocations: 0 / 0.5683 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.623e-05/0.02075, allocations: 0 / 0.5683 GB, free: 4.266 MB / 0.5261 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.004793/0.02555, allocations: 1.342 MB / 0.5696 GB, free: 2.887 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.02558, allocations: 12.62 kB / 0.5697 GB, free: 2.875 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.112e-05/0.02561, allocations: 38.73 kB / 0.5697 GB, free: 2.828 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000238/0.02585, allocations: 96.2 kB / 0.5698 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.02626, allocations: 351.7 kB / 0.5701 GB, free: 2.355 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.02627, allocations: 8.359 kB / 0.5701 GB, free: 2.348 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.0263, allocations: 12.36 kB / 0.5701 GB, free: 2.336 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.02658, allocations: 395.1 kB / 0.5705 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.02659, allocations: 0 / 0.5705 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.0266, allocations: 0 / 0.5705 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.0266, allocations: 0 / 0.5705 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002687/0.02687, allocations: 435.7 kB / 0.5709 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004025/0.02728, allocations: 0.6182 MB / 0.5715 GB, free: 0.8516 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003423/0.02762, allocations: 0.5595 MB / 0.5721 GB, free: 280 kB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.02782, allocations: 333.6 kB / 0.5724 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003566/0.02818, allocations: 143.7 kB / 0.5725 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002604/0.02844, allocations: 408.8 kB / 0.5729 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.02844, allocations: 0 / 0.5729 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.0009561/0.02939, allocations: 1.301 MB / 0.5742 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.02943, allocations: 81.11 kB / 0.5743 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008147/0.03025, allocations: 1.294 MB / 0.5755 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.03027, allocations: 29.69 kB / 0.5756 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.03042, allocations: 289.9 kB / 0.5758 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.03045, allocations: 23.8 kB / 0.5759 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002197/0.03067, allocations: 343.6 kB / 0.5762 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.421e-05/0.03074, allocations: 318 kB / 0.5765 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008178/0.03156, allocations: 1.381 MB / 0.5778 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008513/0.03241, allocations: 1.497 MB / 0.5793 GB, free: 8.777 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004597/0.03701, allocations: 3.56 MB / 0.5828 GB, free: 5.125 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.03701, allocations: 4 kB / 0.5828 GB, free: 5.121 MB / 0.5417 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003025/0.04004, allocations: 4.015 MB / 0.5867 GB, free: 1.07 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.04005, allocations: 8 kB / 0.5867 GB, free: 1.062 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.04007, allocations: 3.938 kB / 0.5867 GB, free: 1.059 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.04008, allocations: 7.984 kB / 0.5867 GB, free: 1.051 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.56e-05/0.04016, allocations: 12 kB / 0.5867 GB, free: 1.039 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.04016, allocations: 320 / 0.5867 GB, free: 1.039 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002683/0.04043, allocations: 245.3 kB / 0.587 GB, free: 0.7969 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.183e-05/0.04046, allocations: 19.98 kB / 0.587 GB, free: 0.7773 MB / 0.5417 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.0002202/0.04068, allocations: 257.6 kB / 0.5872 GB, free: 0.5156 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.04e-05/0.04073, allocations: 83.19 kB / 0.5873 GB, free: 444 kB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006482/0.04138, allocations: 0.9408 MB / 0.5882 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.04139, allocations: 7.984 kB / 0.5882 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.04139, allocations: 0 / 0.5882 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.0414, allocations: 7.922 kB / 0.5883 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.04171, allocations: 489.5 kB / 0.5887 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.04172, allocations: 3.938 kB / 0.5887 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.428e-05/0.04175, allocations: 16.02 kB / 0.5887 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.04176, allocations: 4 kB / 0.5887 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.04176, allocations: 0 / 0.5887 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.04177, allocations: 0 / 0.5887 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.04177, allocations: 4 kB / 0.5887 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005994/0.04237, allocations: 1.01 MB / 0.5897 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.049e-05/0.04243, allocations: 87.23 kB / 0.5898 GB, free: 13.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.04246, allocations: 4 kB / 0.5898 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.296e-05/0.04254, allocations: 7.984 kB / 0.5898 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.602e-05/0.04261, allocations: 15.92 kB / 0.5898 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.04264, allocations: 11.98 kB / 0.5899 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005915/0.04323, allocations: 0.7299 MB / 0.5906 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.04323, allocations: 0 / 0.5906 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001086/0.04431, allocations: 0.5845 MB / 0.5911 GB, free: 12.45 MB / 0.5573 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.002296/0.04661, allocations: 2.255 MB / 0.5933 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001273/0.04788, allocations: 1.993 MB / 0.5953 GB, free: 8.18 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.04789, allocations: 0 / 0.5953 GB, free: 8.18 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004726/0.04836, allocations: 332 kB / 0.5956 GB, free: 7.855 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.04862, allocations: 72.91 kB / 0.5957 GB, free: 7.781 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/0.05962, allocations: 15.45 MB / 0.6108 GB, free: 8.145 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.05985, allocations: 393.8 kB / 0.6111 GB, free: 7.738 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 9.856e-05/0.05995, allocations: 45.45 kB / 0.6112 GB, free: 7.695 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/0.06016, allocations: 288.4 kB / 0.6115 GB, free: 7.414 MB / 0.573 GB Notification: Performance of SimCode: time 6.61e-07/0.06016, allocations: 0 / 0.6115 GB, free: 7.414 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03825/0.09841, allocations: 25.67 MB / 0.6365 GB, free: 14.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.687/7.785, allocations: 3.984 kB / 0.6365 GB, free: 14.02 MB / 0.6042 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.csv --start-time 0 --stop-time 1.8e+12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 7.2e+08 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.777128943242133] Failed to read output from testmodel.py, exit status != 0: 7.883948498405516 7.898100857 7.874667051 Calling exit ...