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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007254/0.0007254, allocations: 98.03 kB / 15.36 MB, free: 0.7305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008101/0.0008101, allocations: 171.9 kB / 16.26 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00171/0.00171, allocations: 278.3 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9029/0.9029, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004256/0.0004256, allocations: 14.05 kB / 0.5988 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1597, allocations: 88.54 MB / 0.6853 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0006271/0.1603, allocations: 268.6 kB / 0.6855 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008636/0.1612, allocations: 0.7806 MB / 0.6863 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.295e-06/0.1612, allocations: 5.312 kB / 0.6863 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.203e-05/0.1612, allocations: 0 / 0.6863 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.978e-06/0.1612, allocations: 0 / 0.6863 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.1614, allocations: 21.16 kB / 0.6863 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.737e-05/0.1615, allocations: 4 kB / 0.6863 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.612e-05/0.1615, allocations: 0 / 0.6863 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.206e-05/0.1615, allocations: 2.062 kB / 0.6863 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.1617, allocations: 19.98 kB / 0.6863 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.973e-06/0.1617, allocations: 0.75 kB / 0.6863 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.026e-06/0.1617, allocations: 0 / 0.6863 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.889e-06/0.1617, allocations: 3.984 kB / 0.6863 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.1617, allocations: 28.08 kB / 0.6864 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 2.824e-05/0.1618, allocations: 4 kB / 0.6864 GB, free: 13.79 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1618, allocations: 0 / 0.6864 GB, free: 13.79 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1618, allocations: 0 / 0.6864 GB, free: 13.79 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.1618, allocations: 0 / 0.6864 GB, free: 13.79 MB / 494.1 MB 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.0002325/0.162, allocations: 305.6 kB / 0.6867 GB, free: 13.45 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.1621, allocations: 16.03 kB / 0.6867 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.994e-05/0.1621, allocations: 38.69 kB / 0.6867 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.678e-05/0.1621, allocations: 0.9375 kB / 0.6867 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.363e-05/0.1622, allocations: 164.4 kB / 0.6869 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.1623, allocations: 4.906 kB / 0.6869 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-06/0.1623, allocations: 384 / 0.6869 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.922e-05/0.1623, allocations: 35.86 kB / 0.6869 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.1624, allocations: 3.938 kB / 0.6869 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-06/0.1624, allocations: 0 / 0.6869 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1624, allocations: 1.062 kB / 0.6869 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.294e-05/0.1624, allocations: 0 / 0.6869 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002674/0.1627, allocations: 387.4 kB / 0.6873 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.931e-05/0.1627, allocations: 169.1 kB / 0.6874 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.68e-05/0.1628, allocations: 80.14 kB / 0.6875 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.1628, allocations: 75.28 kB / 0.6876 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/0.1629, allocations: 107.2 kB / 0.6877 GB, free: 12.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 3.236e-06/0.1629, allocations: 8.016 kB / 0.6877 GB, free: 12.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.289e-05/0.1629, allocations: 29.64 kB / 0.6877 GB, free: 12.22 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.163, allocations: 129 kB / 0.6879 GB, free: 12.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.452e-05/0.1631, allocations: 98.12 kB / 0.688 GB, free: 11.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.1631, allocations: 25.7 kB / 0.688 GB, free: 11.95 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.566e-05/0.1631, allocations: 88.8 kB / 0.6881 GB, free: 11.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.414e-06/0.1632, allocations: 0 / 0.6881 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.924e-05/0.1632, allocations: 10.59 kB / 0.6881 GB, free: 11.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1633, allocations: 311.5 kB / 0.6884 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.161e-06/0.1633, allocations: 0 / 0.6884 GB, free: 11.53 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.737e-06/0.1633, allocations: 1.625 kB / 0.6884 GB, free: 11.53 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.167e-05/0.1633, allocations: 8.859 kB / 0.6884 GB, free: 11.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1633, allocations: 3.938 kB / 0.6884 GB, free: 11.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.426e-05/0.1634, allocations: 41.83 kB / 0.6884 GB, free: 11.47 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.1635, allocations: 6.188 kB / 0.6884 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1635, allocations: 4 kB / 0.6884 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.1635, allocations: 3.984 kB / 0.6884 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.011e-05/0.1635, allocations: 0 / 0.6884 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.576e-06/0.1635, allocations: 0 / 0.6884 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.086e-05/0.1635, allocations: 0 / 0.6884 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.1636, allocations: 7.938 kB / 0.6884 GB, free: 11.45 MB / 494.1 MB 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.0001054/0.1637, allocations: 189.8 kB / 0.6886 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.537e-05/0.1637, allocations: 101 kB / 0.6887 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.592e-05/0.1638, allocations: 108 kB / 0.6888 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.889e-05/0.1639, allocations: 188.2 kB / 0.689 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.391e-05/0.1639, allocations: 180.2 kB / 0.6892 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.141e-05/0.164, allocations: 176.3 kB / 0.6893 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.1642, allocations: 401.2 kB / 0.6897 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.728e-05/0.1643, allocations: 113.4 kB / 0.6898 GB, free: 9.914 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.584e-05/0.1643, allocations: 105 kB / 0.6899 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-05/0.1644, allocations: 188.2 kB / 0.6901 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.035e-05/0.1645, allocations: 176.3 kB / 0.6903 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.593e-05/0.1645, allocations: 180.5 kB / 0.6905 GB, free: 9.25 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.481e-05/0.1646, allocations: 188.2 kB / 0.6906 GB, free: 9.059 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.1648, allocations: 311.7 kB / 0.6909 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.911e-05/0.1649, allocations: 182 kB / 0.6911 GB, free: 8.527 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.426e-05/0.1649, allocations: 180.2 kB / 0.6913 GB, free: 8.344 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/0.165, allocations: 116.9 kB / 0.6914 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/0.1651, allocations: 180.3 kB / 0.6916 GB, free: 8.039 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-05/0.1651, allocations: 104.9 kB / 0.6917 GB, free: 7.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.96e-05/0.1652, allocations: 75.28 kB / 0.6917 GB, free: 7.855 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1652, allocations: 0 / 0.6917 GB, free: 7.855 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001987/0.1654, allocations: 4 kB / 0.6917 GB, free: 7.852 MB / 494.1 MB 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.0003709/0.1658, allocations: 0.8134 MB / 0.6925 GB, free: 7.008 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.461e-05/0.1658, allocations: 3.938 kB / 0.6925 GB, free: 7.004 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1658, allocations: 0 / 0.6925 GB, free: 7.004 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.913e-06/0.1658, allocations: 4 kB / 0.6925 GB, free: 7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.1662, allocations: 0.5206 MB / 0.693 GB, free: 6.477 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002837/0.1665, allocations: 179.6 kB / 0.6932 GB, free: 6.258 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.1667, allocations: 0.6692 MB / 0.6939 GB, free: 5.562 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.07e-05/0.1668, allocations: 0 / 0.6939 GB, free: 5.562 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.675e-05/0.1668, allocations: 11.44 kB / 0.6939 GB, free: 5.551 MB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1668, allocations: 0 / 0.6939 GB, free: 5.551 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009113/0.1759, allocations: 0.7831 MB / 0.6946 GB, free: 5.004 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/0.1761, allocations: 294.8 kB / 0.6949 GB, free: 4.621 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/1.746, allocations: 0 / 0.6949 GB, free: 4.621 MB / 494.1 MB (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 --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)