Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001341/0.001341, allocations: 108.7 kB / 16.46 MB, free: 6.453 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.001414/0.001414, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.407/1.407, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002461/0.002461, allocations: 286.3 kB / 309.1 MB, free: 3.977 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.217/1.217, allocations: 180.9 MB / 0.5333 GB, free: 13.76 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002806/0.002806, allocations: 110.7 kB / 0.7343 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1727, allocations: 95.34 MB / 0.8274 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001593/0.1743, allocations: 0.5723 MB / 0.828 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.1756, allocations: 1.021 MB / 0.829 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.846e-05/0.1757, allocations: 3.938 kB / 0.829 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.155e-05/0.1757, allocations: 0 / 0.829 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007027/0.1764, allocations: 95.78 kB / 0.8291 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001222/0.1765, allocations: 11.94 kB / 0.8291 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.1766, allocations: 7.984 kB / 0.8291 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.529e-05/0.1767, allocations: 4 kB / 0.8291 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.846e-05/0.1767, allocations: 8 kB / 0.8291 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003778/0.1771, allocations: 28.25 kB / 0.8291 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.427e-06/0.1771, allocations: 0 / 0.8291 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.1773, allocations: 87.84 kB / 0.8292 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.216e-06/0.1773, allocations: 0 / 0.8292 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.204e-05/0.1773, allocations: 7.922 kB / 0.8292 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.1775, allocations: 85.75 kB / 0.8293 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1775, allocations: 0 / 0.8293 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1775, allocations: 0 / 0.8293 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.876e-06/0.1775, allocations: 0 / 0.8293 GB, free: 7.902 MB / 0.5762 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.0003674/0.1779, allocations: 340.9 kB / 0.8296 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.1779, allocations: 8.031 kB / 0.8296 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.712e-05/0.178, allocations: 30.75 kB / 0.8297 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.124e-05/0.178, allocations: 0.9375 kB / 0.8297 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.1781, allocations: 172.4 kB / 0.8298 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.1781, allocations: 384 / 0.8298 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.1781, allocations: 4.359 kB / 0.8298 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.482e-05/0.1782, allocations: 29.64 kB / 0.8299 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1782, allocations: 4 kB / 0.8299 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.1782, allocations: 4 kB / 0.8299 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1782, allocations: 0 / 0.8299 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.767e-05/0.1783, allocations: 3.938 kB / 0.8299 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004317/0.1787, allocations: 468.5 kB / 0.8303 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.323e-05/0.1788, allocations: 165.1 kB / 0.8305 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.984e-05/0.1788, allocations: 84.14 kB / 0.8305 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.1789, allocations: 79.28 kB / 0.8306 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.564e-05/0.1789, allocations: 113.8 kB / 0.8307 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.1789, allocations: 0 / 0.8307 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.049e-05/0.179, allocations: 29.7 kB / 0.8308 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.1791, allocations: 126.7 kB / 0.8309 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.1792, allocations: 101.9 kB / 0.831 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.1792, allocations: 25.7 kB / 0.831 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.515e-05/0.1792, allocations: 88.12 kB / 0.8311 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.1792, allocations: 0 / 0.8311 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.1792, allocations: 9.719 kB / 0.8311 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1794, allocations: 314.8 kB / 0.8314 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.173e-05/0.1794, allocations: 7.938 kB / 0.8314 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.68e-06/0.1794, allocations: 0 / 0.8314 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.953e-05/0.1794, allocations: 20.86 kB / 0.8314 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1794, allocations: 0 / 0.8314 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.505e-05/0.1795, allocations: 33.69 kB / 0.8315 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.1795, allocations: 4 kB / 0.8315 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1795, allocations: 0 / 0.8315 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1795, allocations: 7.938 kB / 0.8315 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.529e-05/0.1796, allocations: 0 / 0.8315 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1796, allocations: 0 / 0.8315 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.284e-05/0.1796, allocations: 0 / 0.8315 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.1796, allocations: 0 / 0.8315 GB, free: 5.418 MB / 0.5762 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.0001047/0.1797, allocations: 193.1 kB / 0.8317 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.488e-05/0.1798, allocations: 104.9 kB / 0.8318 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.865e-05/0.1798, allocations: 115.9 kB / 0.8319 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.4e-05/0.1799, allocations: 180.2 kB / 0.832 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-05/0.18, allocations: 180.3 kB / 0.8322 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.211e-05/0.18, allocations: 180.3 kB / 0.8324 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.1803, allocations: 413.1 kB / 0.8328 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.672e-05/0.1803, allocations: 105 kB / 0.8329 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.139e-05/0.1804, allocations: 104.9 kB / 0.833 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.306e-05/0.1805, allocations: 176.3 kB / 0.8331 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.028e-05/0.1805, allocations: 188.5 kB / 0.8333 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.483e-05/0.1806, allocations: 188.2 kB / 0.8335 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.472e-05/0.1807, allocations: 180.3 kB / 0.8337 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.1808, allocations: 307.7 kB / 0.834 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.487e-05/0.1809, allocations: 182.1 kB / 0.8341 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.785e-05/0.181, allocations: 188.2 kB / 0.8343 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.993e-05/0.1811, allocations: 105 kB / 0.8344 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.717e-05/0.1812, allocations: 180.2 kB / 0.8346 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-05/0.1812, allocations: 101 kB / 0.8347 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.335e-05/0.1813, allocations: 87.44 kB / 0.8348 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1813, allocations: 0 / 0.8348 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002534/0.1815, allocations: 27.88 kB / 0.8348 GB, free: 1.785 MB / 0.5762 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.0006872/0.1822, allocations: 0.8636 MB / 0.8356 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.238e-05/0.1823, allocations: 7.984 kB / 0.8356 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1823, allocations: 0 / 0.8356 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.1823, allocations: 0 / 0.8356 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.1827, allocations: 457 kB / 0.8361 GB, free: 452 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000524/0.1832, allocations: 237.8 kB / 0.8363 GB, free: 172 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.1835, allocations: 0.6729 MB / 0.837 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.33e-05/0.1835, allocations: 0 / 0.837 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/0.1835, allocations: 11.44 kB / 0.837 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of SimCode: time 2.61e-07/0.1835, allocations: 0 / 0.837 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02636/0.2099, allocations: 1.608 MB / 0.8385 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.941/8.151, allocations: 16.45 kB / 0.8386 GB, free: 14.07 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.186778421048075] Failed to read output from testmodel.py, exit status != 0: 8.214277170598507 8.227966167 8.047710481 Calling exit ...