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.004993/0.004993, allocations: 101.4 kB / 15.73 MB, free: 6.039 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.001328/0.001328, allocations: 202 kB / 16.68 MB, free: 5.965 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.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003422/0.003422, allocations: 278.7 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.017/1.017, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002727/0.002727, allocations: 97.88 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1758, allocations: 86.96 MB / 0.7659 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.00188/0.1777, allocations: 0.5411 MB / 0.7665 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.1788, allocations: 0.7805 MB / 0.7672 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.904e-05/0.1789, allocations: 0 / 0.7672 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.616e-05/0.1789, allocations: 3.938 kB / 0.7672 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.352e-06/0.1789, allocations: 0 / 0.7672 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.1792, allocations: 23.92 kB / 0.7673 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.629e-05/0.1793, allocations: 0 / 0.7673 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.375e-05/0.1793, allocations: 0 / 0.7673 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.548e-05/0.1793, allocations: 4 kB / 0.7673 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.1795, allocations: 19.97 kB / 0.7673 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.034e-06/0.1795, allocations: 0 / 0.7673 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.546e-06/0.1795, allocations: 0 / 0.7673 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.1795, allocations: 8 kB / 0.7673 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.49e-05/0.1795, allocations: 0 / 0.7673 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 4.155e-05/0.1796, allocations: 3.984 kB / 0.7673 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1796, allocations: 0 / 0.7673 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1796, allocations: 0 / 0.7673 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.1796, 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.0003265/0.1799, allocations: 310 kB / 0.7676 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.18, allocations: 11.97 kB / 0.7676 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.292e-05/0.18, allocations: 34.69 kB / 0.7676 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.896e-05/0.1801, allocations: 8.938 kB / 0.7676 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.1802, allocations: 164.4 kB / 0.7678 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.1802, allocations: 384 / 0.7678 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-06/0.1802, allocations: 384 / 0.7678 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.377e-05/0.1803, allocations: 30.2 kB / 0.7678 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1803, allocations: 3.938 kB / 0.7678 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.1803, allocations: 8 kB / 0.7678 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-06/0.1804, allocations: 0 / 0.7678 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.543e-05/0.1804, allocations: 0 / 0.7678 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.1807, allocations: 383.8 kB / 0.7682 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.1808, allocations: 177.1 kB / 0.7684 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.973e-05/0.1809, allocations: 80.14 kB / 0.7685 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.676e-05/0.1809, allocations: 75.28 kB / 0.7685 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.738e-05/0.181, allocations: 109.8 kB / 0.7686 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.181, allocations: 0 / 0.7686 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.004e-05/0.1811, allocations: 37.59 kB / 0.7687 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.91e-05/0.1812, allocations: 126.7 kB / 0.7688 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.36e-05/0.1813, allocations: 93.86 kB / 0.7689 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.1813, allocations: 25.7 kB / 0.7689 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.046e-05/0.1813, allocations: 84.08 kB / 0.769 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.1813, allocations: 128 / 0.769 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.1814, allocations: 21.7 kB / 0.769 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1815, allocations: 310.8 kB / 0.7693 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.097e-06/0.1816, allocations: 4 kB / 0.7693 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.233e-06/0.1816, allocations: 4 kB / 0.7693 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.209e-05/0.1816, allocations: 4.859 kB / 0.7693 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.1816, allocations: 3.938 kB / 0.7693 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.4e-05/0.1817, allocations: 37.64 kB / 0.7693 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1817, allocations: 14.44 kB / 0.7694 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1817, allocations: 0 / 0.7694 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1817, allocations: 0 / 0.7694 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.033e-05/0.1818, allocations: 3.984 kB / 0.7694 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1818, allocations: 0 / 0.7694 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.254e-05/0.1818, allocations: 4 kB / 0.7694 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.1818, allocations: 0 / 0.7694 GB, free: 5.148 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 0.0001126/0.182, allocations: 185.7 kB / 0.7695 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.271e-05/0.182, allocations: 105 kB / 0.7696 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.516e-05/0.1821, allocations: 112 kB / 0.7698 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-05/0.1822, allocations: 184.3 kB / 0.7699 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001006/0.1823, allocations: 184.7 kB / 0.7701 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.676e-05/0.1824, allocations: 180.2 kB / 0.7703 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002793/0.1827, allocations: 417 kB / 0.7707 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-05/0.1827, allocations: 105 kB / 0.7708 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.682e-05/0.1828, allocations: 105 kB / 0.7709 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.495e-05/0.1829, allocations: 180.4 kB / 0.771 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.73e-05/0.183, allocations: 184.3 kB / 0.7712 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.706e-05/0.1831, allocations: 180.2 kB / 0.7714 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.7e-05/0.1831, allocations: 180.3 kB / 0.7716 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.1833, allocations: 311.7 kB / 0.7719 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.528e-05/0.1834, allocations: 178.1 kB / 0.772 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.453e-05/0.1835, allocations: 184.2 kB / 0.7722 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.17e-05/0.1836, allocations: 105 kB / 0.7723 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.604e-05/0.1837, allocations: 184.3 kB / 0.7725 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.786e-05/0.1838, allocations: 104.9 kB / 0.7726 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.696e-05/0.1838, allocations: 83.28 kB / 0.7727 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/0.1838, allocations: 0 / 0.7727 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002308/0.184, allocations: 0 / 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.000503/0.1846, allocations: 0.8127 MB / 0.7735 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.743e-05/0.1846, allocations: 7.938 kB / 0.7735 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1846, allocations: 0 / 0.7735 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.1846, allocations: 0 / 0.7735 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.185, allocations: 462.8 kB / 0.7739 GB, free: 256 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.1854, allocations: 185.9 kB / 0.7741 GB, free: 28 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2861/0.4715, allocations: 0.669 MB / 0.7747 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.782e-05/0.4716, allocations: 0.875 kB / 0.7747 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.949e-05/0.4716, allocations: 7.438 kB / 0.7747 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of SimCode: time 9.72e-07/0.4716, allocations: 0 / 0.7747 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02101/0.4926, allocations: 0.9617 MB / 0.7757 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.554/8.047, allocations: 8.562 kB / 0.7757 GB, free: 14.45 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)