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.007327/0.007333, allocations: 95.48 kB / 15.73 MB, free: 6.484 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.002026/0.002026, allocations: 191.2 kB / 16.67 MB, free: 6.391 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002385/0.002385, allocations: 290.6 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.014/1.014, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002527/0.002527, allocations: 104.1 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1546, allocations: 86.97 MB / 0.7659 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001774/0.1564, allocations: 0.5386 MB / 0.7665 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001016/0.1574, allocations: 0.7805 MB / 0.7672 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.7e-05/0.1575, allocations: 4 kB / 0.7672 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.355e-05/0.1575, allocations: 3.938 kB / 0.7672 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.641e-06/0.1575, allocations: 0 / 0.7672 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.1578, allocations: 15.92 kB / 0.7673 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.8e-05/0.1578, allocations: 4 kB / 0.7673 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.975e-05/0.1579, allocations: 0 / 0.7673 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.261e-05/0.1579, allocations: 0 / 0.7673 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.158, allocations: 23.97 kB / 0.7673 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.923e-06/0.158, allocations: 0 / 0.7673 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.657e-06/0.158, allocations: 0 / 0.7673 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.167e-06/0.1581, allocations: 0 / 0.7673 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.776e-05/0.1581, allocations: 4 kB / 0.7673 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 3.637e-05/0.1581, allocations: 0 / 0.7673 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1581, allocations: 0 / 0.7673 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1581, allocations: 0 / 0.7673 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.1581, allocations: 0 / 0.7673 GB, free: 7.512 MB / 0.5606 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.0002868/0.1584, allocations: 319.6 kB / 0.7676 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1585, allocations: 8.031 kB / 0.7676 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.512e-05/0.1585, allocations: 34.75 kB / 0.7676 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.975e-05/0.1585, allocations: 0.9375 kB / 0.7676 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.1586, allocations: 164.3 kB / 0.7678 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.1587, allocations: 384 / 0.7678 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.1587, allocations: 4.375 kB / 0.7678 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.705e-05/0.1588, allocations: 34.14 kB / 0.7678 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.1588, allocations: 3.938 kB / 0.7678 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.681e-06/0.1588, allocations: 4 kB / 0.7678 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1588, allocations: 3.984 kB / 0.7678 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.692e-05/0.1588, allocations: 4 kB / 0.7678 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.1591, allocations: 371.8 kB / 0.7682 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.447e-05/0.1592, allocations: 177 kB / 0.7684 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.966e-05/0.1593, allocations: 88.17 kB / 0.7685 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.1593, allocations: 75.28 kB / 0.7685 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.4e-05/0.1594, allocations: 109.8 kB / 0.7686 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1594, allocations: 0 / 0.7686 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.978e-05/0.1594, allocations: 29.66 kB / 0.7687 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.1595, allocations: 126.7 kB / 0.7688 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.049e-05/0.1596, allocations: 97.86 kB / 0.7689 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.1596, allocations: 25.7 kB / 0.7689 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.064e-05/0.1597, allocations: 88.08 kB / 0.769 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.449e-06/0.1597, allocations: 0 / 0.769 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.1597, allocations: 17.66 kB / 0.769 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1598, allocations: 310.8 kB / 0.7693 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-06/0.1598, allocations: 0 / 0.7693 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.852e-06/0.1599, allocations: 3.984 kB / 0.7693 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.652e-05/0.1599, allocations: 13.05 kB / 0.7693 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1599, allocations: 3.938 kB / 0.7693 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.209e-05/0.16, allocations: 33.7 kB / 0.7693 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.16, allocations: 5.875 kB / 0.7694 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.16, allocations: 0 / 0.7694 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.16, allocations: 4 kB / 0.7694 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.587e-05/0.1601, allocations: 0 / 0.7694 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1601, allocations: 3.938 kB / 0.7694 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.136e-05/0.1601, allocations: 0 / 0.7694 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-06/0.1601, allocations: 0 / 0.7694 GB, free: 5.152 MB / 0.5606 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 9.993e-05/0.1602, allocations: 197.7 kB / 0.7695 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.736e-05/0.1603, allocations: 101 kB / 0.7696 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.621e-05/0.1604, allocations: 104.1 kB / 0.7697 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.696e-05/0.1604, allocations: 184.2 kB / 0.7699 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.277e-05/0.1605, allocations: 184.8 kB / 0.7701 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.309e-05/0.1606, allocations: 192.1 kB / 0.7703 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/0.1609, allocations: 397.2 kB / 0.7707 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.97e-05/0.1609, allocations: 105 kB / 0.7708 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.243e-05/0.1609, allocations: 108.9 kB / 0.7709 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-05/0.161, allocations: 184.4 kB / 0.771 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.631e-05/0.1611, allocations: 188.2 kB / 0.7712 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.874e-05/0.1612, allocations: 184.3 kB / 0.7714 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.009e-05/0.1613, allocations: 180.2 kB / 0.7716 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.1614, allocations: 307.8 kB / 0.7719 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.166e-05/0.1615, allocations: 182 kB / 0.772 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.505e-05/0.1616, allocations: 180.3 kB / 0.7722 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.592e-05/0.1617, allocations: 101 kB / 0.7723 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.788e-05/0.1618, allocations: 188.2 kB / 0.7725 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.246e-05/0.1618, allocations: 101 kB / 0.7726 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.041e-05/0.1619, allocations: 83.28 kB / 0.7727 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1619, allocations: 0 / 0.7727 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002849/0.1622, allocations: 4.094 kB / 0.7727 GB, free: 1.551 MB / 0.5606 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.0004166/0.1626, allocations: 0.8165 MB / 0.7735 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 5.307e-05/0.1626, allocations: 4 kB / 0.7735 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1626, allocations: 0 / 0.7735 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-06/0.1627, allocations: 8.062 kB / 0.7735 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.1631, allocations: 459.1 kB / 0.7739 GB, free: 248 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003593/0.1634, allocations: 180.3 kB / 0.7741 GB, free: 28 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.27/0.4335, allocations: 0.6695 MB / 0.7747 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.723e-05/0.4335, allocations: 1.406 kB / 0.7747 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.901e-05/0.4336, allocations: 7.953 kB / 0.7747 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of SimCode: time 8.12e-07/0.4336, allocations: 1.281 kB / 0.7747 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.95/3.384, allocations: 0.9654 MB / 0.7757 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.869/11.25, allocations: 3.688 kB / 0.7757 GB, free: 14.48 MB / 0.5606 GB (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)