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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8014/0.8014, allocations: 143.4 MB / 158.3 MB, free: 5.812 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 177.1 kB / 191.5 MB, free: 5.77 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 223.2 MB / 447.7 MB, free: 6.531 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008738/0.0008737, allocations: 96.25 kB / 0.5188 GB, free: 2.887 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001699/0.001698, allocations: 276.4 kB / 0.6005 GB, free: 49 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004239/0.0004239, allocations: 16 kB / 0.6929 GB, free: 2.297 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3692, allocations: 82.78 MB / 0.7738 GB, free: 26.25 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1438/0.5131, allocations: 108.7 MB / 0.8799 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.5134, allocations: 103.8 kB / 0.88 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.00153/0.515, allocations: 0.6904 MB / 0.8807 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.773e-06/0.515, allocations: 0 / 0.8807 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.515, allocations: 4 kB / 0.8807 GB, free: 12.61 MB / 0.5417 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.0002394/0.5152, allocations: 311.3 kB / 0.881 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.5153, allocations: 12.09 kB / 0.881 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.313e-05/0.5153, allocations: 0 / 0.881 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.714e-05/0.5154, allocations: 163.1 kB / 0.8812 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.5154, allocations: 7.953 kB / 0.8812 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.158e-06/0.5154, allocations: 0 / 0.8812 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.563e-05/0.5155, allocations: 33.7 kB / 0.8812 GB, free: 12 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.5156, allocations: 3.938 kB / 0.8812 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.5156, allocations: 0 / 0.8812 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.5156, allocations: 0 / 0.8812 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.683e-05/0.5156, allocations: 3.938 kB / 0.8812 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002759/0.5159, allocations: 383.5 kB / 0.8816 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.749e-05/0.516, allocations: 169.1 kB / 0.8817 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.516, allocations: 75.28 kB / 0.8818 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.516, allocations: 105.8 kB / 0.8819 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.516, allocations: 0 / 0.8819 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 6.291e-05/0.5161, allocations: 33.67 kB / 0.8819 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.5162, allocations: 130.7 kB / 0.8821 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.37e-05/0.5162, allocations: 85 kB / 0.8821 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.5163, allocations: 25.7 kB / 0.8822 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/0.5163, allocations: 84.14 kB / 0.8822 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.469e-06/0.5163, allocations: 4 kB / 0.8822 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-06/0.5163, allocations: 0 / 0.8822 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.5164, allocations: 314.8 kB / 0.8825 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.231e-06/0.5164, allocations: 4.125 kB / 0.8826 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.577e-06/0.5164, allocations: 3.938 kB / 0.8826 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.682e-05/0.5165, allocations: 7.953 kB / 0.8826 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5165, allocations: 0 / 0.8826 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.046e-05/0.5166, allocations: 33.64 kB / 0.8826 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.5166, allocations: 5.406 kB / 0.8826 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.5166, allocations: 0 / 0.8826 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.5166, allocations: 0 / 0.8826 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.868e-05/0.5166, allocations: 4 kB / 0.8826 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.5167, allocations: 4.094 kB / 0.8826 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.017e-05/0.5167, allocations: 0 / 0.8826 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.5167, allocations: 0 / 0.8826 GB, free: 10.43 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.424e-05/0.5168, allocations: 193.6 kB / 0.8828 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.344e-05/0.5169, allocations: 112.3 kB / 0.8829 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.12e-05/0.5169, allocations: 112 kB / 0.883 GB, free: 9.996 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-05/0.517, allocations: 180.3 kB / 0.8832 GB, free: 9.812 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.548e-05/0.517, allocations: 184.2 kB / 0.8834 GB, free: 9.625 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.963e-05/0.5171, allocations: 180.2 kB / 0.8835 GB, free: 9.441 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.5173, allocations: 397.2 kB / 0.8839 GB, free: 8.996 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.515e-05/0.5174, allocations: 108.9 kB / 0.884 GB, free: 8.883 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.759e-05/0.5174, allocations: 109 kB / 0.8841 GB, free: 8.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.712e-05/0.5175, allocations: 184.7 kB / 0.8843 GB, free: 8.582 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.338e-05/0.5175, allocations: 176.3 kB / 0.8845 GB, free: 8.402 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.587e-05/0.5176, allocations: 188.3 kB / 0.8846 GB, free: 8.211 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.986e-05/0.5177, allocations: 184.2 kB / 0.8848 GB, free: 8.023 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.5178, allocations: 303.8 kB / 0.8851 GB, free: 7.703 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.293e-05/0.5179, allocations: 190 kB / 0.8853 GB, free: 7.492 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.994e-05/0.518, allocations: 180.2 kB / 0.8855 GB, free: 7.309 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.596e-05/0.5181, allocations: 101 kB / 0.8856 GB, free: 7.203 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/0.5181, allocations: 184.2 kB / 0.8857 GB, free: 7.016 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-05/0.5182, allocations: 104.9 kB / 0.8858 GB, free: 6.906 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.39e-05/0.5182, allocations: 79.28 kB / 0.8859 GB, free: 6.828 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2e-07/0.5182, allocations: 0 / 0.8859 GB, free: 6.828 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000213/0.5184, allocations: 0 / 0.8859 GB, free: 6.828 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001316/0.5186, allocations: 178.5 kB / 0.8861 GB, free: 6.645 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 5.733e-05/0.5186, allocations: 4 kB / 0.8861 GB, free: 6.641 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5186, allocations: 0 / 0.8861 GB, free: 6.641 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.5186, allocations: 0 / 0.8861 GB, free: 6.641 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.5189, allocations: 0.5305 MB / 0.8866 GB, free: 6.109 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000184/0.5191, allocations: 154 kB / 0.8867 GB, free: 5.93 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.5194, allocations: 0.6692 MB / 0.8874 GB, free: 5.234 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.26e-05/0.5194, allocations: 0 / 0.8874 GB, free: 5.234 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.736e-05/0.5195, allocations: 15.38 kB / 0.8874 GB, free: 5.219 MB / 0.5417 GB Notification: Performance of SimCode: time 7.41e-07/0.5195, allocations: 4 kB / 0.8874 GB, free: 5.215 MB / 0.5417 GB Notification: Performance of Templates: time 0.001753/0.5212, allocations: 174.9 kB / 0.8876 GB, free: 5.09 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)