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.001643/0.001643, 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.002062/0.002062, allocations: 216.5 kB / 22.25 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.374/1.374, allocations: 230.6 MB / 256 MB, free: 8.023 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.002439/0.002439, allocations: 286.8 kB / 312.7 MB, free: 2.84 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.172/1.172, allocations: 180.6 MB / 0.5369 GB, free: 13.12 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.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.002784/0.002784, allocations: 107.3 kB / 0.7396 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1522, allocations: 95.38 MB / 0.8328 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.00158/0.1538, allocations: 0.5501 MB / 0.8333 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008975/0.1547, allocations: 0.8042 MB / 0.8341 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.682e-05/0.1547, allocations: 0 / 0.8341 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.346e-05/0.1547, allocations: 3.938 kB / 0.8341 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.06e-06/0.1547, allocations: 0 / 0.8341 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.155, allocations: 19.97 kB / 0.8341 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 3.512e-05/0.155, allocations: 3.938 kB / 0.8341 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.188e-05/0.155, allocations: 0 / 0.8341 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.174e-05/0.155, allocations: 4 kB / 0.8341 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.1552, allocations: 23.97 kB / 0.8342 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.613e-06/0.1552, allocations: 0 / 0.8342 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.176e-06/0.1552, allocations: 4 kB / 0.8342 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.905e-06/0.1552, allocations: 0 / 0.8342 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.396e-05/0.1552, allocations: 0 / 0.8342 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 3.295e-05/0.1552, allocations: 0 / 0.8342 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1552, allocations: 3.984 kB / 0.8342 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1552, allocations: 4 kB / 0.8342 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.1552, allocations: 3.938 kB / 0.8342 GB, free: 7.23 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.0002422/0.1555, allocations: 230.5 kB / 0.8344 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1555, allocations: 9.219 kB / 0.8344 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.522e-05/0.1555, allocations: 34.75 kB / 0.8344 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.7e-05/0.1556, allocations: 4.938 kB / 0.8344 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.264e-05/0.1556, allocations: 106.8 kB / 0.8345 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.282e-06/0.1556, allocations: 384 / 0.8345 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.1557, allocations: 384 / 0.8345 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.868e-05/0.1557, allocations: 38.25 kB / 0.8346 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1557, allocations: 3.938 kB / 0.8346 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.1557, allocations: 3.938 kB / 0.8346 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.1558, allocations: 0 / 0.8346 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.42e-05/0.1558, allocations: 0 / 0.8346 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.156, allocations: 350.6 kB / 0.8349 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.491e-05/0.1561, allocations: 173.1 kB / 0.8351 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.904e-05/0.1562, allocations: 80.14 kB / 0.8352 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/0.1562, allocations: 83.2 kB / 0.8352 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/0.1563, allocations: 113.9 kB / 0.8353 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.1563, allocations: 0 / 0.8353 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 6.299e-05/0.1563, allocations: 25.7 kB / 0.8354 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/0.1564, allocations: 130.7 kB / 0.8355 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.806e-05/0.1565, allocations: 93.8 kB / 0.8356 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.1565, allocations: 25.7 kB / 0.8356 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.884e-05/0.1565, allocations: 84.14 kB / 0.8357 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-06/0.1565, allocations: 0 / 0.8357 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/0.1565, allocations: 13.72 kB / 0.8357 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.1567, allocations: 314.8 kB / 0.836 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.406e-06/0.1567, allocations: 4.125 kB / 0.836 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.442e-06/0.1567, allocations: 9.609 kB / 0.836 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.033e-05/0.1567, allocations: 4.859 kB / 0.836 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1567, allocations: 3.938 kB / 0.836 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.092e-05/0.1568, allocations: 33.7 kB / 0.8361 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1568, allocations: 4 kB / 0.8361 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.1568, allocations: 0 / 0.8361 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.1568, allocations: 0 / 0.8361 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.337e-05/0.1569, allocations: 4 kB / 0.8361 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1569, allocations: 4.094 kB / 0.8361 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.027e-06/0.1569, allocations: 0 / 0.8361 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.466e-06/0.1569, allocations: 0 / 0.8361 GB, free: 5.086 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.0001008/0.157, allocations: 193.7 kB / 0.8362 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.771e-05/0.1571, allocations: 112.9 kB / 0.8364 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.168e-05/0.1571, allocations: 115.7 kB / 0.8365 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.039e-05/0.1572, allocations: 184.1 kB / 0.8366 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.924e-05/0.1572, allocations: 180.3 kB / 0.8368 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.362e-05/0.1573, allocations: 188.3 kB / 0.837 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.1575, allocations: 376.2 kB / 0.8374 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.086e-05/0.1576, allocations: 101 kB / 0.8374 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.411e-05/0.1576, allocations: 112.9 kB / 0.8376 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.038e-05/0.1577, allocations: 180.3 kB / 0.8377 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-05/0.1578, allocations: 176.3 kB / 0.8379 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.914e-05/0.1578, allocations: 184.2 kB / 0.8381 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.898e-05/0.1579, allocations: 180.3 kB / 0.8382 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.158, allocations: 307.9 kB / 0.8385 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/0.1581, allocations: 117 kB / 0.8387 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.461e-05/0.1582, allocations: 176.3 kB / 0.8388 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.223e-05/0.1582, allocations: 101 kB / 0.8389 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.106e-05/0.1583, allocations: 188.2 kB / 0.8391 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.993e-05/0.1584, allocations: 101 kB / 0.8392 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.941e-05/0.1584, allocations: 79.28 kB / 0.8393 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1584, allocations: 0 / 0.8393 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001988/0.1586, allocations: 0 / 0.8393 GB, free: 1.605 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.0004057/0.159, allocations: 0.8165 MB / 0.8401 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 5.873e-05/0.1591, allocations: 12.09 kB / 0.8401 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1591, allocations: 0 / 0.8401 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.1591, allocations: 0 / 0.8401 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.1594, allocations: 457.3 kB / 0.8405 GB, free: 304 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003205/0.1597, allocations: 184.1 kB / 0.8407 GB, free: 80 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.16, allocations: 0.6768 MB / 0.8413 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.03e-05/0.16, allocations: 0 / 0.8413 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.775e-05/0.1601, allocations: 7.438 kB / 0.8414 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of SimCode: time 3.8e-07/0.1601, allocations: 0 / 0.8414 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.1857, allocations: 1.022 MB / 0.8424 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.75, allocations: 5.234 kB / 0.8424 GB, free: 14.52 MB / 0.5919 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 15.872959550004452] Failed to read output from testmodel.py, exit status != 0: 11.852102240081877 11.878787914 11.718901023999999 Calling exit ...