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.001493/0.001493, allocations: 114.3 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.001747/0.001747, allocations: 214.4 kB / 22.26 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.334/1.334, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002397/0.002397, allocations: 287.2 kB / 312.7 MB, free: 2.824 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.169/1.169, allocations: 180.6 MB / 0.5369 GB, free: 13.09 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.00268/0.00268, allocations: 103.2 kB / 0.7396 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.166, allocations: 95.38 MB / 0.8328 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001631/0.1677, allocations: 0.5901 MB / 0.8334 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.1689, allocations: 1.025 MB / 0.8344 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.693e-05/0.169, allocations: 0 / 0.8344 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.528e-05/0.169, allocations: 0 / 0.8344 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006476/0.1696, allocations: 99.77 kB / 0.8345 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.203e-05/0.1697, allocations: 11.94 kB / 0.8345 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.235e-05/0.1697, allocations: 7.984 kB / 0.8345 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.93e-05/0.1697, allocations: 4 kB / 0.8345 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.673e-05/0.1698, allocations: 3.984 kB / 0.8345 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.1699, allocations: 38.12 kB / 0.8345 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.476e-06/0.17, allocations: 7.875 kB / 0.8345 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001626/0.1701, allocations: 79.92 kB / 0.8346 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.1701, allocations: 3.984 kB / 0.8346 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.443e-05/0.1701, allocations: 0 / 0.8346 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.1703, allocations: 79.78 kB / 0.8347 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1703, allocations: 0 / 0.8347 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1703, allocations: 0 / 0.8347 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.1703, allocations: 4 kB / 0.8347 GB, free: 6.676 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.000311/0.1706, allocations: 258.2 kB / 0.8349 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1707, allocations: 13.34 kB / 0.8349 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.961e-05/0.1707, allocations: 30.75 kB / 0.835 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.141e-05/0.1707, allocations: 4.938 kB / 0.835 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.1708, allocations: 110.5 kB / 0.8351 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.1708, allocations: 4.312 kB / 0.8351 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-06/0.1708, allocations: 384 / 0.8351 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.463e-05/0.1709, allocations: 41.58 kB / 0.8351 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.1709, allocations: 0 / 0.8351 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1709, allocations: 7.984 kB / 0.8351 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1709, allocations: 0 / 0.8351 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.438e-05/0.171, allocations: 0 / 0.8351 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.1713, allocations: 362.5 kB / 0.8355 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.615e-05/0.1714, allocations: 173.1 kB / 0.8356 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.478e-05/0.1715, allocations: 80.14 kB / 0.8357 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.1715, allocations: 75.28 kB / 0.8358 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.183e-05/0.1715, allocations: 113.8 kB / 0.8359 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.1715, allocations: 0 / 0.8359 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 6.854e-05/0.1716, allocations: 29.66 kB / 0.8359 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/0.1717, allocations: 130.7 kB / 0.8361 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.251e-05/0.1718, allocations: 101.8 kB / 0.8362 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.1718, allocations: 29.7 kB / 0.8362 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.814e-05/0.1718, allocations: 80.14 kB / 0.8363 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.1718, allocations: 3.938 kB / 0.8363 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.1719, allocations: 9.719 kB / 0.8363 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.172, allocations: 318.8 kB / 0.8366 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.246e-06/0.172, allocations: 0 / 0.8366 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.739e-06/0.172, allocations: 4 kB / 0.8366 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.32e-05/0.172, allocations: 12.86 kB / 0.8366 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.172, allocations: 0 / 0.8366 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.803e-05/0.1721, allocations: 33.69 kB / 0.8366 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1721, allocations: 8 kB / 0.8366 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-06/0.1721, allocations: 3.938 kB / 0.8366 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.1722, allocations: 0 / 0.8366 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.109e-05/0.1722, allocations: 0 / 0.8366 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1722, allocations: 3.938 kB / 0.8366 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.151e-05/0.1722, allocations: 4.094 kB / 0.8366 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-06/0.1722, allocations: 0 / 0.8366 GB, free: 4.473 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.0001014/0.1723, allocations: 189.1 kB / 0.8368 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.455e-05/0.1724, allocations: 105 kB / 0.8369 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.141e-05/0.1724, allocations: 111.9 kB / 0.837 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.317e-05/0.1725, allocations: 188.2 kB / 0.8372 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.63e-05/0.1726, allocations: 180.3 kB / 0.8374 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.603e-05/0.1726, allocations: 180.2 kB / 0.8376 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.1729, allocations: 380.2 kB / 0.8379 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-05/0.1729, allocations: 101 kB / 0.838 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.473e-05/0.173, allocations: 104.9 kB / 0.8381 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.848e-05/0.173, allocations: 188.2 kB / 0.8383 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.002e-05/0.1731, allocations: 184.4 kB / 0.8385 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-05/0.1732, allocations: 180.3 kB / 0.8386 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.746e-05/0.1733, allocations: 180.2 kB / 0.8388 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.1734, allocations: 315.8 kB / 0.8391 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/0.1735, allocations: 112.9 kB / 0.8392 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.479e-05/0.1736, allocations: 180.3 kB / 0.8394 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.57e-05/0.1737, allocations: 104.9 kB / 0.8395 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.093e-05/0.1737, allocations: 176.3 kB / 0.8397 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-05/0.1738, allocations: 113 kB / 0.8398 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.28e-05/0.1738, allocations: 79.28 kB / 0.8398 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.1738, allocations: 4 kB / 0.8398 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002343/0.1741, allocations: 23.88 kB / 0.8399 GB, free: 0.9609 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.0006641/0.1747, allocations: 0.8677 MB / 0.8407 GB, free: 72 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 5.892e-05/0.1748, allocations: 4 kB / 0.8407 GB, free: 68 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1748, allocations: 0 / 0.8407 GB, free: 68 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.1748, allocations: 0 / 0.8407 GB, free: 68 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.1752, allocations: 459.6 kB / 0.8412 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000489/0.1757, allocations: 241.8 kB / 0.8414 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.176, allocations: 0.669 MB / 0.842 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.374e-05/0.176, allocations: 4 kB / 0.842 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.488e-05/0.176, allocations: 7.438 kB / 0.8421 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.176, allocations: 0 / 0.8421 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0254/0.2014, allocations: 1.651 MB / 0.8437 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.937/10.14, allocations: 12.45 kB / 0.8437 GB, free: 13.16 MB / 0.5919 GB " [Timeout remaining time 650] (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: 14.057717061998119] Failed to read output from testmodel.py, exit status != 0: 10.23449044100198 10.248835036000001 10.075703493 Calling exit ...