Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.001356/0.001356, allocations: 103.7 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.001454/0.001454, allocations: 206.4 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.47/1.47, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.946/0.946, allocations: 145 MB / 453.8 MB, free: 0.6914 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.001978/0.001978, allocations: 61.66 kB / 0.6281 GB, free: 10.57 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1848, allocations: 87.82 MB / 0.7138 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001764/0.1865, allocations: 0.5459 MB / 0.7144 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009784/0.1875, allocations: 0.8046 MB / 0.7152 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.595e-05/0.1875, allocations: 0 / 0.7152 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.356e-05/0.1875, allocations: 0 / 0.7152 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.39e-06/0.1876, allocations: 0 / 0.7152 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.1878, allocations: 27.91 kB / 0.7152 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.283e-05/0.1879, allocations: 0 / 0.7152 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.249e-05/0.1879, allocations: 8 kB / 0.7152 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.527e-05/0.1879, allocations: 0 / 0.7152 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.1881, allocations: 11.98 kB / 0.7152 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.885e-06/0.1881, allocations: 4 kB / 0.7152 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.825e-06/0.1881, allocations: 0 / 0.7152 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.092e-05/0.1881, allocations: 7.984 kB / 0.7152 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.513e-05/0.1881, allocations: 0 / 0.7152 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 3.686e-05/0.1881, allocations: 0 / 0.7152 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1881, allocations: 0 / 0.7152 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.984e-06/0.1881, allocations: 0 / 0.7152 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.1881, allocations: 0 / 0.7152 GB, free: 1.324 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.0003097/0.1885, allocations: 319.8 kB / 0.7155 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1885, allocations: 8.031 kB / 0.7155 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.319e-05/0.1885, allocations: 34.69 kB / 0.7156 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.941e-05/0.1885, allocations: 4.938 kB / 0.7156 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.1887, allocations: 168.3 kB / 0.7157 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.1887, allocations: 384 / 0.7157 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.1887, allocations: 384 / 0.7157 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.553e-05/0.1888, allocations: 26.27 kB / 0.7158 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.1888, allocations: 7.875 kB / 0.7158 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.1888, allocations: 0 / 0.7158 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1888, allocations: 4 kB / 0.7158 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.388e-05/0.1888, allocations: 0 / 0.7158 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.1891, allocations: 383.5 kB / 0.7161 GB, free: 240 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.332e-05/0.1892, allocations: 173.1 kB / 0.7163 GB, free: 56 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.062e-05/0.1892, allocations: 80.14 kB / 0.7164 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.1893, allocations: 75.28 kB / 0.7164 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.683e-05/0.1893, allocations: 113.8 kB / 0.7166 GB, free: 15.78 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.1893, allocations: 0 / 0.7166 GB, free: 15.78 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.152e-05/0.1894, allocations: 33.62 kB / 0.7166 GB, free: 15.74 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.981e-05/0.1895, allocations: 130.7 kB / 0.7167 GB, free: 15.6 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.664e-05/0.1896, allocations: 89.86 kB / 0.7168 GB, free: 15.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.1896, allocations: 25.7 kB / 0.7168 GB, free: 15.47 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.153e-05/0.1896, allocations: 80.14 kB / 0.7169 GB, free: 15.39 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.526e-06/0.1896, allocations: 0 / 0.7169 GB, free: 15.39 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.1897, allocations: 21.84 kB / 0.7169 GB, free: 15.36 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1898, allocations: 310.8 kB / 0.7172 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.333e-06/0.1898, allocations: 0 / 0.7172 GB, free: 15.05 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.992e-06/0.1898, allocations: 4 kB / 0.7172 GB, free: 15.04 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.489e-05/0.1898, allocations: 8.844 kB / 0.7172 GB, free: 15.03 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1898, allocations: 3.938 kB / 0.7172 GB, free: 15.03 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.149e-05/0.1899, allocations: 33.64 kB / 0.7173 GB, free: 14.99 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.1899, allocations: 12.09 kB / 0.7173 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1899, allocations: 0 / 0.7173 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.19, allocations: 3.984 kB / 0.7173 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.977e-05/0.19, allocations: 4 kB / 0.7173 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.19, allocations: 0 / 0.7173 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.908e-06/0.19, allocations: 3.938 kB / 0.7173 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.19, allocations: 4 kB / 0.7173 GB, free: 14.96 MB / 0.545 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 (i) * 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.000108/0.1901, allocations: 189.1 kB / 0.7175 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.223e-05/0.1902, allocations: 112.9 kB / 0.7176 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.719e-05/0.1903, allocations: 108 kB / 0.7177 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.455e-05/0.1903, allocations: 180.3 kB / 0.7179 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.111e-05/0.1904, allocations: 180.2 kB / 0.718 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.867e-05/0.1905, allocations: 180.3 kB / 0.7182 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/0.1908, allocations: 405.2 kB / 0.7186 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-05/0.1908, allocations: 109.7 kB / 0.7187 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.072e-05/0.1909, allocations: 101 kB / 0.7188 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.741e-05/0.1909, allocations: 180.2 kB / 0.719 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-05/0.191, allocations: 188.3 kB / 0.7191 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.505e-05/0.1911, allocations: 180.3 kB / 0.7193 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.713e-05/0.1912, allocations: 188.1 kB / 0.7195 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.1913, allocations: 315.9 kB / 0.7198 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.532e-05/0.1914, allocations: 178.1 kB / 0.72 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.604e-05/0.1915, allocations: 180.3 kB / 0.7201 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-05/0.1916, allocations: 104.9 kB / 0.7202 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.551e-05/0.1917, allocations: 180.3 kB / 0.7204 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.955e-05/0.1917, allocations: 108.9 kB / 0.7205 GB, free: 11.44 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.006e-05/0.1918, allocations: 79.28 kB / 0.7206 GB, free: 11.36 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1918, allocations: 0 / 0.7206 GB, free: 11.36 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002261/0.192, allocations: 0 / 0.7206 GB, free: 11.36 MB / 0.545 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.0004808/0.1925, allocations: 0.8127 MB / 0.7214 GB, free: 10.52 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.533e-05/0.1926, allocations: 7.938 kB / 0.7214 GB, free: 10.51 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1926, allocations: 4 kB / 0.7214 GB, free: 10.51 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.1926, allocations: 0 / 0.7214 GB, free: 10.51 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.193, allocations: 455.8 kB / 0.7218 GB, free: 10.06 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.1933, allocations: 177.9 kB / 0.722 GB, free: 9.844 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.1936, allocations: 0.669 MB / 0.7226 GB, free: 9.148 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.391e-05/0.1936, allocations: 3.984 kB / 0.7227 GB, free: 9.145 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.928e-05/0.1936, allocations: 7.438 kB / 0.7227 GB, free: 9.137 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.1936, allocations: 0 / 0.7227 GB, free: 9.137 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02297/0.2166, allocations: 0.9707 MB / 0.7236 GB, free: 8.379 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.869/8.086, allocations: 15.72 kB / 0.7236 GB, free: 8.367 MB / 0.545 GB " [Timeout remaining time 652] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.822686526007601] Failed to read output from testmodel.py, exit status != 0: 8.154617738997331 8.178090935 7.985597142 Calling exit ...