Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001664/0.001664, allocations: 110.1 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.002004/0.002004, allocations: 215.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.388/1.388, 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/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.002486/0.002486, allocations: 294.4 kB / 309.1 MB, free: 3.957 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.169/1.169, allocations: 180.9 MB / 0.5333 GB, free: 13.97 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.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",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.004604/0.004604, allocations: 111.7 kB / 0.7343 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1821, allocations: 95.33 MB / 0.8274 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001668/0.1837, allocations: 0.5516 MB / 0.8279 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009608/0.1847, allocations: 0.8007 MB / 0.8287 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.696e-05/0.1847, allocations: 0 / 0.8287 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.221e-05/0.1847, allocations: 0 / 0.8287 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.754e-06/0.1847, allocations: 3.938 kB / 0.8287 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.185, allocations: 19.97 kB / 0.8287 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.587e-05/0.1851, allocations: 4 kB / 0.8287 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.196e-05/0.1851, allocations: 0 / 0.8287 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.188e-05/0.1851, allocations: 3.938 kB / 0.8287 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.1852, allocations: 15.98 kB / 0.8288 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.755e-06/0.1853, allocations: 0 / 0.8288 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.156e-06/0.1853, allocations: 0 / 0.8288 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.908e-06/0.1853, allocations: 0 / 0.8288 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.75e-05/0.1853, allocations: 11.98 kB / 0.8288 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 4.119e-05/0.1853, allocations: 3.984 kB / 0.8288 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1853, allocations: 0 / 0.8288 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.114e-06/0.1853, allocations: 0 / 0.8288 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.1853, allocations: 0 / 0.8288 GB, free: 8.328 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.0003179/0.1857, allocations: 317.1 kB / 0.8291 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1857, allocations: 8.031 kB / 0.8291 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.279e-05/0.1857, allocations: 30.75 kB / 0.8291 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.729e-05/0.1857, allocations: 4.875 kB / 0.8291 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.1859, allocations: 168.6 kB / 0.8293 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.1859, allocations: 4.375 kB / 0.8293 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.011e-06/0.1859, allocations: 4.375 kB / 0.8293 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.545e-05/0.186, allocations: 30.25 kB / 0.8293 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.186, allocations: 3.938 kB / 0.8293 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.186, allocations: 0 / 0.8293 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.186, allocations: 0 / 0.8293 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.99e-05/0.186, allocations: 7.938 kB / 0.8293 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003099/0.1863, allocations: 379.5 kB / 0.8297 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.307e-05/0.1864, allocations: 169.1 kB / 0.8298 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.134e-05/0.1865, allocations: 88.17 kB / 0.8299 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.1865, allocations: 75.28 kB / 0.83 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.937e-05/0.1865, allocations: 109.8 kB / 0.8301 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.1865, allocations: 4 kB / 0.8301 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.695e-05/0.1866, allocations: 25.7 kB / 0.8301 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.1867, allocations: 126.7 kB / 0.8303 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.831e-05/0.1868, allocations: 97.8 kB / 0.8304 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1868, allocations: 25.7 kB / 0.8304 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.834e-05/0.1868, allocations: 80.14 kB / 0.8305 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-06/0.1868, allocations: 0 / 0.8305 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.1869, allocations: 21.83 kB / 0.8305 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.187, allocations: 314.8 kB / 0.8308 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.025e-06/0.187, allocations: 0 / 0.8308 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.03e-06/0.187, allocations: 1.672 kB / 0.8308 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.634e-05/0.187, allocations: 12.8 kB / 0.8308 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.187, allocations: 3.938 kB / 0.8308 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.063e-05/0.1871, allocations: 29.7 kB / 0.8308 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1871, allocations: 4 kB / 0.8308 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.1871, allocations: 4.094 kB / 0.8308 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.1871, allocations: 4 kB / 0.8308 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.027e-05/0.1872, allocations: 3.984 kB / 0.8308 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1872, allocations: 0 / 0.8308 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.471e-05/0.1872, allocations: 7.953 kB / 0.8308 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.1872, allocations: 0 / 0.8308 GB, free: 5.969 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 (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.0001003/0.1873, allocations: 189.7 kB / 0.831 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.449e-05/0.1874, allocations: 108.9 kB / 0.8311 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.2e-05/0.1874, allocations: 111.9 kB / 0.8312 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.271e-05/0.1875, allocations: 180.2 kB / 0.8314 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.341e-05/0.1876, allocations: 184.2 kB / 0.8316 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.015e-05/0.1877, allocations: 180.3 kB / 0.8318 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.1879, allocations: 401.1 kB / 0.8321 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.901e-05/0.188, allocations: 113 kB / 0.8322 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-05/0.188, allocations: 112.9 kB / 0.8324 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.51e-05/0.1881, allocations: 176.3 kB / 0.8325 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.582e-05/0.1881, allocations: 180.3 kB / 0.8327 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.653e-05/0.1882, allocations: 188.2 kB / 0.8329 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.059e-05/0.1883, allocations: 176.3 kB / 0.833 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.1884, allocations: 315.9 kB / 0.8333 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.236e-05/0.1885, allocations: 182.1 kB / 0.8335 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.005e-05/0.1886, allocations: 180.2 kB / 0.8337 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.872e-05/0.1887, allocations: 105 kB / 0.8338 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.313e-05/0.1888, allocations: 188.2 kB / 0.834 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.943e-05/0.1888, allocations: 101 kB / 0.8341 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.503e-05/0.1888, allocations: 75.28 kB / 0.8341 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1888, allocations: 0 / 0.8341 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002157/0.1891, allocations: 8 kB / 0.8341 GB, free: 2.367 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.0004425/0.1895, allocations: 0.8127 MB / 0.8349 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.158e-05/0.1896, allocations: 4 kB / 0.8349 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1896, allocations: 0 / 0.8349 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.758e-06/0.1896, allocations: 4 kB / 0.8349 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.1899, allocations: 453.5 kB / 0.8354 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003547/0.1903, allocations: 185.9 kB / 0.8356 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.1906, allocations: 0.669 MB / 0.8362 GB, free: 156 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.242e-05/0.1906, allocations: 0 / 0.8362 GB, free: 156 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.053e-05/0.1906, allocations: 7.438 kB / 0.8362 GB, free: 148 kB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/0.1906, allocations: 0 / 0.8362 GB, free: 148 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.2145, allocations: 0.9857 MB / 0.8372 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.744/7.958, allocations: 13.16 kB / 0.8372 GB, free: 15.37 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.947276281192899] Failed to read output from testmodel.py, exit status != 0: 8.026289896573871 8.050682756 7.860900392 Calling exit ...