Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.001306/0.001306, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001766/0.001766, allocations: 214.8 kB / 23.04 MB, free: 5.07 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.8465/0.8465, allocations: 134 MB / 447.2 MB, free: 10.22 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.ShaGFunction,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="cs",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.001898/0.001898, allocations: 64.81 kB / 0.6194 GB, free: 7.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1988, allocations: 85.9 MB / 0.7033 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001878/0.2007, allocations: 0.5704 MB / 0.7038 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.2021, allocations: 1.019 MB / 0.7048 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.016e-05/0.2021, allocations: 0 / 0.7048 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.444e-05/0.2021, allocations: 0 / 0.7048 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000693/0.2028, allocations: 95.77 kB / 0.7049 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.577e-05/0.2029, allocations: 12 kB / 0.7049 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.46e-05/0.2029, allocations: 11.94 kB / 0.7049 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.172e-05/0.203, allocations: 0 / 0.7049 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.229e-05/0.203, allocations: 3.938 kB / 0.7049 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.2032, allocations: 31.09 kB / 0.705 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.2032, allocations: 4 kB / 0.705 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.2034, allocations: 83.89 kB / 0.705 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.058e-05/0.2034, allocations: 0 / 0.705 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.996e-05/0.2034, allocations: 3.938 kB / 0.705 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.2036, allocations: 72.08 kB / 0.7051 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2036, allocations: 0 / 0.7051 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2036, allocations: 4 kB / 0.7051 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.2036, allocations: 4 kB / 0.7051 GB, free: 15.45 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003459/0.204, allocations: 258.2 kB / 0.7054 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.204, allocations: 8.031 kB / 0.7054 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.644e-05/0.204, allocations: 192 / 0.7054 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.715e-05/0.2041, allocations: 30.75 kB / 0.7054 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.507e-05/0.2041, allocations: 8.938 kB / 0.7054 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.2042, allocations: 114.2 kB / 0.7055 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.2042, allocations: 4 kB / 0.7055 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-06/0.2042, allocations: 4 kB / 0.7055 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.3e-05/0.2043, allocations: 25.7 kB / 0.7055 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.2043, allocations: 0 / 0.7055 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.525e-06/0.2043, allocations: 0 / 0.7055 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.2043, allocations: 0 / 0.7055 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.823e-05/0.2044, allocations: 4 kB / 0.7056 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004119/0.2048, allocations: 366.5 kB / 0.7059 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.2049, allocations: 173.1 kB / 0.7061 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.068e-05/0.2049, allocations: 80.14 kB / 0.7061 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.738e-05/0.2049, allocations: 75.28 kB / 0.7062 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.436e-05/0.205, allocations: 105.8 kB / 0.7063 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 2.775e-06/0.205, allocations: 4 kB / 0.7063 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.652e-05/0.2051, allocations: 37.58 kB / 0.7064 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.636e-05/0.2052, allocations: 126.7 kB / 0.7065 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.2053, allocations: 105.8 kB / 0.7066 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.2053, allocations: 25.7 kB / 0.7066 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.833e-05/0.2053, allocations: 84.09 kB / 0.7067 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-06/0.2053, allocations: 4 kB / 0.7067 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.2054, allocations: 9.719 kB / 0.7067 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.2055, allocations: 318.8 kB / 0.707 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.118e-05/0.2055, allocations: 4 kB / 0.707 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.571e-06/0.2055, allocations: 0 / 0.707 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.446e-05/0.2055, allocations: 4.859 kB / 0.707 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.2055, allocations: 4 kB / 0.707 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001003/0.2056, allocations: 37.81 kB / 0.707 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.2057, allocations: 4 kB / 0.7071 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2057, allocations: 0 / 0.7071 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.2057, allocations: 12.08 kB / 0.7071 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.455e-05/0.2057, allocations: 0 / 0.7071 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.2057, allocations: 0 / 0.7071 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.517e-05/0.2057, allocations: 7.875 kB / 0.7071 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.2057, allocations: 0 / 0.7071 GB, free: 13.25 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001051/0.2058, allocations: 185.1 kB / 0.7072 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.397e-05/0.2059, allocations: 109 kB / 0.7074 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.202e-05/0.2059, allocations: 108.1 kB / 0.7075 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.778e-05/0.206, allocations: 180.3 kB / 0.7076 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-05/0.2061, allocations: 188.2 kB / 0.7078 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-05/0.2062, allocations: 180.2 kB / 0.708 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.2064, allocations: 376.3 kB / 0.7083 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.816e-05/0.2065, allocations: 108.9 kB / 0.7084 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.484e-05/0.2065, allocations: 109 kB / 0.7085 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-05/0.2066, allocations: 184.2 kB / 0.7087 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.406e-05/0.2067, allocations: 180.5 kB / 0.7089 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.759e-05/0.2068, allocations: 180.3 kB / 0.7091 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.581e-05/0.2069, allocations: 184.2 kB / 0.7092 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.207, allocations: 315.7 kB / 0.7095 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.694e-05/0.2071, allocations: 101 kB / 0.7096 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.21e-05/0.2071, allocations: 180.3 kB / 0.7098 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.629e-05/0.2072, allocations: 108.9 kB / 0.7099 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.873e-05/0.2073, allocations: 180.2 kB / 0.7101 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.181e-05/0.2074, allocations: 116.9 kB / 0.7102 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.433e-05/0.2074, allocations: 83.28 kB / 0.7103 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2074, allocations: 0 / 0.7103 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002605/0.2077, allocations: 19.94 kB / 0.7103 GB, free: 9.746 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0006959/0.2084, allocations: 0.8487 MB / 0.7111 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.846e-05/0.2084, allocations: 11.88 kB / 0.7111 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2084, allocations: 0 / 0.7111 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.2084, allocations: 0 / 0.7111 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.2088, allocations: 463.7 kB / 0.7116 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005515/0.2094, allocations: 229.8 kB / 0.7118 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.2098, allocations: 0.6766 MB / 0.7125 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.638e-05/0.2098, allocations: 4 kB / 0.7125 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/0.2098, allocations: 19.38 kB / 0.7125 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of SimCode: time 2.8e-07/0.2098, allocations: 0 / 0.7125 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0221/0.2319, allocations: 1.641 MB / 0.7141 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.87, allocations: 4.062 kB / 0.7141 GB, free: 5.973 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.492462977999821] Failed to read output from testmodel.py, exit status != 0: 11.016347912023775 11.031218896 10.824676301 Calling exit ...