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.001477/0.001477, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001574/0.001574, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.389/1.389, allocations: 230.6 MB / 256 MB, free: 7.785 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.002423/0.002423, allocations: 291.9 kB / 312.7 MB, free: 2.672 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.201/1.201, allocations: 180.6 MB / 0.5369 GB, free: 14.58 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.002842/0.002842, allocations: 102 kB / 0.7395 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1511, allocations: 95.38 MB / 0.8327 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.00161/0.1527, allocations: 0.5598 MB / 0.8332 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008979/0.1536, allocations: 0.7848 MB / 0.834 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.727e-05/0.1536, allocations: 0 / 0.834 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.383e-05/0.1536, allocations: 0 / 0.834 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.458e-06/0.1536, allocations: 0 / 0.834 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.1539, allocations: 19.92 kB / 0.834 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.128e-05/0.1539, allocations: 7.984 kB / 0.834 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.892e-05/0.1539, allocations: 3.984 kB / 0.834 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.089e-05/0.1539, allocations: 0 / 0.834 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.1541, allocations: 19.98 kB / 0.8341 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.092e-06/0.1541, allocations: 0 / 0.8341 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.086e-06/0.1541, allocations: 3.938 kB / 0.8341 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.354e-06/0.1541, allocations: 4 kB / 0.8341 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.205e-05/0.1541, allocations: 0 / 0.8341 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 3.515e-05/0.1541, allocations: 3.984 kB / 0.8341 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1541, allocations: 0 / 0.8341 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.447e-06/0.1541, allocations: 4 kB / 0.8341 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.1541, allocations: 0 / 0.8341 GB, free: 6.867 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.0002395/0.1544, allocations: 230.5 kB / 0.8343 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.1544, allocations: 12.62 kB / 0.8343 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.373e-05/0.1544, allocations: 34.69 kB / 0.8343 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.761e-05/0.1545, allocations: 4.922 kB / 0.8343 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.548e-05/0.1545, allocations: 102.8 kB / 0.8344 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.1545, allocations: 8.375 kB / 0.8344 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-06/0.1546, allocations: 384 / 0.8344 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.29e-05/0.1546, allocations: 30.2 kB / 0.8345 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1546, allocations: 3.938 kB / 0.8345 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.43e-06/0.1546, allocations: 0 / 0.8345 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1546, allocations: 0 / 0.8345 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.726e-05/0.1547, allocations: 4 kB / 0.8345 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002879/0.155, allocations: 354.6 kB / 0.8348 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.337e-05/0.155, allocations: 169.1 kB / 0.835 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.26e-05/0.1551, allocations: 84.14 kB / 0.8351 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.1551, allocations: 79.28 kB / 0.8351 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.386e-05/0.1552, allocations: 113.8 kB / 0.8352 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.1552, allocations: 0 / 0.8352 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 6.374e-05/0.1552, allocations: 29.64 kB / 0.8353 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.1553, allocations: 126.7 kB / 0.8354 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.992e-05/0.1554, allocations: 97.8 kB / 0.8355 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.1554, allocations: 29.69 kB / 0.8355 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.1555, allocations: 84.08 kB / 0.8356 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-06/0.1555, allocations: 1.672 kB / 0.8356 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.1555, allocations: 17.72 kB / 0.8356 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1556, allocations: 315 kB / 0.8359 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.015e-06/0.1556, allocations: 0 / 0.8359 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.901e-06/0.1556, allocations: 4 kB / 0.8359 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.101e-05/0.1557, allocations: 4.859 kB / 0.8359 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1557, allocations: 3.938 kB / 0.8359 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.211e-05/0.1558, allocations: 33.64 kB / 0.836 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.1558, allocations: 8 kB / 0.836 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.1558, allocations: 7.969 kB / 0.836 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1558, allocations: 0 / 0.836 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.987e-05/0.1558, allocations: 4.094 kB / 0.836 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.1558, allocations: 3.984 kB / 0.836 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.318e-05/0.1558, allocations: 8 kB / 0.836 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-06/0.1558, allocations: 0 / 0.836 GB, free: 4.699 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.0001036/0.1559, allocations: 185.7 kB / 0.8362 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.628e-05/0.156, allocations: 104.9 kB / 0.8363 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.927e-05/0.1561, allocations: 115.7 kB / 0.8364 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.52e-05/0.1562, allocations: 180.2 kB / 0.8365 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.117e-05/0.1562, allocations: 184.2 kB / 0.8367 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.809e-05/0.1563, allocations: 184.3 kB / 0.8369 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.1565, allocations: 372.2 kB / 0.8373 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.616e-05/0.1566, allocations: 112.9 kB / 0.8374 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.499e-05/0.1566, allocations: 101 kB / 0.8375 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.42e-05/0.1567, allocations: 180.2 kB / 0.8376 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.926e-05/0.1568, allocations: 184.3 kB / 0.8378 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.232e-05/0.1569, allocations: 180.2 kB / 0.838 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.787e-05/0.1569, allocations: 184.2 kB / 0.8382 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.1571, allocations: 311.9 kB / 0.8384 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-05/0.1571, allocations: 105 kB / 0.8385 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.072e-05/0.1572, allocations: 180.2 kB / 0.8387 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.376e-05/0.1573, allocations: 108.9 kB / 0.8388 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/0.1574, allocations: 180.3 kB / 0.839 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.426e-05/0.1574, allocations: 104.9 kB / 0.8391 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.311e-05/0.1575, allocations: 83.28 kB / 0.8392 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1575, allocations: 3.938 kB / 0.8392 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002021/0.1577, allocations: 0 / 0.8392 GB, free: 1.227 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.0004291/0.1581, allocations: 0.8087 MB / 0.84 GB, free: 396 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.093e-05/0.1582, allocations: 11.94 kB / 0.84 GB, free: 384 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1582, allocations: 0 / 0.84 GB, free: 384 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.1582, allocations: 4.156 kB / 0.84 GB, free: 380 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.1585, allocations: 455.7 kB / 0.8404 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003181/0.1589, allocations: 181.9 kB / 0.8406 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.641e-05/0.1589, allocations: 55.36 kB / 0.8406 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.618e-06/0.1589, allocations: 0 / 0.8406 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.967e-05/0.1589, allocations: 7.438 kB / 0.8407 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.1589, allocations: 0 / 0.8407 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02812/0.1871, allocations: 1.43 MB / 0.8421 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.69, allocations: 12.48 kB / 0.8421 GB, free: 14.37 MB / 0.5919 GB " [Timeout remaining time 649] (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: 14.632326351944357] Failed to read output from testmodel.py, exit status != 0: 10.790471569634974 10.807280936 10.650236981 Calling exit ...