Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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.001276/0.001276, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001412/0.001412, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.377/1.377, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.002476/0.002476, allocations: 287 kB / 312.7 MB, free: 2.59 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.162/1.162, allocations: 180.6 MB / 0.5369 GB, free: 14.54 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.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",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.002925/0.002925, allocations: 104.2 kB / 0.7395 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1803, allocations: 95.38 MB / 0.8327 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002906/0.1832, allocations: 1.317 MB / 0.834 GB, free: 7 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.1843, allocations: 440.6 kB / 0.8344 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.088e-05/0.1843, allocations: 0 / 0.8344 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.039e-05/0.1844, allocations: 3.938 kB / 0.8344 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.668e-05/0.1845, allocations: 11.98 kB / 0.8344 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.1848, allocations: 35.89 kB / 0.8344 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.1849, allocations: 23.92 kB / 0.8345 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.411e-05/0.185, allocations: 0 / 0.8345 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.161e-05/0.185, allocations: 19.91 kB / 0.8345 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.966e-05/0.1851, allocations: 4 kB / 0.8345 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.1851, allocations: 0 / 0.8345 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.1853, allocations: 51.88 kB / 0.8345 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.347e-05/0.1853, allocations: 15.91 kB / 0.8346 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.1854, allocations: 11.94 kB / 0.8346 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.1856, allocations: 63.97 kB / 0.8346 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.1856, allocations: 0 / 0.8346 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.284e-06/0.1856, allocations: 4 kB / 0.8346 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.1856, allocations: 0 / 0.8346 GB, free: 6.324 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004993/0.1861, allocations: 270.2 kB / 0.8349 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.1861, allocations: 9.344 kB / 0.8349 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.448e-05/0.1862, allocations: 38.75 kB / 0.8349 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.1862, allocations: 8.875 kB / 0.8349 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.1864, allocations: 118.4 kB / 0.8351 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.1864, allocations: 384 / 0.8351 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.1864, allocations: 8.312 kB / 0.8351 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.1866, allocations: 47.55 kB / 0.8351 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1866, allocations: 4 kB / 0.8351 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.1866, allocations: 0 / 0.8351 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.1866, allocations: 3.984 kB / 0.8351 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.997e-05/0.1866, allocations: 7.938 kB / 0.8351 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000264/0.1869, allocations: 145.6 kB / 0.8353 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.124e-05/0.1869, allocations: 33.22 kB / 0.8353 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.991e-05/0.187, allocations: 17.77 kB / 0.8353 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.187, allocations: 11.94 kB / 0.8353 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.187, allocations: 34.5 kB / 0.8354 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.187, allocations: 4 kB / 0.8354 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001721/0.1872, allocations: 45.62 kB / 0.8354 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.336e-05/0.1873, allocations: 85.11 kB / 0.8355 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.1874, allocations: 131.3 kB / 0.8356 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.1875, allocations: 25.7 kB / 0.8356 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.1875, allocations: 96.06 kB / 0.8357 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.1875, allocations: 7.891 kB / 0.8357 GB, free: 5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.964e-05/0.1876, allocations: 29.7 kB / 0.8358 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.1878, allocations: 314.8 kB / 0.8361 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.143e-05/0.1879, allocations: 28.23 kB / 0.8361 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.178e-05/0.1879, allocations: 30.11 kB / 0.8361 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.504e-05/0.188, allocations: 44.84 kB / 0.8362 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.188, allocations: 0 / 0.8362 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001664/0.1881, allocations: 105.5 kB / 0.8363 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1882, allocations: 4 kB / 0.8363 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/0.1882, allocations: 4 kB / 0.8363 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1882, allocations: 0 / 0.8363 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.429e-05/0.1882, allocations: 0 / 0.8363 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.1883, allocations: 4 kB / 0.8363 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.451e-05/0.1883, allocations: 7.891 kB / 0.8363 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.1883, allocations: 4 kB / 0.8363 GB, free: 4.414 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001068/0.1884, allocations: 122.5 kB / 0.8364 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.525e-05/0.1884, allocations: 7.891 kB / 0.8364 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.516e-05/0.1884, allocations: 3.469 kB / 0.8364 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1884, allocations: 0 / 0.8364 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.118e-06/0.1885, allocations: 4 kB / 0.8364 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1885, allocations: 0 / 0.8364 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.1886, allocations: 132.8 kB / 0.8365 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1886, allocations: 0 / 0.8365 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.34e-05/0.1887, allocations: 11.94 kB / 0.8366 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1887, allocations: 4 kB / 0.8366 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.1887, allocations: 3.938 kB / 0.8366 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1887, allocations: 7.922 kB / 0.8366 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.1887, allocations: 4 kB / 0.8366 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.1888, allocations: 69.95 kB / 0.8366 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.331e-05/0.1888, allocations: 7.922 kB / 0.8366 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.1888, allocations: 4 kB / 0.8366 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.7e-05/0.1888, allocations: 0 / 0.8366 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.351e-05/0.1888, allocations: 0 / 0.8366 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-06/0.1889, allocations: 0 / 0.8366 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.873e-05/0.1889, allocations: 100.8 kB / 0.8367 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1889, allocations: 7.938 kB / 0.8368 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002221/0.1892, allocations: 23.98 kB / 0.8368 GB, free: 3.832 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.000572/0.1897, allocations: 0.6309 MB / 0.8374 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001579/0.1899, allocations: 73.77 kB / 0.8375 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1899, allocations: 0 / 0.8375 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.561e-05/0.1899, allocations: 11.92 kB / 0.8375 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.1901, allocations: 5.875 kB / 0.8375 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.1915, allocations: 1.307 MB / 0.8388 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.805e-05/0.1915, allocations: 71.38 kB / 0.8388 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.15e-05/0.1916, allocations: 0 / 0.8388 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/0.1916, allocations: 15.42 kB / 0.8388 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of SimCode: time 6.11e-07/0.1916, allocations: 0 / 0.8388 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0306/0.2222, allocations: 2.185 MB / 0.841 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.78, allocations: 5.734 kB / 0.841 GB, free: 15.58 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.70463952422142] Failed to read output from testmodel.py, exit status != 0: 10.88121519703418 10.904625581 10.714318189 Calling exit ...