Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001488/0.001488, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001735/0.001735, allocations: 217 kB / 22.25 MB, free: 5.082 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.394/1.394, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8087/0.8087, allocations: 134 MB / 446.4 MB, free: 10.25 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.00196/0.00196, allocations: 66.61 kB / 0.6186 GB, free: 7.168 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1719, allocations: 85.89 MB / 0.7025 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003112/0.175, allocations: 1.444 MB / 0.7039 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006061/0.1811, allocations: 3.086 MB / 0.7069 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.869e-05/0.1812, allocations: 0 / 0.7069 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.1813, allocations: 19.86 kB / 0.7069 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.1816, allocations: 27.84 kB / 0.707 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003256/0.1848, allocations: 1.037 MB / 0.708 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.1851, allocations: 83.67 kB / 0.7081 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.68e-05/0.1851, allocations: 8 kB / 0.7081 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.514e-05/0.1852, allocations: 39.91 kB / 0.7081 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002677/0.1855, allocations: 147.6 kB / 0.7082 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.065e-05/0.1855, allocations: 12 kB / 0.7083 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002998/0.1885, allocations: 1.552 MB / 0.7098 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002482/0.1887, allocations: 267.8 kB / 0.71 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002789/0.189, allocations: 274.3 kB / 0.7103 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002607/0.1916, allocations: 1.503 MB / 0.7118 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1916, allocations: 4 kB / 0.7118 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.286e-06/0.1916, allocations: 7.938 kB / 0.7118 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.1916, allocations: 0 / 0.7118 GB, free: 7.828 MB / 0.5294 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.008522/0.2002, allocations: 1.171 MB / 0.7129 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.2002, allocations: 12.03 kB / 0.7129 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.97e-05/0.2003, allocations: 34.73 kB / 0.713 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003464/0.2006, allocations: 92.25 kB / 0.713 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.201, allocations: 307.1 kB / 0.7133 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.201, allocations: 12.11 kB / 0.7133 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.2011, allocations: 4 kB / 0.7133 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004456/0.2015, allocations: 391.1 kB / 0.7137 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2015, allocations: 0 / 0.7137 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.2015, allocations: 4 kB / 0.7137 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2016, allocations: 0 / 0.7137 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004457/0.202, allocations: 431.8 kB / 0.7141 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000602/0.2026, allocations: 0.6088 MB / 0.7147 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005486/0.2031, allocations: 0.5632 MB / 0.7153 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/0.2035, allocations: 341.7 kB / 0.7156 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000648/0.2041, allocations: 131.9 kB / 0.7157 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004095/0.2045, allocations: 404.8 kB / 0.7161 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.2045, allocations: 0 / 0.7161 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001394/0.2059, allocations: 1.297 MB / 0.7174 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.206, allocations: 85.11 kB / 0.7175 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.2072, allocations: 1.203 MB / 0.7186 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.063e-05/0.2072, allocations: 37.81 kB / 0.7187 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.2074, allocations: 261.9 kB / 0.7189 GB, free: 264 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.2074, allocations: 23.84 kB / 0.719 GB, free: 240 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003323/0.2078, allocations: 351.5 kB / 0.7193 GB, free: 15.89 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.2079, allocations: 310 kB / 0.7196 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/0.2092, allocations: 1.365 MB / 0.7209 GB, free: 14.21 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.2105, allocations: 1.493 MB / 0.7224 GB, free: 12.71 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006937/0.2175, allocations: 3.549 MB / 0.7258 GB, free: 9.066 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.2175, allocations: 0 / 0.7258 GB, free: 9.066 MB / 0.545 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004313/0.2218, allocations: 3.958 MB / 0.7297 GB, free: 5.074 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.2218, allocations: 12.03 kB / 0.7297 GB, free: 5.062 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.2218, allocations: 0 / 0.7297 GB, free: 5.062 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.2218, allocations: 0 / 0.7297 GB, free: 5.062 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.222, allocations: 23.92 kB / 0.7297 GB, free: 5.039 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.222, allocations: 4 kB / 0.7297 GB, free: 5.035 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/0.2224, allocations: 233.4 kB / 0.73 GB, free: 4.805 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.606e-05/0.2225, allocations: 23.98 kB / 0.73 GB, free: 4.781 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (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 (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0002981/0.2228, allocations: 237.6 kB / 0.7302 GB, free: 4.539 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.341e-05/0.2228, allocations: 71.34 kB / 0.7303 GB, free: 4.469 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.2239, allocations: 0.9436 MB / 0.7312 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.2239, allocations: 4 kB / 0.7312 GB, free: 3.508 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2239, allocations: 0 / 0.7312 GB, free: 3.508 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.2239, allocations: 3.984 kB / 0.7312 GB, free: 3.504 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004471/0.2244, allocations: 471.7 kB / 0.7317 GB, free: 3.004 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.2244, allocations: 7.984 kB / 0.7317 GB, free: 2.996 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.253e-05/0.2244, allocations: 11.97 kB / 0.7317 GB, free: 2.984 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2244, allocations: 0 / 0.7317 GB, free: 2.984 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.2245, allocations: 7.984 kB / 0.7317 GB, free: 2.977 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2245, allocations: 0 / 0.7317 GB, free: 2.977 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2245, allocations: 0 / 0.7317 GB, free: 2.977 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009458/0.2254, allocations: 1.006 MB / 0.7327 GB, free: 1.949 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.428e-05/0.2255, allocations: 79.34 kB / 0.7327 GB, free: 1.871 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.119e-05/0.2255, allocations: 7.984 kB / 0.7328 GB, free: 1.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.2257, allocations: 4 kB / 0.7328 GB, free: 1.859 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.2257, allocations: 7.984 kB / 0.7328 GB, free: 1.852 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.634e-05/0.2257, allocations: 11.98 kB / 0.7328 GB, free: 1.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007305/0.2265, allocations: 0.6687 MB / 0.7334 GB, free: 1.164 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2265, allocations: 0 / 0.7334 GB, free: 1.164 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009901/0.2275, allocations: 407 kB / 0.7338 GB, free: 0.7656 MB / 0.545 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.002411/0.2299, allocations: 1.927 MB / 0.7357 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00205/0.2319, allocations: 1.945 MB / 0.7376 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2319, allocations: 0 / 0.7376 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000347/0.2323, allocations: 343.8 kB / 0.7379 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.2326, allocations: 37.94 kB / 0.738 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3168/0.5494, allocations: 15.06 MB / 0.7527 GB, free: 45.46 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/0.5498, allocations: 0.9668 MB / 0.7536 GB, free: 44.76 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001864/0.55, allocations: 32.31 kB / 0.7536 GB, free: 44.76 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/0.5502, allocations: 262 kB / 0.7539 GB, free: 44.75 MB / 0.5606 GB Notification: Performance of SimCode: time 1.593e-06/0.5502, allocations: 1.438 kB / 0.7539 GB, free: 44.75 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0586/0.6089, allocations: 19.84 MB / 0.7733 GB, free: 39.14 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.11, allocations: 3.469 kB / 0.7733 GB, free: 39.14 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --stepSize=164800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.48570019705221] Failed to read output from testmodel.py, exit status != 0: 14.229256100021303 14.251367146 14.055862299 Calling exit ...