Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001837/0.001837, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002283/0.002283, allocations: 214.4 kB / 22.99 MB, free: 4.977 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.9652/0.9652, allocations: 149.9 MB / 463 MB, free: 10.33 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.ShaGFunction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",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.002378/0.002378, allocations: 62.69 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1778, allocations: 89.18 MB / 0.7282 GB, free: 1.008 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002114/0.1799, allocations: 0.5728 MB / 0.7288 GB, free: 452 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001824/0.1817, allocations: 1.003 MB / 0.7298 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.202e-05/0.1818, allocations: 0 / 0.7298 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.858e-05/0.1818, allocations: 4 kB / 0.7298 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008038/0.1826, allocations: 95.77 kB / 0.7298 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 5.686e-05/0.1826, allocations: 15.94 kB / 0.7299 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.395e-05/0.1827, allocations: 4 kB / 0.7299 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.404e-05/0.1827, allocations: 3.984 kB / 0.7299 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.051e-05/0.1828, allocations: 4 kB / 0.7299 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002542/0.183, allocations: 36.19 kB / 0.7299 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.183, allocations: 0 / 0.7299 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002101/0.1832, allocations: 75.91 kB / 0.73 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.1833, allocations: 7.922 kB / 0.73 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.1833, allocations: 4 kB / 0.73 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.1835, allocations: 75.8 kB / 0.7301 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1835, allocations: 0 / 0.7301 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.272e-06/0.1835, allocations: 3.984 kB / 0.7301 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.1835, allocations: 0 / 0.7301 GB, free: 15.1 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000391/0.1839, allocations: 258.2 kB / 0.7303 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.184, allocations: 8.031 kB / 0.7303 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.974e-05/0.184, allocations: 30.75 kB / 0.7304 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/0.184, allocations: 4.891 kB / 0.7304 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.1842, allocations: 110.5 kB / 0.7305 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.1842, allocations: 7.938 kB / 0.7305 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.585e-06/0.1842, allocations: 0 / 0.7305 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.1843, allocations: 29.7 kB / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1843, allocations: 0 / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.1843, allocations: 3.984 kB / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1843, allocations: 0 / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.624e-05/0.1844, allocations: 3.938 kB / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005076/0.1849, allocations: 362.6 kB / 0.7309 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.185, allocations: 169.1 kB / 0.731 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.818e-05/0.185, allocations: 84.08 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.1851, allocations: 79.28 kB / 0.7312 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.824e-05/0.1851, allocations: 113.8 kB / 0.7313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.1851, allocations: 0 / 0.7313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.69e-05/0.1852, allocations: 29.7 kB / 0.7313 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.473e-05/0.1853, allocations: 126.7 kB / 0.7314 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.1854, allocations: 105.8 kB / 0.7315 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.1854, allocations: 25.7 kB / 0.7316 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.1855, allocations: 80.14 kB / 0.7316 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-06/0.1855, allocations: 0 / 0.7316 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.1855, allocations: 13.72 kB / 0.7316 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1857, allocations: 318.8 kB / 0.7319 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.212e-05/0.1857, allocations: 7.984 kB / 0.732 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-06/0.1857, allocations: 4 kB / 0.732 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.85e-05/0.1857, allocations: 8.797 kB / 0.732 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1857, allocations: 0 / 0.732 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000111/0.1858, allocations: 37.66 kB / 0.732 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1858, allocations: 5.875 kB / 0.732 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1858, allocations: 3.938 kB / 0.732 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1859, allocations: 0 / 0.732 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.67e-05/0.1859, allocations: 0 / 0.732 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1859, allocations: 8.094 kB / 0.732 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.57e-05/0.1859, allocations: 3.938 kB / 0.732 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.1859, allocations: 0 / 0.732 GB, free: 12.9 MB / 0.5606 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.0001196/0.186, allocations: 185.1 kB / 0.7322 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.847e-05/0.1861, allocations: 112.9 kB / 0.7323 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.26e-05/0.1862, allocations: 104.1 kB / 0.7324 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.568e-05/0.1862, allocations: 184.2 kB / 0.7326 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-05/0.1863, allocations: 176.3 kB / 0.7327 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.924e-05/0.1864, allocations: 184.3 kB / 0.7329 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.1867, allocations: 380.3 kB / 0.7333 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.704e-05/0.1868, allocations: 105 kB / 0.7334 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.226e-05/0.1868, allocations: 112.9 kB / 0.7335 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.999e-05/0.1869, allocations: 180.3 kB / 0.7337 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.05e-05/0.187, allocations: 176.3 kB / 0.7338 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.102e-05/0.1871, allocations: 188.2 kB / 0.734 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.841e-05/0.1872, allocations: 176.5 kB / 0.7342 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.1874, allocations: 311.7 kB / 0.7345 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.879e-05/0.1874, allocations: 113 kB / 0.7346 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.1875, allocations: 180.2 kB / 0.7348 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.945e-05/0.1876, allocations: 101 kB / 0.7349 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.1877, allocations: 188.2 kB / 0.735 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.899e-05/0.1878, allocations: 112.9 kB / 0.7351 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.357e-05/0.1879, allocations: 83.28 kB / 0.7352 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1879, allocations: 0 / 0.7352 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002835/0.1881, allocations: 27.86 kB / 0.7352 GB, free: 9.395 MB / 0.5606 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.0008279/0.189, allocations: 0.8499 MB / 0.7361 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.978e-05/0.189, allocations: 4 kB / 0.7361 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.189, allocations: 0 / 0.7361 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.185e-06/0.189, allocations: 4 kB / 0.7361 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.1895, allocations: 463.6 kB / 0.7365 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006157/0.1901, allocations: 249.6 kB / 0.7368 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.707e-05/0.1902, allocations: 55.36 kB / 0.7368 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.759e-05/0.1902, allocations: 0 / 0.7368 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/0.1902, allocations: 11.5 kB / 0.7368 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/0.1902, allocations: 4 kB / 0.7368 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03058/0.2208, allocations: 2.042 MB / 0.7388 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.7, allocations: 9 kB / 0.7388 GB, free: 5.824 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.549607816152275] Failed to read output from testmodel.py, exit status != 0: 11.811074987985194 11.834473488 11.646485244 Calling exit ...