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.001677/0.001677, allocations: 102.9 kB / 16.45 MB, free: 6.449 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.002011/0.002011, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.363/1.363, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.7993/0.7993, allocations: 133.9 MB / 442.8 MB, free: 11.69 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="me",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="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.001822/0.001822, allocations: 65.69 kB / 0.6135 GB, free: 8.762 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1818, allocations: 85.85 MB / 0.6973 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001841/0.1836, allocations: 0.5599 MB / 0.6979 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001666/0.1853, allocations: 1.008 MB / 0.6988 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.781e-05/0.1853, allocations: 4 kB / 0.6988 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.757e-05/0.1853, allocations: 0 / 0.6988 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006443/0.186, allocations: 87.78 kB / 0.6989 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 4.466e-05/0.186, allocations: 19.92 kB / 0.6989 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.501e-05/0.1861, allocations: 4 kB / 0.6989 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.447e-05/0.1861, allocations: 3.984 kB / 0.699 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.918e-05/0.1861, allocations: 7.938 kB / 0.699 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.1863, allocations: 33.17 kB / 0.699 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.867e-06/0.1863, allocations: 0 / 0.699 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.1865, allocations: 75.86 kB / 0.6991 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.114e-05/0.1865, allocations: 4 kB / 0.6991 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.001e-05/0.1865, allocations: 4 kB / 0.6991 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.1867, allocations: 72.06 kB / 0.6991 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1867, allocations: 0 / 0.6991 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1867, allocations: 0 / 0.6991 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.1867, allocations: 0 / 0.6991 GB, free: 1.102 MB / 0.5137 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.0004045/0.1871, allocations: 347.3 kB / 0.6995 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.1871, allocations: 9.109 kB / 0.6995 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.416e-05/0.1872, allocations: 34.75 kB / 0.6995 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.083e-05/0.1872, allocations: 0.9375 kB / 0.6995 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.1874, allocations: 164.4 kB / 0.6997 GB, free: 476 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.1874, allocations: 3.938 kB / 0.6997 GB, free: 472 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.657e-06/0.1874, allocations: 7.938 kB / 0.6997 GB, free: 464 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.137e-05/0.1875, allocations: 25.7 kB / 0.6997 GB, free: 432 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1875, allocations: 7.922 kB / 0.6997 GB, free: 424 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.1875, allocations: 4 kB / 0.6997 GB, free: 420 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.1875, allocations: 0 / 0.6997 GB, free: 420 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.763e-05/0.1875, allocations: 4 kB / 0.6997 GB, free: 416 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005661/0.1881, allocations: 460.6 kB / 0.7002 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.803e-05/0.1882, allocations: 173.2 kB / 0.7003 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.1883, allocations: 88.12 kB / 0.7004 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/0.1883, allocations: 79.22 kB / 0.7005 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.821e-05/0.1884, allocations: 105.8 kB / 0.7006 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.1884, allocations: 0 / 0.7006 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 0.0001132/0.1885, allocations: 25.7 kB / 0.7006 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.846e-05/0.1885, allocations: 130.6 kB / 0.7007 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.1887, allocations: 105.8 kB / 0.7008 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.1887, allocations: 29.7 kB / 0.7009 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/0.1888, allocations: 84.09 kB / 0.7009 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.1888, allocations: 0 / 0.7009 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.1888, allocations: 13.72 kB / 0.701 GB, free: 15 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1889, allocations: 318.8 kB / 0.7013 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.846e-06/0.1889, allocations: 0 / 0.7013 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.085e-05/0.189, allocations: 7.938 kB / 0.7013 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.6e-05/0.189, allocations: 8.922 kB / 0.7013 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.189, allocations: 0 / 0.7013 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001029/0.1891, allocations: 37.69 kB / 0.7013 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.1891, allocations: 4 kB / 0.7013 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.1891, allocations: 0 / 0.7013 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1891, allocations: 0 / 0.7013 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.313e-05/0.1891, allocations: 0 / 0.7013 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1891, allocations: 0 / 0.7013 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.721e-05/0.1891, allocations: 7.938 kB / 0.7013 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.1892, allocations: 0 / 0.7013 GB, free: 14.61 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.0001117/0.1893, allocations: 193.1 kB / 0.7015 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.1893, allocations: 101 kB / 0.7016 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.1894, allocations: 112.1 kB / 0.7017 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001543/0.1896, allocations: 180.2 kB / 0.7019 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002191/0.1898, allocations: 176.3 kB / 0.7021 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001061/0.1899, allocations: 184.2 kB / 0.7022 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.1902, allocations: 409.2 kB / 0.7026 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.285e-05/0.1902, allocations: 101 kB / 0.7027 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.618e-05/0.1903, allocations: 104.9 kB / 0.7028 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.568e-05/0.1904, allocations: 184.3 kB / 0.703 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.392e-05/0.1904, allocations: 192.3 kB / 0.7032 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001517/0.1906, allocations: 184.3 kB / 0.7034 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.747e-05/0.1907, allocations: 180.3 kB / 0.7035 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.1908, allocations: 311.7 kB / 0.7038 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.85e-05/0.1909, allocations: 186 kB / 0.704 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.193e-05/0.191, allocations: 180.3 kB / 0.7042 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.298e-05/0.1911, allocations: 101 kB / 0.7043 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.1e-05/0.1912, allocations: 184.1 kB / 0.7044 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/0.1913, allocations: 112.9 kB / 0.7045 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.147e-05/0.1914, allocations: 83.28 kB / 0.7046 GB, free: 11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1914, allocations: 0 / 0.7046 GB, free: 11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002432/0.1916, allocations: 15.94 kB / 0.7046 GB, free: 10.98 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.0009636/0.1926, allocations: 0.8668 MB / 0.7055 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.272e-05/0.1926, allocations: 11.98 kB / 0.7055 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1926, allocations: 0 / 0.7055 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.1926, allocations: 0 / 0.7055 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.193, allocations: 459.6 kB / 0.7059 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005311/0.1936, allocations: 236.3 kB / 0.7062 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.1939, allocations: 0.6766 MB / 0.7068 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.603e-05/0.1939, allocations: 7.172 kB / 0.7068 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.1939, allocations: 7.438 kB / 0.7068 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of SimCode: time 2.7e-07/0.1939, allocations: 0 / 0.7068 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0239/0.2178, allocations: 1.544 MB / 0.7083 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.875/8.093, allocations: 14.25 kB / 0.7084 GB, free: 7.301 MB / 0.5294 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 11.595049569004914] Failed to read output from testmodel.py, exit status != 0: 8.158797219002736 8.179759363 7.989289245 Calling exit ...